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

Disassembly:
push 0xffffffffffffffff
push 0x4fb4c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
push edi
lea ecx, [esp + 0x40]
call fcn.0044e9a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], edi
call sub.MFC42.DLL_CString::CString_4
mov ebx, dword [esp + 0x60]
push 0x5238e8
mov byte [esp + 0x58], 1
mov eax, dword [ebx + 0xc]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4998ea
mov ebp, dword [esp + 0x5c]
lea ecx, [esi + 0x178]
lea edx, [esp + 0x60]
mov eax, dword [ebp]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00498410
mov edi, eax
push 2
lea eax, [esp + 0x60]
push ebp
push eax
mov ecx, esi
mov byte [esp + 0x60], 2
call fcn.00498410
mov ecx, dword [ebx + 0xc]
mov edx, dword [edi]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebx + 8]
push edx
mov edx, dword [ebx + 4]
push eax
push ecx
push edx
lea eax, [esp + 0x24]
push str._x_:_d__y_:_d__fuin_:__s___uin_:__s___ruin_:__s_
push eax
mov byte [esp + 0x70], 3
call sub.MFC42.DLL_CString::Format
add esp, 0x1c
lea ecx, [esp + 0x5c]
mov byte [esp + 0x54], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x60]
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x64]
push 0
push edi
lea ecx, [esp + 0x44]
push 7
push ecx
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp]
push 0x21
push eax
mov ecx, esi
call fcn.004930b0
push edi
push eax
push ebp
mov ecx, esi
mov dword [esp + 0x70], eax
call fcn.0049c930
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4998c7
push 0x52c628
lea ecx, [esp + 0x40]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov ecx, dword [ebp + 0x78]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
add ecx, eax
fild qword [esp + 0x30]
mov dword [ebp + 0x78], ecx
add esp, 4
mov ecx, esi
mov dword [esp + 0x5c], eax
fadd qword [ebp + 0x128]
fstp qword [ebp + 0x128]
add dword [0x5362b4], eax
call fcn.0048e370
push eax
mov ecx, esi
call fcn.00443950
push 1
push 1
push 5
mov ecx, esi
call fcn.00443aa0
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x499898
push 4
mov ecx, esi
call fcn.004438a0
mov dword [ebx], 0
mov eax, dword [ebp + 0x1a8]
test eax, eax
je 0x4998af
dec eax
mov dword [ebp + 0x1a8], eax
test edi, edi
je 0x499aec
mov ecx, dword [esp + 0x5c]
mov dword [edi + 0x10], 1
jmp 0x499ae2
test edi, edi
je 0x499aec
cmp dword [edi + 8], 0xffffe868
jne 0x499aec
push 4
mov ecx, esi
call fcn.004438a0
jmp 0x499aec
mov eax, dword [ebx + 4]
mov ebp, dword [esp + 0x5c]
lea edx, [esp + 0x60]
mov ecx, esi
push edx
push eax
lea eax, [ebp + 0x90]
mov dword [esp + 0x24], edi
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x6c], edi
call fcn.00499cf0
cmp eax, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x5c], edi
jle 0x499a9f
mov ecx, dword [ebp]
lea eax, [esi + 0x178]
push ecx
lea edx, [esp + 0x28]
push eax
push edx
mov ecx, esi
call fcn.00498410
mov edi, eax
push 2
lea eax, [esp + 0x24]
push ebp
push eax
mov ecx, esi
mov byte [esp + 0x60], 4
call fcn.00498410
mov edx, dword [ebx + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [edi]
mov byte [esp + 0x58], 5
push edx
push eax
mov eax, dword [esp + 0x68]
mov edx, dword [ecx + eax*8 + 4]
mov eax, dword [ecx + eax*8]
push edx
push eax
lea ecx, [esp + 0x24]
push str._x_:_d__y_:_d__fuin_:__s___uin_:__s___ruin_:__s_
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x1c
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x64]
push 0
push edi
lea edx, [esp + 0x44]
push 7
push edx
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [ebp]
push 0x21
push ecx
mov ecx, esi
call fcn.004930b0
test eax, eax
je 0x499a87
mov ecx, dword [esp + 0x14]
push 0x52c628
inc ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x40]
call fcn.0044fea0
push eax
call fcn.0040c7d0
mov edi, eax
mov ecx, dword [esi + 0x1f0]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], 0
fild qword [esp + 0x38]
mov eax, dword [esp + 0x1c]
add ecx, edi
mov dword [esi + 0x1f0], ecx
add eax, edi
fadd qword [esi + 0x2a0]
add esp, 4
mov ecx, esi
mov dword [esp + 0x18], eax
fstp qword [esi + 0x2a0]
add dword [0x5362b4], edi
call fcn.0048e370
push eax
mov ecx, esi
call fcn.00443950
push 1
push 1
push 5
mov ecx, esi
call fcn.00443aa0
test edi, edi
jne 0x499a61
push 4
mov ecx, esi
call fcn.004438a0
mov eax, dword [ebx + 4]
test eax, eax
jle 0x499a6c
dec eax
mov dword [ebx + 4], eax
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x5c], eax
jl 0x499925
jmp 0x499aa3
test edi, edi
je 0x499a70
cmp dword [edi + 8], 0xffffe868
jne 0x499a70
push 4
mov ecx, esi
call fcn.004438a0
jmp 0x499a70
mov edi, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
mov dword [esp + 0x64], eax
je 0x499aec
mov dword [ebx], 0
mov eax, dword [ebp + 0x1a8]
test eax, eax
je 0x499ad3
dec eax
mov dword [ebp + 0x1a8], eax
test edi, edi
je 0x499aec
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], ecx
mov dword [edi + 0x14], 0
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 0xffffffff
call fcn.0044eec0
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret 0xc