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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x59f9fa
push eax
mov eax, 0x2478
mov dword fs:[0], esp
call fcn.004b0170
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 0x4860c4
mov dword [esp + 0x10], 0x5b1c4c
cmp dword [esp + 0x10], edi
jne 0x4860d1
xor eax, eax
jmp 0x486d9c
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 0x64a680
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [esp + 0x488]
push ecx
lea ecx, [esp + 0x34]
call fcn.004af20e
mov ebx, dword [esp + 0x24a4]
mov dword [esp + 0x18], edi
cmp ebx, 1
je 0x486161
mov edx, dword [sym.imp.MSVCRT.dll__iob]
mov eax, dword [esp + 0x30]
add edx, 0x40
push edx
push 0x63b874
push eax
call dword [sym.imp.MSVCRT.dll_freopen]
add esp, 0xc
mov dword [esp + 0x18], eax
cmp ebx, 2
je 0x48616b
cmp ebx, 1
jne 0x4861c7
mov esi, dword [esi + 0xc]
lea ecx, [esp + 0x40]
push esi
push ecx
call fcn.00496500
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_3
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_1
push 0xa
lea ecx, [esp + 0x38]
call fcn.004af5f8
push edi
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 1
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.0050cb70
mov dword [ebp + 0x1a4], eax
mov esi, dword [ebp + 0x148]
add esp, 8
cmp esi, edi
je 0x48623f
jmp 0x486223
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 0x486226
mov esi, dword [esi]
test esi, esi
jne 0x486221
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 0x4862e3
mov ecx, dword [ebp + 0x9c]
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x14], eax
jbe 0x4862e3
mov edx, dword [ebp + 0x98]
mov ebx, dword [edx + eax*4]
cmp ebx, edi
je 0x4862d4
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 0x4862aa
lea edx, [ebx + 8]
push 1
push edx
call sub.MFC42.DLL_DestructElements
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4862a5
mov eax, dword [esp + 0x14]
xor edi, edi
mov ecx, dword [ebp + 0x9c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x486298
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 0x48637a
mov eax, dword [ebp + 0xb8]
mov dword [esp + 0x10], edi
cmp eax, edi
jbe 0x48637a
mov eax, dword [ebp + 0xb4]
mov ecx, dword [esp + 0x10]
mov ebx, dword [eax + ecx*4]
test ebx, ebx
je 0x486367
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 0x486343
lea ecx, [ebx + 8]
push 1
push ecx
call sub.MFC42.DLL_DestructElements
mov ebx, dword [ebx]
test ebx, ebx
jne 0x48633e
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0xb8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x48632d
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 0x486415
mov ecx, dword [ebp + 0xd4]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x14], eax
jbe 0x486415
jmp 0x4863cc
xor ebx, ebx
mov edx, dword [ebp + 0xd0]
mov esi, dword [edx + eax*4]
cmp esi, ebx
je 0x486404
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 0x4863de
lea ecx, [esi + 8]
push 1
push ecx
call sub.MFC42.DLL_DestructElements
mov esi, dword [esi]
test esi, esi
jne 0x4863d9
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0xd4]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x4863ca
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 0x48647e
mov eax, dword [eax]
cmp eax, ebx
jne 0x486478
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 0x4864d4
jmp 0x4864a6
mov edi, dword [esp + 0x10]
add edi, 8
mov dword [esp + 0x14], ebx
mov ecx, edi
call fcn.0045bbc0
mov eax, dword [esp + 0x14]
add edi, 0x18
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x14], eax
jne 0x4864ad
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x4864a2
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 0x64a680
rep stosd dword es:[edi], eax
lea ecx, [ebp + 0x13c]
call fcn.004af20e
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x63a970
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x249c]
add ecx, 0x48
call fcn.00463fa0
mov dword [ebp + 0x1a8], eax
mov eax, dword [ebp + 0x1a4]
cmp eax, ebx
mov dword [ebp + 0x1a0], ebx
je 0x48655f
mov edx, dword [eax + 8]
mov dword [esp + 0x14], edx
jmp 0x486563
mov dword [esp + 0x14], ebx
mov eax, dword [0x6916c8]
xor edi, edi
cmp eax, ebx
jbe 0x4865bb
push 0xa
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x64a680
call sub.MFC42.DLL_CString::CString_1
push edi
mov ecx, 0x6916c0
mov byte [esp + 0x249c], 4
call fcn.00486dc0
push ecx
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
call sub.MFC42.DLL_CString::CString_4
push ebx
mov ecx, ebp
mov byte [esp + 0x24a0], 3
call fcn.004961c0
mov eax, dword [0x6916c8]
inc edi
cmp edi, eax
jb 0x48656e
mov edi, dword [esp + 0x14]
mov ecx, ebp
push edi
call fcn.00494da0
mov ecx, ebp
call fcn.00495d70
mov eax, dword [esp + 0x24a4]
cmp eax, 1
jne 0x4865e3
mov dword [esp + 0x4c], eax
jmp 0x486d43
cmp eax, 2
je 0x4865f0
push edi
mov ecx, ebp
call fcn.004943b0
mov ecx, ebp
call fcn.004948a0
mov ecx, ebp
mov dword [ebp + 0x1a0], 1
call fcn.00494630
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.00485ac0
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 0x48666a
mov dword [ecx], eax
jmp 0x48666d
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push edi
mov ecx, ebp
mov dword [ebp + 0x180], 1
call fcn.00492780
mov eax, dword [esp + 0x2498]
mov ecx, ebp
push eax
mov dword [ebp + 0x180], 0
call fcn.0048cf50
mov ecx, ebp
call fcn.00487770
mov ecx, ebp
call fcn.00486dd0
mov eax, dword [esp + 0x24a4]
mov ebx, dword [esp + 0x24a0]
cmp eax, 2
je 0x4867a2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4866d2
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push ebx
mov ecx, ebp
call fcn.00486f40
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
mov edx, dword [esp + 0x30]
add ecx, 0x40
push ecx
push 0x63b870
push edx
call dword [sym.imp.MSVCRT.dll_freopen]
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x48670d
push 2
push 0
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov ecx, ebp
call fcn.00486fe0
mov ecx, ebp
call fcn.00487270
mov edi, dword [ebp + 0x164]
test edi, edi
je 0x486739
mov eax, edi
mov edi, dword [edi]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x486735
mov eax, dword [ecx]
call dword [eax + 8]
test edi, edi
jne 0x486725
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.00485ac0
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 0x48679c
mov dword [ecx], eax
jmp 0x48679f
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x249c]
push ebp
call fcn.0045b170
mov eax, dword [esp + 0x18]
test eax, eax
je 0x486d43
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
test eax, eax
je 0x486d43
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 0x64a680
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2494], 6
mov dword [esp + 0x20], 0x5aff24
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
call fcn.004af20e
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::operator_3
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 0x486d10
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 0x486d10
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 0x486d06
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 [0x5ada98]
fldln2
fxch st(1)
fyl2x
fldln2
fld qword [0x5c4d58]
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_3
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 0x48695d
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_4
mov edx, dword [esp + 0x3c]
push 0x64a680
push edx
mov byte [esp + 0x2498], 0xa
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x486a2d
mov eax, dword [esp + 0x24a4]
push 0
cmp eax, 2
jne 0x4869eb
push 1
lea eax, [esp + 0x70]
push str.CoreLibCompilerErrorModuleName
push eax
call fcn.00401127
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_1
add esp, 0xc
mov byte [esp + 0x2490], 0xa
lea ecx, [esp + 0x68]
jmp 0x486a28
push 0
lea eax, [esp + 0x68]
push str.CoreLibCompilerErrorModuleName
push eax
call fcn.00401127
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_1
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_3
mov eax, dword [eax]
push 0
push 0
push eax
lea eax, [esp + 0x50]
mov byte [esp + 0x249c], 0xe
push eax
call fcn.00401127
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 0x64a680
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x486abc
lea edx, [esp + 0x88]
lea ecx, [esp + 0x44]
push edx
call fcn.004af20e
mov eax, dword [esp + 0x64]
push 0
dec eax
lea ecx, [esp + 0x70]
push eax
push esi
push ecx
call fcn.00401127
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_1
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.00401127
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_4
lea ecx, [esp + 0x14]
lea edx, [esp + 0x78]
push ecx
push eax
push edx
mov byte [esp + 0x249c], 0x14
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x2494], 0x15
call sub.MFC42.DLL_CString::operator_3
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 0x486be3
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 0x486be3
inc ecx
mov edx, dword [ebx + 0x10]
mov dword [eax], edx
mov dword [ebx + 0x10], eax
sub eax, 0x1c
dec ecx
jne 0x486bd5
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 0x486c78
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 0x64a680
mov ecx, edi
mov byte [esp + 0x2494], 0x18
mov dword [esi], fcn.00460e90
mov dword [esi + 8], eax
mov dword [esi + 4], eax
call fcn.004af20e
push eax
lea ecx, [esi + 0x10]
call sub.MFC42.DLL_CString::operator_3
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 0x486c1c
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_3
lea edx, [esp + 0x2c]
lea ecx, [edi + 0x18]
push edx
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [ebx + 8]
test eax, eax
je 0x486cc9
mov dword [eax], edi
jmp 0x486ccc
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 0x48684f
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 0x486d56
push ebp
call fcn.0050cd20
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x486d68
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