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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x5b8bfa
push eax
mov eax, 0x2478
mov dword fs:[0], esp
call fcn.004c93c0
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 0x49f314
mov dword [esp + 0x10], 0x5cac4c
cmp dword [esp + 0x10], edi
jne 0x49f321
xor eax, eax
jmp 0x49ffec
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 0x662668
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [esp + 0x488]
push ecx
lea ecx, [esp + 0x34]
call fcn.004c845e
mov ebx, dword [esp + 0x24a4]
mov dword [esp + 0x18], edi
cmp ebx, 1
je 0x49f3b1
mov edx, dword [sym.imp.MSVCRT.dll__iob]
mov eax, dword [esp + 0x30]
add edx, 0x40
push edx
push 0x653874
push eax
call dword [sym.imp.MSVCRT.dll_freopen]
add esp, 0xc
mov dword [esp + 0x18], eax
cmp ebx, 2
je 0x49f3bb
cmp ebx, 1
jne 0x49f417
mov esi, dword [esi + 0xc]
lea ecx, [esp + 0x40]
push esi
push ecx
call fcn.004af750
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.004c8848
push edi
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 1
call sub.MFC42.DLL_CString::GetBuffer
push eax
call fcn.00525dc0
mov dword [ebp + 0x1a4], eax
mov esi, dword [ebp + 0x148]
add esp, 8
cmp esi, edi
je 0x49f48f
jmp 0x49f473
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 0x49f476
mov esi, dword [esi]
test esi, esi
jne 0x49f471
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 0x49f533
mov ecx, dword [ebp + 0x9c]
xor eax, eax
cmp ecx, edi
mov dword [esp + 0x14], eax
jbe 0x49f533
mov edx, dword [ebp + 0x98]
mov ebx, dword [edx + eax*4]
cmp ebx, edi
je 0x49f524
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 0x49f4fa
lea edx, [ebx + 8]
push 1
push edx
call sub.MFC42.DLL_DestructElements
mov ebx, dword [ebx]
test ebx, ebx
jne 0x49f4f5
mov eax, dword [esp + 0x14]
xor edi, edi
mov ecx, dword [ebp + 0x9c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x49f4e8
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 0x49f5ca
mov eax, dword [ebp + 0xb8]
mov dword [esp + 0x10], edi
cmp eax, edi
jbe 0x49f5ca
mov eax, dword [ebp + 0xb4]
mov ecx, dword [esp + 0x10]
mov ebx, dword [eax + ecx*4]
test ebx, ebx
je 0x49f5b7
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 0x49f593
lea ecx, [ebx + 8]
push 1
push ecx
call sub.MFC42.DLL_DestructElements
mov ebx, dword [ebx]
test ebx, ebx
jne 0x49f58e
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0xb8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x49f57d
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 0x49f665
mov ecx, dword [ebp + 0xd4]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x14], eax
jbe 0x49f665
jmp 0x49f61c
xor ebx, ebx
mov edx, dword [ebp + 0xd0]
mov esi, dword [edx + eax*4]
cmp esi, ebx
je 0x49f654
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 0x49f62e
lea ecx, [esi + 8]
push 1
push ecx
call sub.MFC42.DLL_DestructElements
mov esi, dword [esi]
test esi, esi
jne 0x49f629
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0xd4]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x49f61a
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 0x49f6ce
mov eax, dword [eax]
cmp eax, ebx
jne 0x49f6c8
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 0x49f724
jmp 0x49f6f6
mov edi, dword [esp + 0x10]
add edi, 8
mov dword [esp + 0x14], ebx
mov ecx, edi
call fcn.00474e10
mov eax, dword [esp + 0x14]
add edi, 0x18
mov edx, eax
dec eax
test edx, edx
mov dword [esp + 0x14], eax
jne 0x49f6fd
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x49f6f2
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 0x662668
rep stosd dword es:[edi], eax
lea ecx, [ebp + 0x13c]
call fcn.004c845e
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x652970
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x249c]
add ecx, 0x48
call fcn.0047d1f0
mov dword [ebp + 0x1a8], eax
mov eax, dword [ebp + 0x1a4]
cmp eax, ebx
mov dword [ebp + 0x1a0], ebx
je 0x49f7af
mov edx, dword [eax + 8]
mov dword [esp + 0x14], edx
jmp 0x49f7b3
mov dword [esp + 0x14], ebx
mov eax, dword [0x68a7b0]
xor edi, edi
cmp eax, ebx
jbe 0x49f80b
push 0xa
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x662668
call sub.MFC42.DLL_CString::CString_1
push edi
mov ecx, 0x68a7a8
mov byte [esp + 0x249c], 4
call fcn.004a0010
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.004af410
mov eax, dword [0x68a7b0]
inc edi
cmp edi, eax
jb 0x49f7be
mov edi, dword [esp + 0x14]
mov ecx, ebp
push edi
call fcn.004adff0
mov ecx, ebp
call fcn.004aefc0
mov eax, dword [esp + 0x24a4]
cmp eax, 1
jne 0x49f833
mov dword [esp + 0x4c], eax
jmp 0x49ff93
cmp eax, 2
je 0x49f840
push edi
mov ecx, ebp
call fcn.004ad600
mov ecx, ebp
call fcn.004adaf0
mov ecx, ebp
mov dword [ebp + 0x1a0], 1
call fcn.004ad880
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.0049ed10
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 0x49f8ba
mov dword [ecx], eax
jmp 0x49f8bd
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push edi
mov ecx, ebp
mov dword [ebp + 0x180], 1
call fcn.004ab9d0
mov eax, dword [esp + 0x2498]
mov ecx, ebp
push eax
mov dword [ebp + 0x180], 0
call fcn.004a61a0
mov ecx, ebp
call fcn.004a09c0
mov ecx, ebp
call fcn.004a0020
mov eax, dword [esp + 0x24a4]
mov ebx, dword [esp + 0x24a0]
cmp eax, 2
je 0x49f9f2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49f922
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push ebx
mov ecx, ebp
call fcn.004a0190
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
mov edx, dword [esp + 0x30]
add ecx, 0x40
push ecx
push 0x653870
push edx
call dword [sym.imp.MSVCRT.dll_freopen]
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x49f95d
push 2
push 0
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov ecx, ebp
call fcn.004a0230
mov ecx, ebp
call fcn.004a04c0
mov edi, dword [ebp + 0x164]
test edi, edi
je 0x49f989
mov eax, edi
mov edi, dword [edi]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x49f985
mov eax, dword [ecx]
call dword [eax + 8]
test edi, edi
jne 0x49f975
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.0049ed10
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 0x49f9ec
mov dword [ecx], eax
jmp 0x49f9ef
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x249c]
push ebp
call fcn.004743c0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49ff93
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
add esp, 4
test eax, eax
je 0x49ff93
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 0x662668
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2494], 6
mov dword [esp + 0x20], 0x5c8f24
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
call fcn.004c845e
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 0x49ff60
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 0x49ff60
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 0x49ff56
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 [0x5c6a98]
fldln2
fxch st(1)
fyl2x
fldln2
fld qword [0x5ddd58]
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 0x49fbad
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 0x662668
push edx
mov byte [esp + 0x2498], 0xa
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x49fc7d
mov eax, dword [esp + 0x24a4]
push 0
cmp eax, 2
jne 0x49fc3b
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 0x49fc78
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 0x662668
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x49fd0c
lea edx, [esp + 0x88]
lea ecx, [esp + 0x44]
push edx
call fcn.004c845e
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 0x49fe33
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 0x49fe33
inc ecx
mov edx, dword [ebx + 0x10]
mov dword [eax], edx
mov dword [ebx + 0x10], eax
sub eax, 0x1c
dec ecx
jne 0x49fe25
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 0x49fec8
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 0x662668
mov ecx, edi
mov byte [esp + 0x2494], 0x18
mov dword [esi], fcn.0047a0e0
mov dword [esi + 8], eax
mov dword [esi + 4], eax
call fcn.004c845e
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 0x49fe6c
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 0x49ff19
mov dword [eax], edi
jmp 0x49ff1c
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 0x49fa9f
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 0x49ffa6
push ebp
call fcn.00525f70
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49ffb8
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