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

Disassembly:
push 0xffffffffffffffff
push 0x4a193c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x24], ecx
call fcn.00441900
mov esi, eax
lea eax, [esp + 0x13]
add esi, 0x1554
push eax
mov ecx, esi
call fcn.004148b0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
sub ecx, edx
push eax
sar ecx, 2
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x94], 0
call fcn.00414d00
mov dl, byte [esp + 0x13]
mov eax, dword [esi + 4]
mov esi, dword [esi]
mov byte [esp + 0x11], dl
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x11]
push ecx
push edx
push eax
push esi
mov byte [esp + 0x9c], 2
call fcn.00443890
add esp, 0x10
mov dword [esp + 0x3c], eax
mov edi, dword [esp + 0x38]
mov dword [esp + 0x8c], 3
sub eax, edi
sar eax, 2
mov edi, eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x1c], edi
lea ebp, [eax + 0xb4c]
call fcn.00441900
lea ecx, [edi*8]
mov word [eax + 0x1340], 0xb4c
mov eax, dword [esp + 0x38]
sub ecx, edi
xor esi, esi
mov ebx, eax
lea edx, [ecx*4 + 0xb30]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
mov dword [esp + 0x20], edx
je 0x41011a
mov dword [esp + 0x18], ebp
jmp 0x40fe8d
mov edi, dword [esp + 0x1c]
mov ebp, dword [ebx]
mov ecx, ebp
call fcn.0049ab60
lea ecx, [esi*8]
sub ecx, esi
shl ecx, 2
lea edx, [ecx + 0xb30]
add ecx, 0xb68
mov word [eax], dx
mov word [eax + 2], cx
cmp ebx, dword [esp + 0x38]
jne 0x40fec3
mov cx, word [esp + 0x20]
mov word [eax], cx
inc esi
cmp esi, edi
mov dword [esp + 0x34], esi
jne 0x40fed2
mov word [eax + 2], 0xb4c
mov ecx, 7
mov esi, eax
lea edi, [esp + 0x44]
lea edx, [esp + 0x48]
push 0x10
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.00441900
mov ecx, eax
add ecx, 0x161c
call fcn.004332c0
test eax, eax
je 0x4100eb
mov ecx, dword [esp + 0x24]
push 1
call fcn.0040d5b0
mov eax, dword [ebx]
mov dword [esp + 0x28], eax
call fcn.00441900
mov dl, byte [esp + 0x13]
mov esi, eax
mov eax, dword [esi + 0x1558]
mov byte [esp + 0x12], dl
mov ecx, dword [esi + 0x1554]
lea edx, [esp + 0x12]
add esi, 0x1550
push edx
lea edx, [esp + 0x2c]
push edx
push eax
push ecx
call fcn.00415610
mov ecx, dword [esi + 8]
add esp, 0x10
cmp eax, ecx
je 0x40ff57
sub eax, dword [esi + 4]
sar eax, 2
mov esi, eax
jmp 0x40ff5a
or esi, 0xffffffff
push 0x4dab08
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
inc esi
lea eax, [esp + 0x14]
push esi
push str.____d
push eax
mov byte [esp + 0x98], 4
call sub.MFC42.DLL_CString::Format
lea ecx, [esp + 0x78]
add esp, 0xc
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x70]
mov byte [esp + 0x8c], 5
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x74]
mov byte [esp + 0x8c], 6
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x78]
mov byte [esp + 0x8c], 7
call sub.MFC42.DLL_CString::CString_4
lea edx, [esp + 0x2c]
push 0x14fb
push edx
mov ecx, 0x4dc390
mov byte [esp + 0x94], 8
call fcn.004984a0
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x90], 9
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8c], 8
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x30]
push 0x14fa
push eax
mov ecx, 0x4dc390
call fcn.004984a0
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x90], 0xa
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x30]
mov byte [esp + 0x8c], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x74]
call sub.MFC42.DLL_CString::operator_2
mov ecx, ebp
call fcn.0042d310
add eax, 0x14fc
mov dword [esp + 0x64], eax
add eax, 0xffff
mov dword [esp + 0x80], eax
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x41007a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x41007c
xor eax, eax
lea ecx, [esp + 0x60]
push 0
push ecx
lea ecx, [eax + 0x568]
call fcn.00432e90
lea edx, [esp + 0x6c]
mov dword [esp + 0x28], edx
lea ecx, [esp + 0x78]
mov byte [esp + 0x8c], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x74]
mov byte [esp + 0x8c], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x70]
mov byte [esp + 0x8c], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x6c]
mov byte [esp + 0x8c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x8c], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
mov ecx, 7
mov edi, eax
add eax, 0x1c
lea esi, [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
add ebx, 4
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x34]
cmp ebx, eax
jne 0x40fe89
mov eax, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword [esp + 0x80], 0xe
test eax, eax
pop ebx
je 0x410169
mov ecx, dword [esp + 0x30]
sub ecx, eax
sar ecx, 2
shl ecx, 2
cmp ecx, 0x80
jbe 0x41015e
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
add esp, 0x80
ret 4
push ecx
push eax
call dword [sym.imp.stlport_vc645.dll_private:_static_void___cdecl__STL::__node_alloc_1__0_::_M_deallocate_void___unsigned_int_]
add esp, 8
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
add esp, 0x80
ret 4