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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b103d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
lea edx, [esp + 0x1c]
xor ebx, ebx
push eax
push edx
mov dword [esp + 0x5c], ebx
call fcn.004984a0
lea eax, [esp + 0xc]
push ebx
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x80], 2
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
call fcn.0049b140
lea ecx, [esp + 0x60]
mov byte [esp + 0x78], 4
mov dword [esp + 0x5c], ebx
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x78], 5
cmp dword [ecx - 8], ebx
je 0x499618
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], ebx
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 6
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x1c]
push 0x3b
push ebx
lea eax, [esp + 0x1c]
push edx
push eax
mov byte [esp + 0x88], 7
call sub.MFC42.DLL_AfxExtractSubString
test eax, eax
je 0x4995fc
mov bl, 0xa
push 0x3a
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_3
cmp eax, 0xffffffff
jne 0x4993b8
push 0x2e
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_3
mov esi, eax
test esi, esi
jle 0x4995d7
push esi
lea ecx, [esp + 0x48]
push 0
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
lea edx, [esp + 0x20]
push edx
push 0x4d509c
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString
inc esi
lea eax, [esp + 0x48]
push esi
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 8
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 7
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x10]
mov dword [esp + 0x5c], ecx
push edx
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
je 0x49939b
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], eax
test eax, eax
mov byte [esp + 0x78], 9
je 0x49938a
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x60]
mov dword [eax], ecx
push edx
lea ecx, [eax + 4]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x68]
add eax, 8
mov byte [esp + 0x78], 7
mov dword [esp + 0x68], eax
jmp 0x4995d7
push 1
lea ecx, [esp + 0x11]
push 1
lea edx, [esp + 0x64]
push ecx
push edx
push eax
lea ecx, [esp + 0x78]
call fcn.00499c70
jmp 0x4995d7
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x38]
push edx
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x3c]
push edx
push eax
push str._d:_d:_d:_d:_d:_d:_d
push ecx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x24
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x78], bl
test eax, eax
jne 0x4994c1
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
cmp esi, eax
jg 0x4995c9
mov eax, esi
cdq
idiv dword [esp + 0x30]
lea edx, [esp + 0x10]
push eax
push 0x4d509c
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x2c]
add esp, 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], eax
push ecx
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
je 0x49948c
mov dword [esp + 0x58], eax
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0x78], 0xb
je 0x49947f
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x60]
push ecx
lea ecx, [eax + 4]
mov dword [eax], edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x68]
add eax, 8
mov byte [esp + 0x78], bl
mov dword [esp + 0x68], eax
jmp 0x4994a4
push 1
lea edx, [esp + 0x12]
push 1
lea ecx, [esp + 0x64]
push edx
push ecx
push eax
lea ecx, [esp + 0x78]
call fcn.00499c70
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
add esi, edx
add edi, ecx
cmp esi, eax
jle 0x49941b
jmp 0x4995c9
push eax
lea edx, [esp + 0x14]
push str.._df
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x50]
push eax
push 0x4d50a0
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 0xc
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x50]
mov byte [esp + 0x78], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
mov esi, eax
cmp eax, ecx
mov dword [esp + 0x38], esi
jg 0x4995c9
fild dword [esp + 0x38]
mov edx, dword [esp + 0x24]
sub esp, 8
lea eax, [esp + 0x18]
fidiv dword [esp + 0x38]
fstp qword [esp]
push edx
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x30]
add esp, 0x10
lea edx, [esp + 0x10]
mov dword [esp + 0x5c], ecx
push edx
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
je 0x499595
mov dword [esp + 0x58], eax
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0x78], 0xd
je 0x499588
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x60]
mov dword [eax], ecx
push edx
lea ecx, [eax + 4]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x68]
add eax, 8
mov byte [esp + 0x78], bl
mov dword [esp + 0x68], eax
jmp 0x4995ad
push 1
lea ecx, [esp + 0x13]
push 1
lea edx, [esp + 0x64]
push ecx
push edx
push eax
lea ecx, [esp + 0x78]
call fcn.00499c70
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
add esi, edx
add edi, ecx
cmp esi, eax
mov dword [esp + 0x38], esi
jle 0x49951e
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 7
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x40]
push 0x3b
inc eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], eax
push eax
mov eax, dword [esp + 0x24]
push eax
push ecx
call sub.MFC42.DLL_AfxExtractSubString
test eax, eax
jne 0x4992ba
xor ebx, ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 5
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0xf]
lea ecx, [esp + 0x64]
push edx
call fcn.004148b0
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
push 0
mov dword [edi], ebx
mov dword [edi + 4], ebx
lea ebx, [edi + 8]
sub esi, ecx
push eax
mov ecx, ebx
mov byte [esp + 0x80], 0xe
sar esi, 3
call fcn.0049b140
test esi, esi
mov byte [esp + 0x78], 0xf
je 0x49967d
lea eax, [esi*8]
cmp eax, 0x80
push eax
jbe 0x499672
call sub.MFC42.DLL_operatornew
add esp, 4
jmp 0x49967f
call dword [sym.imp.stlport_vc645.dll_private:_static_void____cdecl__STL::__node_alloc_1__0_::_M_allocate_unsigned_int_]
add esp, 4
jmp 0x49967f
xor eax, eax
lea ecx, [eax + esi*8]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0xe]
push edx
push eax
mov eax, dword [esp + 0x70]
mov byte [esp + 0x80], 0x11
push eax
push ecx
call fcn.00467c40
add esp, 0x10
mov dword [edi + 4], eax
mov dword [esp + 0x54], 1
lea ecx, [esp + 0x60]
mov byte [esp + 0x78], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
cmp esi, eax
mov byte [esp + 0x78], 0x12
mov ebx, eax
je 0x4996e8
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::CString
add esi, 8
cmp esi, ebx
jne 0x4996d5
mov esi, dword [esp + 0x64]
test esi, esi
mov byte [esp + 0x78], 0x13
je 0x49970c
mov eax, dword [esp + 0x6c]
sub eax, esi
sar eax, 3
lea edx, [eax*8]
push edx
push esi
call dword [sym.imp.stlport_vc645.dll_public:_static_void___cdecl__STL::__node_alloc_1__0_::deallocate_void___unsigned_int_]
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x70]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8