.text:100A4220 ; =============== S U B R O U T I N E =======================================
.text:100A4220
.text:100A4220
.text:100A4220 ; int __stdcall sub_100A4220(int, int, DWORD FileSystemFlags, int, int)
.text:100A4220 sub_100A4220 proc near ; CODE XREF: sub_100A44C0+2A p
.text:100A4220
.text:100A4220 var_30 = dword ptr -30h
.text:100A4220 var_2C = dword ptr -2Ch
.text:100A4220 var_28 = dword ptr -28h
.text:100A4220 var_24 = byte ptr -24h
.text:100A4220 var_1C = byte ptr -1Ch
.text:100A4220 var_C = dword ptr -0Ch
.text:100A4220 var_4 = dword ptr -4
.text:100A4220 arg_0 = dword ptr 4
.text:100A4220 arg_4 = dword ptr 8
.text:100A4220 FileSystemFlags = dword ptr 0Ch
.text:100A4220 arg_C = dword ptr 10h
.text:100A4220 arg_10 = dword ptr 14h
.text:100A4220
.text:100A4220 push 0FFFFFFFFh
.text:100A4222 push offset loc_10135888
.text:100A4227 mov eax, large fs:0
.text:100A422D push eax
.text:100A422E sub esp, 24h
.text:100A4231 push ebx
.text:100A4232 push esi
.text:100A4233 push edi
.text:100A4234 mov eax, dword_1018F824
.text:100A4239 xor eax, esp
.text:100A423B push eax
.text:100A423C lea eax, [esp+40h+var_C]
.text:100A4240 mov large fs:0, eax
.text:100A4246 mov esi, ecx
.text:100A4248 lea ecx, [esi+38h]
.text:100A424B call ?RemoveAll@CMapStringToString@@QAEXXZ ; CMapStringToString::RemoveAll(void)
.text:100A4250 lea ecx, [esp+40h+var_1C]
.text:100A4254 call ??0CFile@@QAE@XZ ; CFile::CFile(void)
.text:100A4259 mov eax, [esp+40h+arg_C]
.text:100A425D mov edi, [esp+40h+arg_0]
.text:100A4261 push 0
.text:100A4263 push 40h
.text:100A4265 mov byte ptr [eax], 0
.text:100A4268 push edi
.text:100A4269 lea ecx, [esp+4Ch+var_1C]
.text:100A426D mov [esp+4Ch+var_4], 0
.text:100A4275 mov byte_101A8CBA, 0
.text:100A427C call ?Open@CFile@@UAEHPBDIPAVCFileException@@@Z ; CFile::Open(char const *,uint,CFileException *)
.text:100A4281
test
eax, eax
.text:100A4283 jnz short loc_100A42C0
.text:100A4285 mov ecx, [esp+40h+arg_10]
.text:100A4289 push edi