Function at 0x402be0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x404d20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x5c], 0
call fcn.00403de0
cmp eax, 1
je 0x4030f8
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x407680
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
mov byte [esp + 0x68], 1
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x64], 0
call fcn.00404100
add esp, 8
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x407680
push ecx
mov byte [esp + 0x64], 2
call edi
add esp, 8
test eax, eax
je 0x4030ea
mov edx, dword [esp + 0x14]
push 0x4071a0
push edx
call edi
add esp, 8
test eax, eax
je 0x4030ea
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 8]
cmp eax, 3
jl 0x4030ea
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::GetBuffer
push 0x407304
push eax
call dword [sym.imp.MSVCRT.dll__mbstok]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4030c5
push ebx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x28]
mov byte [esp + 0x5c], 3
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
push eax
push edx
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 4
call fcn.00404520
lea ecx, [esp + 0x28]
mov byte [esp + 0x5c], 3
call fcn.0040450e
xor ebx, ebx
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
push ebx
lea eax, [esp + 0x24]
push str.Q_d::
push eax
mov byte [esp + 0x68], 5
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
push 4
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 6
call sub.MFC42.DLL_CString::Left
mov edx, dword [esp + 0x20]
mov eax, dword [eax]
push edx
push eax
call edi
add esp, 8
lea ecx, [esp + 0x2c]
test eax, eax
sete bl
call fcn.0040450e
test bl, bl
je 0x402df9
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x30]
mov eax, dword [eax - 8]
add eax, 0xfffffffc
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 7
call fcn.00404520
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 6
call fcn.0040450e
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
call fcn.00404520
mov eax, dword [esi + 0x78]
lea edi, [esi + 0x70]
push 0
push eax
mov ecx, edi
call fcn.00403880
mov ebp, eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [ebp + 8]
call fcn.00404520
mov eax, dword [edi + 8]
test eax, eax
je 0x402ddf
mov dword [eax], ebp
jmp 0x402de2
mov dword [edi + 4], ebp
mov eax, dword [esp + 0x1c]
mov dword [edi + 8], ebp
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
inc eax
mov dword [esp + 0x1c], eax
jmp 0x40306f
lea edx, [esp + 0x34]
push 5
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
push ecx
push eax
call edi
add esp, 8
lea ecx, [esp + 0x34]
test eax, eax
sete bl
call fcn.0040450e
test bl, bl
je 0x402f13
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
add eax, 0xfffffffb
push eax
lea eax, [esp + 0x3c]
push eax
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 8
call fcn.00404520
lea ecx, [esp + 0x38]
mov byte [esp + 0x5c], 6
call fcn.0040450e
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404520
mov eax, dword [esi + 0x80]
mov ebx, dword [esi + 0x78]
test eax, eax
jne 0x402eb9
mov edx, dword [esi + 0x88]
push 0xc
lea eax, [esi + 0x84]
push edx
push eax
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x88]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 8]
jl 0x402eb9
inc ecx
mov edx, dword [esi + 0x80]
mov dword [eax], edx
mov dword [esi + 0x80], eax
sub eax, 0xc
dec ecx
jne 0x402ea5
mov edi, dword [esi + 0x80]
push 1
mov eax, dword [edi]
lea ebp, [edi + 8]
mov dword [esi + 0x80], eax
mov dword [edi + 4], ebx
mov dword [edi], 0
mov ecx, dword [esi + 0x7c]
inc ecx
push ebp
mov dword [esi + 0x7c], ecx
call sub.MFC42.DLL_ConstructElements
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.00404520
mov eax, dword [esi + 0x78]
test eax, eax
je 0x402ef9
mov dword [eax], edi
jmp 0x402efc
mov dword [esi + 0x74], edi
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x78], edi
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
inc eax
mov dword [esp + 0x1c], eax
jmp 0x40306f
lea edx, [esp + 0x3c]
push 3
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x4072fc
push eax
call edi
add esp, 8
lea ecx, [esp + 0x3c]
test eax, eax
sete bl
call fcn.0040450e
test bl, bl
je 0x402f88
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x40]
mov eax, dword [eax - 8]
add eax, 0xfffffffd
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 9
call fcn.00404520
lea ecx, [esp + 0x40]
mov byte [esp + 0x5c], 6
call fcn.0040450e
lea edx, [esp + 0x10]
lea ecx, [esi + 0x90]
push edx
jmp 0x40306a
lea eax, [esp + 0x44]
push 3
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x4072f8
push eax
call edi
add esp, 8
lea ecx, [esp + 0x44]
test eax, eax
sete bl
call fcn.0040450e
test bl, bl
je 0x402ffa
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x48]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
add eax, 0xfffffffd
push eax
push edx
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 0xa
call fcn.00404520
lea ecx, [esp + 0x48]
mov byte [esp + 0x5c], 6
call fcn.0040450e
lea eax, [esp + 0x10]
lea ecx, [esi + 0x94]
push eax
jmp 0x40306a
lea ecx, [esp + 0x4c]
push 3
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push 0x4072f4
push eax
call edi
add esp, 8
lea ecx, [esp + 0x4c]
test eax, eax
sete bl
call fcn.0040450e
test bl, bl
je 0x40306f
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
add eax, 0xfffffffd
push eax
lea eax, [esp + 0x54]
push eax
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 0xb
call fcn.00404520
lea ecx, [esp + 0x50]
mov byte [esp + 0x5c], 6
call fcn.0040450e
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esi + 0x98]
call fcn.00404520
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 5
call fcn.0040450e
lea ecx, [esp + 0x20]
mov byte [esp + 0x5c], 3
call fcn.0040450e
mov ebx, dword [esp + 0x24]
inc ebx
cmp ebx, 0x1e
mov dword [esp + 0x24], ebx
jl 0x402d0f
push 0x407304
push 0
call dword [sym.imp.MSVCRT.dll__mbstok]
add esp, 8
lea ecx, [esp + 0x10]
mov ebx, eax
mov byte [esp + 0x5c], 2
call fcn.0040450e
test ebx, ebx
jne 0x402cc7
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 0
call fcn.0040450e
lea ecx, [esp + 0x64]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0040450e
mov eax, dword [esp + 0x1c]
jmp 0x40310b
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 0
call fcn.0040450e
lea ecx, [esp + 0x64]
mov dword [esp + 0x5c], 0xffffffff
call fcn.0040450e
xor eax, eax
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret 4