Function at 0x4aa5c0
Capabilities:
Delete file
Get common file path
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x5a097a
push eax
mov eax, 0x2478
mov dword fs:[0], esp
call fcn.0045ba40
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [esp + 0x2494]
push edi
xor edi, edi
mov eax, dword [ecx + 0xc0]
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x4aa604
mov dword [esp + 0x10], 0x5ae978
cmp dword [esp + 0x10], edi
jne 0x4aa611
xor eax, eax
jmp 0x4ab2dc
mov esi, dword [esp + 0x249c]
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 4]
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x488]
mov dword [esp + 0x2490], edi
push ecx
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x488]
lea eax, [esp + 0x488]
push edx
push edi
push 0x641dc4
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [esp + 0x488]
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::operator
mov ebx, dword [esp + 0x24a4]
mov dword [esp + 0x18], edi
cmp ebx, 1
je 0x4aa6a1
mov edx, dword [sym.imp.MSVCRT.dll__iob]
mov eax, dword [esp + 0x30]
add edx, 0x40
push edx
push 0x633bd0
push eax
call dword [sym.imp.MSVCRT.dll_freopen]
add esp, 0xc
mov dword [esp + 0x18], eax
cmp ebx, 2
je 0x4aa6ab
cmp ebx, 1
jne 0x4aa707
mov esi, dword [esi + 0xc]
lea ecx, [esp + 0x40]
push esi
push ecx
call fcn.004baa30
add esp, 8
push 0x2e
lea edx, [esp + 0x4c]
push eax
push edx
mov byte [esp + 0x249c], 1
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [ebp + 0x140]
mov byte [esp + 0x2494], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x48]
mov byte [esp + 0x2490], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x2490], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x34]
push eax
call sub.MFC42.DLL_CString::CString_1
push 0xa
lea ecx, [esp + 0x38]
mov byte [esp + 0x2494], 3
call sub.MFC42.DLL_CString::TrimRight_2
push 0xa
lea ecx, [esp + 0x38]
call fcn.0045b4e6
push edi
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 1
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.0050ff90
mov dword [ebp + 0x1a4], eax
mov esi, dword [ebp + 0x148]
add esp, 8
cmp esi, edi
je 0x4aa77f
jmp 0x4aa763
xor edi, edi
lea ebx, [esi + 8]
mov ecx, ebx
call sub.MFC42.DLL_CString::CString
add ebx, 8
mov ecx, edi
dec edi
test ecx, ecx
jne 0x4aa766
mov esi, dword [esi]
test esi, esi
jne 0x4aa761
xor edi, edi
mov ecx, dword [ebp + 0x158]
mov dword [ebp + 0x150], edi
mov dword [ebp + 0x154], edi
mov dword [ebp + 0x14c], edi
mov dword [ebp + 0x148], edi
call sub.MFC42.DLL_CPlex::FreeDataChain
lea ecx, [ebp + 0x40]
mov dword [ebp + 0x158], edi
call sub.MFC42.DLL_CMapStringToPtr::RemoveAll
lea ecx, [ebp + 0x5c]
call sub.MFC42.DLL_CMapStringToPtr::RemoveAll
lea ecx, [ebp + 0x78]
call sub.MFC42.DLL_CMapStringToPtr::RemoveAll
cmp dword [ebp + 0x98], edi
je 0x4aa823
mov ecx, dword [ebp + 0x9c]
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x14], eax
jbe 0x4aa823
mov edx, dword [ebp + 0x98]
mov ebx, dword [edx + eax*4]
cmp ebx, edi
je 0x4aa814
lea esi, [ebx + 0xc]
xor edi, edi
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 4]
add esi, 0x28
mov ecx, edi
dec edi
test ecx, ecx
jne 0x4aa7ea
lea edx, [ebx + 8]
push 1
push edx
call sub.MFC42.DLL_DestructElements
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4aa7e5
mov eax, dword [esp + 0x14]
xor edi, edi
mov ecx, dword [ebp + 0x9c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x4aa7d8
mov eax, dword [ebp + 0x98]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [ebp + 0xa8]
add esp, 4
mov dword [ebp + 0x98], edi
mov dword [ebp + 0xa0], edi
mov dword [ebp + 0xa4], edi
call sub.MFC42.DLL_CPlex::FreeDataChain
mov dword [ebp + 0xa8], edi
mov eax, dword [ebp + 0xb4]
cmp eax, edi
je 0x4aa8ba
mov eax, dword [ebp + 0xb8]
mov dword [esp + 0x10], edi
cmp eax, edi
jbe 0x4aa8ba
mov eax, dword [ebp + 0xb4]
mov ecx, dword [esp + 0x10]
mov ebx, dword [eax + ecx*4]
test ebx, ebx
je 0x4aa8a7
lea esi, [ebx + 0xc]
xor edi, edi
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 4]
add esi, 0x28
mov eax, edi
dec edi
test eax, eax
jne 0x4aa883
lea ecx, [ebx + 8]
push 1
push ecx
call sub.MFC42.DLL_DestructElements
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4aa87e
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0xb8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x4aa86d
mov eax, dword [ebp + 0xb4]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [ebp + 0xc4]
xor ebx, ebx
add esp, 4
mov dword [ebp + 0xb4], ebx
mov dword [ebp + 0xbc], ebx
mov dword [ebp + 0xc0], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
mov dword [ebp + 0xc4], ebx
mov eax, dword [ebp + 0xd0]
cmp eax, ebx
je 0x4aa955
mov ecx, dword [ebp + 0xd4]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x14], eax
jbe 0x4aa955
jmp 0x4aa90c
xor ebx, ebx
mov edx, dword [ebp + 0xd0]
mov esi, dword [edx + eax*4]
cmp esi, ebx
je 0x4aa944
xor ebx, ebx
lea edi, [esi + 0x10]
mov ecx, edi
call sub.MFC42.DLL_CString::CString
add edi, 8
mov eax, ebx
dec ebx
test eax, eax
jne 0x4aa91e
lea ecx, [esi + 8]
push 1
push ecx
call sub.MFC42.DLL_DestructElements
mov esi, dword [esi]
test esi, esi
jne 0x4aa919
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0xd4]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x4aa90a
xor ebx, ebx
mov eax, dword [ebp + 0xd0]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [ebp + 0xe0]
add esp, 4
mov dword [ebp + 0xd0], ebx
mov dword [ebp + 0xd8], ebx
mov dword [ebp + 0xdc], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
lea ecx, [ebp + 0xe8]
mov dword [ebp + 0xe0], ebx
call sub.MFC42.DLL_CMapStringToPtr::RemoveAll
lea ecx, [ebp + 0x104]
call sub.MFC42.DLL_CMapStringToString::RemoveAll
lea ecx, [ebp + 0x120]
call sub.MFC42.DLL_CMapStringToString::RemoveAll
mov eax, dword [ebp + 0x1b0]
lea esi, [ebp + 0x1ac]
cmp eax, ebx
je 0x4aa9be
mov eax, dword [eax]
cmp eax, ebx
jne 0x4aa9b8
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
mov dword [esi + 0x14], ebx
mov edi, dword [ebp + 4]
cmp edi, ebx
mov dword [esp + 0x10], edi
je 0x4aaa14
jmp 0x4aa9e6
mov edi, dword [esp + 0x10]
add edi, 8
mov dword [esp + 0x14], ebx
mov ecx, edi
call fcn.004763e0
mov eax, dword [esp + 0x14]
add edi, 0x18
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x14], eax
jne 0x4aa9ed
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x4aa9e2
mov ecx, dword [ebp + 0x14]
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 4], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
lea ecx, [ebp + 0x1c8]
mov dword [ebp + 0x14], ebx
call sub.MFC42.DLL_CStringList::RemoveAll
lea ecx, [ebp + 0x184]
call sub.MFC42.DLL_CStringList::RemoveAll
mov ecx, 0x10
xor eax, eax
lea edi, [ebp + 0x200]
push 0x641dc4
rep stosd dword es:[edi], eax
lea ecx, [ebp + 0x13c]
call sub.MFC42.DLL_CString::operator
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x632064
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x249c]
add ecx, 0x48
call fcn.0046e3a0
mov dword [ebp + 0x1a8], eax
mov eax, dword [ebp + 0x1a4]
cmp eax, ebx
mov dword [ebp + 0x1a0], ebx
je 0x4aaa9f
mov edx, dword [eax + 8]
mov dword [esp + 0x14], edx
jmp 0x4aaaa3
mov dword [esp + 0x14], ebx
mov eax, dword [0x6958e8]
xor edi, edi
cmp eax, ebx
jbe 0x4aaafb
push 0xa
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x641dc4
call sub.MFC42.DLL_CString::CString_1
push edi
mov ecx, 0x6958e0
mov byte [esp + 0x249c], 4
call fcn.0048b6f0
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
call sub.MFC42.DLL_CString::CString_2
push ebx
mov ecx, ebp
mov byte [esp + 0x24a0], 3
call fcn.004ba6f0
mov eax, dword [0x6958e8]
inc edi
cmp edi, eax
jb 0x4aaaae
mov edi, dword [esp + 0x14]
mov ecx, ebp
push edi
call fcn.004b92d0
mov ecx, ebp
call fcn.004ba2a0
mov eax, dword [esp + 0x24a4]
cmp eax, 1
jne 0x4aab23
mov dword [esp + 0x4c], eax
jmp 0x4ab283
cmp eax, 2
je 0x4aab30
push edi
mov ecx, ebp
call fcn.004b88e0
mov ecx, ebp
call fcn.004b8dd0
mov ecx, ebp
mov dword [ebp + 0x1a0], 1
call fcn.004b8b60
xor eax, eax
mov edx, dword [esi + 8]
mov ecx, eax
mov dword [esp + 0x21], eax
and ecx, 0xfff00000
push ebx
mov dword [esp + 0x21], ecx
mov ecx, dword [ebp + 0x180]
xor ecx, eax
push edx
and ecx, 1
mov byte [esp + 0x24], 0x1d
xor eax, ecx
mov ecx, esi
mov dword [esp + 0x29], ebx
mov dword [esp + 0x2d], eax
call fcn.004aa000
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x20]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + 8], edx
mov dl, byte [esp + 0x28]
mov byte [ecx + 0xc], dl
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x4aabaa
mov dword [ecx], eax
jmp 0x4aabad
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push edi
mov ecx, ebp
mov dword [ebp + 0x180], 1
call fcn.004b6cb0
mov eax, dword [esp + 0x2498]
mov ecx, ebp
push eax
mov dword [ebp + 0x180], 0
call fcn.004b1480
mov ecx, ebp
call fcn.004abca0
mov ecx, ebp
call fcn.004ab300
mov eax, dword [esp + 0x24a4]
mov ebx, dword [esp + 0x24a0]
cmp eax, 2
je 0x4aace2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4aac12
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push ebx
mov ecx, ebp
call fcn.004ab470
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
mov edx, dword [esp + 0x30]
add ecx, 0x40
push ecx
push 0x633bcc
push edx
call dword [sym.imp.MSVCRT.dll_freopen]
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x4aac4d
push 2
push 0
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov ecx, ebp
call fcn.004ab510
mov ecx, ebp
call fcn.004ab7a0
mov edi, dword [ebp + 0x164]
test edi, edi
je 0x4aac79
mov eax, edi
mov edi, dword [edi]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4aac75
mov eax, dword [ecx]
call dword [eax + 8]
test edi, edi
jne 0x4aac65
xor eax, eax
mov edx, dword [esi + 8]
mov ecx, eax
mov dword [esp + 0x21], eax
and ecx, 0xfff00000
mov dword [esp + 0x21], eax
mov dword [esp + 0x1d], ecx
mov ecx, dword [ebp + 0x180]
xor ecx, eax
push 0
and ecx, 1
push edx
xor eax, ecx
mov ecx, esi
mov byte [esp + 0x24], 0x16
mov dword [esp + 0x2d], eax
call fcn.004aa000
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x20]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + 8], edx
mov dl, byte [esp + 0x28]
mov byte [ecx + 0xc], dl
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4aacdc
mov dword [ecx], eax
jmp 0x4aacdf
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x249c]
push ebp
call fcn.00475a20
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4ab283
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
test eax, eax
je 0x4ab283
mov esi, dword [esp + 0x18]
xor edi, edi
push esi
mov dword [esp + 0x50], edi
call dword [sym.imp.MSVCRT.dll_rewind]
add esp, 4
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2490], 5
call sub.MFC42.DLL_CString::CString_3
push 0x641dc4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2494], 6
mov dword [esp + 0x20], 0x5ad240
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
call sub.MFC42.DLL_CString::operator
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x2490], 7
call sub.MFC42.DLL_CString::CString_3
mov al, byte [esi + 0xc]
mov byte [esp + 0x2490], 8
test al, 0x10
jne 0x4ab250
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x89]
mov byte [esp + 0x88], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
lea ecx, [esp + 0x148c]
push 0x1000
push ecx
stosb byte es:[edi], al
mov byte [esp + 0x1494], 0
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
test eax, eax
je 0x4ab250
mov edi, str.Error
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1488]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.Error
push edx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x4ab246
lea eax, [esp + 0x88]
lea ecx, [esp + 0x70]
push eax
lea edx, [esp + 0x5c]
push ecx
lea eax, [esp + 0x48]
push edx
lea ecx, [esp + 0x70]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
lea eax, [esp + 0x14a0]
push str.Error__d:_d:_d:_d:_d:_s
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
fild dword [esp + 0x58]
add esp, 0x20
fadd qword [0x5ac728]
fldln2
fxch st(1)
fyl2x
fldln2
fld qword [0x5c76d0]
fyl2x
fdivp st(1)
call sub.MSVCRT.dll__ftol
mov edi, dword [esp + 0x249c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x28]
lea edx, [edi + 4]
mov dword [esp + 0x38], eax
push edx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x58]
xor ecx, ecx
cmp eax, 3
setge cl
dec ecx
mov esi, str.CoreLibCompilerSemanticError
and ecx, edx
cmp eax, 3
mov dword [esp + 0x24], ecx
je 0x4aae9d
mov esi, str.CoreLibCompilerSyntaxError
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
add edi, 0xc
lea ecx, [esp + 0x3c]
push edi
mov byte [esp + 0x2494], 9
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x3c]
push 0x641dc4
push edx
mov byte [esp + 0x2498], 0xa
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4aaf6d
mov eax, dword [esp + 0x24a4]
push 0
cmp eax, 2
jne 0x4aaf2b
push 1
lea eax, [esp + 0x70]
push str.CoreLibCompilerErrorModuleName
push eax
call fcn.004010f0
add esp, 0x10
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax]
push ecx
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x249c], 0xb
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov byte [esp + 0x2490], 0xa
lea ecx, [esp + 0x68]
jmp 0x4aaf68
push 0
lea eax, [esp + 0x68]
push str.CoreLibCompilerErrorModuleName
push eax
call fcn.004010f0
add esp, 0x10
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax]
push ecx
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x249c], 0xc
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov byte [esp + 0x2490], 0xa
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CString::CString
push str.CoreLibCompilerKeyWordsDescription_
lea ecx, [esp + 0x78]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x88]
lea edx, [esp + 0x5c]
push ecx
push eax
push edx
mov byte [esp + 0x249c], 0xd
call sub.MFC42.DLL_operator_4
mov eax, dword [eax]
push 0
push 0
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0x249c], 0xe
push eax
call fcn.004010f0
add esp, 0x10
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2490], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x74]
mov byte [esp + 0x2490], 0x10
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x44]
push 0x641dc4
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4aaffc
lea edx, [esp + 0x88]
lea ecx, [esp + 0x44]
push edx
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x64]
push 0
dec eax
lea ecx, [esp + 0x70]
push eax
push esi
push ecx
call fcn.004010f0
add esp, 0x10
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x70]
mov eax, dword [eax]
push edx
mov edx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push ecx
lea edx, [esp + 0x24]
push eax
push edx
mov byte [esp + 0x24a8], 0x12
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2490], 0x10
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x38]
push 0
push eax
lea ecx, [esp + 0x84]
push str.CoreLibCompilerRecognizerType
push ecx
call fcn.004010f0
add esp, 0x10
lea edx, [esp + 0x10]
mov byte [esp + 0x2490], 0x13
push edx
push eax
lea eax, [esp + 0x88]
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0x14]
lea edx, [esp + 0x78]
push ecx
push eax
push edx
mov byte [esp + 0x249c], 0x14
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x2494], 0x15
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x78]
mov byte [esp + 0x2490], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x80]
mov byte [esp + 0x2490], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2490], 0x10
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 8]
test eax, eax
jne 0x4ab123
mov eax, dword [ebx + 0x18]
push 0x1c
lea ecx, [ebx + 0x14]
push eax
push ecx
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [ebx + 0x18]
lea edx, [ecx*8]
sub edx, ecx
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0x18]
jl 0x4ab123
inc ecx
mov edx, dword [ebx + 0x10]
mov dword [eax], edx
mov dword [ebx + 0x10], eax
sub eax, 0x1c
dec ecx
jne 0x4ab115
mov edi, dword [ebx + 0x10]
mov dword [esp + 0x54], edi
mov eax, dword [edi]
mov dword [ebx + 0x10], eax
mov dword [edi + 4], esi
mov dword [edi], 0
mov eax, dword [ebx + 0xc]
lea esi, [edi + 8]
inc eax
mov edx, esi
xor ecx, ecx
mov dword [ebx + 0xc], eax
mov dword [esp + 0x50], esi
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [esp + 0x48], ecx
mov dword [edx + 0x10], ecx
mov dword [esp + 0x84], esi
test esi, esi
mov byte [esp + 0x2490], 0x16
je 0x4ab1b8
lea edi, [esi + 0xc]
mov ecx, edi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x10]
mov byte [esp + 0x2490], 0x17
call sub.MFC42.DLL_CString::CString_3
xor eax, eax
push 0x641dc4
mov ecx, edi
mov byte [esp + 0x2494], 0x18
mov dword [esi], fcn.0046b220
mov dword [esi + 8], eax
mov dword [esi + 4], eax
call sub.MFC42.DLL_CString::operator
push eax
lea ecx, [esi + 0x10]
call sub.MFC42.DLL_CString::operator_1
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
add esi, 0x14
mov ecx, eax
dec eax
test ecx, ecx
mov byte [esp + 0x2490], 0x10
mov dword [esp + 0x50], esi
mov dword [esp + 0x48], eax
jne 0x4ab15c
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x28]
mov dword [edi + 0xc], edx
mov eax, dword [esp + 0x24]
push ecx
lea ecx, [edi + 0x14]
mov dword [edi + 0x10], eax
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x2c]
lea ecx, [edi + 0x18]
push edx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [ebx + 8]
test eax, eax
je 0x4ab209
mov dword [eax], edi
jmp 0x4ab20c
mov dword [ebx + 4], edi
lea ecx, [esp + 0x44]
mov dword [ebx + 8], edi
mov byte [esp + 0x2490], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2490], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2490], 8
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x18]
test byte [esi + 0xc], 0x10
je 0x4aad8f
lea ecx, [esp + 0x14]
mov byte [esp + 0x2490], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2490], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x2490], 3
call sub.MFC42.DLL_CString::CString
mov ebp, dword [ebp + 0x1a4]
test ebp, ebp
je 0x4ab296
push ebp
call fcn.00510140
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4ab2a8
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x34]
mov byte [esp + 0x2490], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x2490], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2488]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2484
ret 0x10