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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x5b702a
push eax
mov eax, 0x2478
mov dword fs:[0], esp
call fcn.004c77f0
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 0x49d744
mov dword [esp + 0x10], 0x5c9c4c
cmp dword [esp + 0x10], edi
jne 0x49d751
xor eax, eax
jmp 0x49e41c
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 0x661668
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [esp + 0x488]
push ecx
lea ecx, [esp + 0x34]
call fcn.004c688e
mov ebx, dword [esp + 0x24a4]
mov dword [esp + 0x18], edi
cmp ebx, 1
je 0x49d7e1
mov edx, dword [sym.imp.MSVCRT.dll__iob]
mov eax, dword [esp + 0x30]
add edx, 0x40
push edx
push 0x652874
push eax
call dword [sym.imp.MSVCRT.dll_freopen]
add esp, 0xc
mov dword [esp + 0x18], eax
cmp ebx, 2
je 0x49d7eb
cmp ebx, 1
jne 0x49d847
mov esi, dword [esi + 0xc]
lea ecx, [esp + 0x40]
push esi
push ecx
call fcn.004adb80
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.004c6c78
push edi
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 1
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.005241f0
mov dword [ebp + 0x1a4], eax
mov esi, dword [ebp + 0x148]
add esp, 8
cmp esi, edi
je 0x49d8bf
jmp 0x49d8a3
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 0x49d8a6
mov esi, dword [esi]
test esi, esi
jne 0x49d8a1
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 0x49d963
mov ecx, dword [ebp + 0x9c]
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x14], eax
jbe 0x49d963
mov edx, dword [ebp + 0x98]
mov ebx, dword [edx + eax*4]
cmp ebx, edi
je 0x49d954
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 0x49d92a
lea edx, [ebx + 8]
push 1
push edx
call sub.MFC42.DLL_DestructElements
mov ebx, dword [ebx]
test ebx, ebx
jne 0x49d925
mov eax, dword [esp + 0x14]
xor edi, edi
mov ecx, dword [ebp + 0x9c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x49d918
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 0x49d9fa
mov eax, dword [ebp + 0xb8]
mov dword [esp + 0x10], edi
cmp eax, edi
jbe 0x49d9fa
mov eax, dword [ebp + 0xb4]
mov ecx, dword [esp + 0x10]
mov ebx, dword [eax + ecx*4]
test ebx, ebx
je 0x49d9e7
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 0x49d9c3
lea ecx, [ebx + 8]
push 1
push ecx
call sub.MFC42.DLL_DestructElements
mov ebx, dword [ebx]
test ebx, ebx
jne 0x49d9be
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0xb8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x49d9ad
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 0x49da95
mov ecx, dword [ebp + 0xd4]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x14], eax
jbe 0x49da95
jmp 0x49da4c
xor ebx, ebx
mov edx, dword [ebp + 0xd0]
mov esi, dword [edx + eax*4]
cmp esi, ebx
je 0x49da84
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 0x49da5e
lea ecx, [esi + 8]
push 1
push ecx
call sub.MFC42.DLL_DestructElements
mov esi, dword [esi]
test esi, esi
jne 0x49da59
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0xd4]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x49da4a
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 0x49dafe
mov eax, dword [eax]
cmp eax, ebx
jne 0x49daf8
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 0x49db54
jmp 0x49db26
mov edi, dword [esp + 0x10]
add edi, 8
mov dword [esp + 0x14], ebx
mov ecx, edi
call fcn.00473240
mov eax, dword [esp + 0x14]
add edi, 0x18
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x14], eax
jne 0x49db2d
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x49db22
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 0x661668
rep stosd dword es:[edi], eax
lea ecx, [ebp + 0x13c]
call fcn.004c688e
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x651970
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x249c]
add ecx, 0x48
call fcn.0047b620
mov dword [ebp + 0x1a8], eax
mov eax, dword [ebp + 0x1a4]
cmp eax, ebx
mov dword [ebp + 0x1a0], ebx
je 0x49dbdf
mov edx, dword [eax + 8]
mov dword [esp + 0x14], edx
jmp 0x49dbe3
mov dword [esp + 0x14], ebx
mov eax, dword [0x6985e8]
xor edi, edi
cmp eax, ebx
jbe 0x49dc3b
push 0xa
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x661668
call sub.MFC42.DLL_CString::CString_1
push edi
mov ecx, 0x6985e0
mov byte [esp + 0x249c], 4
call fcn.0049e440
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.004ad840
mov eax, dword [0x6985e8]
inc edi
cmp edi, eax
jb 0x49dbee
mov edi, dword [esp + 0x14]
mov ecx, ebp
push edi
call fcn.004ac420
mov ecx, ebp
call fcn.004ad3f0
mov eax, dword [esp + 0x24a4]
cmp eax, 1
jne 0x49dc63
mov dword [esp + 0x4c], eax
jmp 0x49e3c3
cmp eax, 2
je 0x49dc70
push edi
mov ecx, ebp
call fcn.004aba30
mov ecx, ebp
call fcn.004abf20
mov ecx, ebp
mov dword [ebp + 0x1a0], 1
call fcn.004abcb0
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.0049d140
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 0x49dcea
mov dword [ecx], eax
jmp 0x49dced
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push edi
mov ecx, ebp
mov dword [ebp + 0x180], 1
call fcn.004a9e00
mov eax, dword [esp + 0x2498]
mov ecx, ebp
push eax
mov dword [ebp + 0x180], 0
call fcn.004a45d0
mov ecx, ebp
call fcn.0049edf0
mov ecx, ebp
call fcn.0049e450
mov eax, dword [esp + 0x24a4]
mov ebx, dword [esp + 0x24a0]
cmp eax, 2
je 0x49de22
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49dd52
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push ebx
mov ecx, ebp
call fcn.0049e5c0
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
mov edx, dword [esp + 0x30]
add ecx, 0x40
push ecx
push 0x652870
push edx
call dword [sym.imp.MSVCRT.dll_freopen]
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x49dd8d
push 2
push 0
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov ecx, ebp
call fcn.0049e660
mov ecx, ebp
call fcn.0049e8f0
mov edi, dword [ebp + 0x164]
test edi, edi
je 0x49ddb9
mov eax, edi
mov edi, dword [edi]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x49ddb5
mov eax, dword [ecx]
call dword [eax + 8]
test edi, edi
jne 0x49dda5
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.0049d140
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 0x49de1c
mov dword [ecx], eax
jmp 0x49de1f
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x249c]
push ebp
call fcn.004727f0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49e3c3
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
test eax, eax
je 0x49e3c3
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 0x661668
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2494], 6
mov dword [esp + 0x20], 0x5c7f24
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
call fcn.004c688e
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 0x49e390
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 0x49e390
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 0x49e386
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 [0x5c5a98]
fldln2
fxch st(1)
fyl2x
fldln2
fld qword [0x5dcd58]
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 0x49dfdd
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 0x661668
push edx
mov byte [esp + 0x2498], 0xa
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49e0ad
mov eax, dword [esp + 0x24a4]
push 0
cmp eax, 2
jne 0x49e06b
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 0x49e0a8
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 0x661668
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x49e13c
lea edx, [esp + 0x88]
lea ecx, [esp + 0x44]
push edx
call fcn.004c688e
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 0x49e263
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 0x49e263
inc ecx
mov edx, dword [ebx + 0x10]
mov dword [eax], edx
mov dword [ebx + 0x10], eax
sub eax, 0x1c
dec ecx
jne 0x49e255
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 0x49e2f8
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 0x661668
mov ecx, edi
mov byte [esp + 0x2494], 0x18
mov dword [esi], fcn.00478510
mov dword [esi + 8], eax
mov dword [esi + 4], eax
call fcn.004c688e
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 0x49e29c
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 0x49e349
mov dword [eax], edi
jmp 0x49e34c
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 0x49decf
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 0x49e3d6
push ebp
call fcn.005243a0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49e3e8
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