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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x2047aaeb
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x204a31e0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
lea edi, [esi + 0x58]
push ebx
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
je 0x204372e5
push ebx
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
test esi, esi
jne 0x20437026
xor eax, eax
jmp 0x20437029
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call edi
test eax, eax
je 0x204372e5
lea eax, [esi + 0x5c]
test eax, eax
je 0x20437044
mov eax, dword [eax + 0x20]
push eax
call edi
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
je 0x2043707a
mov eax, dword [esi + 0x7c]
push 0
push 0
push 0x1200
push eax
call ebx
test eax, eax
jle 0x2043707a
mov edi, eax
mov ecx, dword [esi + 0x7c]
push 0
push 0
push 0x1202
push ecx
call ebx
sub edi, 1
jne 0x20437066
mov eax, dword [esi + 0x2a0]
xor edi, edi
cmp eax, edi
je 0x20437096
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov dword [esi + 0x2a0], edi
push 0x1f40
mov dword [esi + 0x29c], 0x3e8
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
cmp eax, edi
mov dword [esi + 0x2a0], eax
je 0x204372e5
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
fldz
lea ecx, [esp + 0x14]
fstp qword [esp + 0x24]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov dword [esp + 0x78], edi
mov ecx, dword [ebp + 8]
push 0x2c
push 0
push ecx
lea edx, [esp + 0x20]
push edx
call sub.MFC80U.DLL_Ordinal_1053
test eax, eax
je 0x204371fb
lea esp, [esp]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [esp + 0x78], 1
mov eax, dword [esp + 0x14]
push 0x3d
push 0
push eax
lea ecx, [esp + 0x24]
push ecx
call sub.MFC80U.DLL_Ordinal_1053
test eax, eax
jne 0x20437135
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x14]
push 0x3d
push 1
push eax
lea ecx, [esp + 0x28]
push ecx
call sub.MFC80U.DLL_Ordinal_1053
test eax, eax
je 0x20437191
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.MSVCR80.dll__wtol]
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
mov eax, dword [esi + 0x2a0]
add esp, 4
fstp qword [eax + edi*8]
mov ecx, dword [esi + 0x2a0]
fld qword [ecx + edi*8]
fdiv qword [0x20493d18]
fadd qword [esp + 0x24]
fstp qword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x7c]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x50], 0
mov edx, dword [eax - 0xc]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x3c]
push eax
push edi
push 0x120a
push ecx
mov dword [esp + 0x5c], edx
call ebx
add edi, 1
mov byte [esp + 0x78], 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov byte [esp + 0x78], 0
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edx, dword [ebp + 8]
push 0x2c
push edi
push edx
lea eax, [esp + 0x20]
push eax
call sub.MFC80U.DLL_Ordinal_1053
test eax, eax
jne 0x20437100
mov edx, dword [esi + 0x2a0]
lea ecx, [edi*8]
push ecx
push edx
mov dword [esi + 0x29c], edi
call dword [sym.imp.MSVCR80.dll_realloc]
add esp, 8
test eax, eax
je 0x20437223
mov dword [esi + 0x2a0], eax
fld qword [esp + 0x24]
fcomp qword [0x20493d20]
fnstsw ax
test ah, 0x41
jp 0x204372a5
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_3395
test eax, 0x200000
jne 0x204372a5
lea eax, [esi + 0x5c]
test eax, eax
je 0x2043724c
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x204372a5
mov eax, dword [esi + 0x7c]
push 0
push 0
push 0x1200
push eax
mov dword [esp + 0x4c], 1
call ebx
mov edx, dword [esi + 0x7c]
mov edi, eax
lea ecx, [esp + 0x3c]
push ecx
sub edi, 1
push edi
push 0x120b
push edx
call ebx
test eax, eax
je 0x204372a5
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub dword [esp + 0x40], eax
mov ecx, dword [esi + 0x7c]
lea eax, [esp + 0x3c]
push eax
push edi
push 0x120c
push ecx
call ebx
mov eax, esi
call fcn.20437750
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x1a4]
add ecx, dword [esp + 0x30]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x3c], ecx
call fcn.204375e0
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4