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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x5ae8fa
push eax
mov eax, 0x2478
mov dword fs:[0], esp
call fcn.004bf0b0
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 0x495004
mov dword [esp + 0x10], 0x5c0c4c
cmp dword [esp + 0x10], edi
jne 0x495011
xor eax, eax
jmp 0x495cdc
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 0x659680
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [esp + 0x488]
push ecx
lea ecx, [esp + 0x34]
call fcn.004be14e
mov ebx, dword [esp + 0x24a4]
mov dword [esp + 0x18], edi
cmp ebx, 1
je 0x4950a1
mov edx, dword [sym.imp.MSVCRT.dll__iob]
mov eax, dword [esp + 0x30]
add edx, 0x40
push edx
push 0x64a874
push eax
call dword [sym.imp.MSVCRT.dll_freopen]
add esp, 0xc
mov dword [esp + 0x18], eax
cmp ebx, 2
je 0x4950ab
cmp ebx, 1
jne 0x495107
mov esi, dword [esi + 0xc]
lea ecx, [esp + 0x40]
push esi
push ecx
call fcn.004a5440
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.004be538
push edi
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 1
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.0051bab0
mov dword [ebp + 0x1a4], eax
mov esi, dword [ebp + 0x148]
add esp, 8
cmp esi, edi
je 0x49517f
jmp 0x495163
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 0x495166
mov esi, dword [esi]
test esi, esi
jne 0x495161
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 0x495223
mov ecx, dword [ebp + 0x9c]
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x14], eax
jbe 0x495223
mov edx, dword [ebp + 0x98]
mov ebx, dword [edx + eax*4]
cmp ebx, edi
je 0x495214
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 0x4951ea
lea edx, [ebx + 8]
push 1
push edx
call sub.MFC42.DLL_DestructElements
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4951e5
mov eax, dword [esp + 0x14]
xor edi, edi
mov ecx, dword [ebp + 0x9c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x4951d8
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 0x4952ba
mov eax, dword [ebp + 0xb8]
mov dword [esp + 0x10], edi
cmp eax, edi
jbe 0x4952ba
mov eax, dword [ebp + 0xb4]
mov ecx, dword [esp + 0x10]
mov ebx, dword [eax + ecx*4]
test ebx, ebx
je 0x4952a7
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 0x495283
lea ecx, [ebx + 8]
push 1
push ecx
call sub.MFC42.DLL_DestructElements
mov ebx, dword [ebx]
test ebx, ebx
jne 0x49527e
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0xb8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x49526d
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 0x495355
mov ecx, dword [ebp + 0xd4]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x14], eax
jbe 0x495355
jmp 0x49530c
xor ebx, ebx
mov edx, dword [ebp + 0xd0]
mov esi, dword [edx + eax*4]
cmp esi, ebx
je 0x495344
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 0x49531e
lea ecx, [esi + 8]
push 1
push ecx
call sub.MFC42.DLL_DestructElements
mov esi, dword [esi]
test esi, esi
jne 0x495319
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0xd4]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x49530a
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 0x4953be
mov eax, dword [eax]
cmp eax, ebx
jne 0x4953b8
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 0x495414
jmp 0x4953e6
mov edi, dword [esp + 0x10]
add edi, 8
mov dword [esp + 0x14], ebx
mov ecx, edi
call fcn.0046ab00
mov eax, dword [esp + 0x14]
add edi, 0x18
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x14], eax
jne 0x4953ed
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x4953e2
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 0x659680
rep stosd dword es:[edi], eax
lea ecx, [ebp + 0x13c]
call fcn.004be14e
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x649970
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x249c]
add ecx, 0x48
call fcn.00472ee0
mov dword [ebp + 0x1a8], eax
mov eax, dword [ebp + 0x1a4]
cmp eax, ebx
mov dword [ebp + 0x1a0], ebx
je 0x49549f
mov edx, dword [eax + 8]
mov dword [esp + 0x14], edx
jmp 0x4954a3
mov dword [esp + 0x14], ebx
mov eax, dword [0x678c40]
xor edi, edi
cmp eax, ebx
jbe 0x4954fb
push 0xa
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x659680
call sub.MFC42.DLL_CString::CString_1
push edi
mov ecx, 0x678c38
mov byte [esp + 0x249c], 4
call fcn.00495d00
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.004a5100
mov eax, dword [0x678c40]
inc edi
cmp edi, eax
jb 0x4954ae
mov edi, dword [esp + 0x14]
mov ecx, ebp
push edi
call fcn.004a3ce0
mov ecx, ebp
call fcn.004a4cb0
mov eax, dword [esp + 0x24a4]
cmp eax, 1
jne 0x495523
mov dword [esp + 0x4c], eax
jmp 0x495c83
cmp eax, 2
je 0x495530
push edi
mov ecx, ebp
call fcn.004a32f0
mov ecx, ebp
call fcn.004a37e0
mov ecx, ebp
mov dword [ebp + 0x1a0], 1
call fcn.004a3570
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.00494a00
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 0x4955aa
mov dword [ecx], eax
jmp 0x4955ad
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push edi
mov ecx, ebp
mov dword [ebp + 0x180], 1
call fcn.004a16c0
mov eax, dword [esp + 0x2498]
mov ecx, ebp
push eax
mov dword [ebp + 0x180], 0
call fcn.0049be90
mov ecx, ebp
call fcn.004966b0
mov ecx, ebp
call fcn.00495d10
mov eax, dword [esp + 0x24a4]
mov ebx, dword [esp + 0x24a0]
cmp eax, 2
je 0x4956e2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x495612
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push ebx
mov ecx, ebp
call fcn.00495e80
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
mov edx, dword [esp + 0x30]
add ecx, 0x40
push ecx
push 0x64a870
push edx
call dword [sym.imp.MSVCRT.dll_freopen]
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x49564d
push 2
push 0
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov ecx, ebp
call fcn.00495f20
mov ecx, ebp
call fcn.004961b0
mov edi, dword [ebp + 0x164]
test edi, edi
je 0x495679
mov eax, edi
mov edi, dword [edi]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x495675
mov eax, dword [ecx]
call dword [eax + 8]
test edi, edi
jne 0x495665
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.00494a00
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 0x4956dc
mov dword [ecx], eax
jmp 0x4956df
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x249c]
push ebp
call fcn.0046a0b0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x495c83
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
test eax, eax
je 0x495c83
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 0x659680
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2494], 6
mov dword [esp + 0x20], 0x5bef24
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
call fcn.004be14e
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 0x495c50
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 0x495c50
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 0x495c46
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 [0x5bca98]
fldln2
fxch st(1)
fyl2x
fldln2
fld qword [0x5d3d58]
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 0x49589d
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 0x659680
push edx
mov byte [esp + 0x2498], 0xa
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49596d
mov eax, dword [esp + 0x24a4]
push 0
cmp eax, 2
jne 0x49592b
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 0x495968
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 0x659680
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4959fc
lea edx, [esp + 0x88]
lea ecx, [esp + 0x44]
push edx
call fcn.004be14e
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 0x495b23
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 0x495b23
inc ecx
mov edx, dword [ebx + 0x10]
mov dword [eax], edx
mov dword [ebx + 0x10], eax
sub eax, 0x1c
dec ecx
jne 0x495b15
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 0x495bb8
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 0x659680
mov ecx, edi
mov byte [esp + 0x2494], 0x18
mov dword [esi], fcn.0046fdd0
mov dword [esi + 8], eax
mov dword [esi + 4], eax
call fcn.004be14e
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 0x495b5c
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 0x495c09
mov dword [eax], edi
jmp 0x495c0c
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 0x49578f
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 0x495c96
push ebp
call fcn.0051bc60
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x495ca8
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