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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54f5b6
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x660038]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push esi
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x33c]
mov edx, dword [eax + 0x18c]
lea ebx, [esi + 0x33c]
mov ecx, ebx
mov dword [esp + 0x1c], esi
call edx
cmp eax, 1
jl 0x437e5f
mov eax, dword [esi + 0x35c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xb
push eax
call edi
push esi
lea ecx, [esp + 0x38]
call sub.mfc90u.dll_CClientDC::CClientDC
mov dword [esp + 0x118], 0
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x31
push ecx
call edi
push eax
call sub.mfc90u.dll_CGdiObject::FromHandle
push eax
lea ecx, [esp + 0x38]
call sub.mfc90u.dll_CDC::SelectObject_2
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x31
push edx
mov dword [esp + 0x58], eax
call edi
push eax
call sub.mfc90u.dll_CGdiObject::FromHandle
mov edx, dword [eax + 4]
lea ecx, [esp + 0xa4]
push ecx
push 0x5c
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0xb8], 0x2bc
call fcn.00438f00
mov byte [esp + 0x118], 1
lea ecx, [esp + 0xa4]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CGdiObject::Attach
lea eax, [esp + 0x70]
call fcn.00438740
mov byte [esp + 0x118], 2
mov edx, dword [ebx]
mov edx, dword [edx + 0x148]
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x98]
push ecx
mov ecx, ebx
call edx
mov eax, dword [0x677d34]
add eax, 0x90c
call fcn.00403c30
test eax, eax
jne 0x437aea
mov eax, dword [esp + 0x9c]
sub eax, dword [esp + 0x94]
jmp 0x437af8
mov eax, dword [esp + 0x8c]
sub eax, dword [esp + 0x84]
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x18c]
mov ecx, ebx
xor edi, edi
call edx
test eax, eax
jle 0x437c60
jmp 0x437b24
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
call dword [0x5734e4]
mov byte [esp + 0x118], 3
mov eax, dword [ebx]
mov edx, dword [eax + 0x19c]
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x1ec]
mov ecx, ebx
call edx
cmp edi, eax
jne 0x437b5e
lea eax, [esp + 0x2c]
jmp 0x437b74
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x31
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call sub.mfc90u.dll_CGdiObject::FromHandle
push eax
lea ecx, [esp + 0x38]
call sub.mfc90u.dll_CDC::SelectObject_2
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
mov esi, dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea edx, [esp + 0x60]
push edx
push ecx
push eax
mov eax, dword [esp + 0x44]
push eax
call esi
mov edx, dword [ebx]
mov eax, dword [edx + 0x1cc]
push edi
mov ecx, ebx
call eax
sub eax, dword [esp + 0x60]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
push ecx
call fcn.00437740
push eax
call fcn.00460300
mov byte [esp + 0x118], 4
call fcn.00407eb0
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov byte [esp + 0x118], 5
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x50]
push edx
push ecx
push eax
mov eax, dword [esp + 0x44]
push eax
call esi
mov byte [esp + 0x118], 4
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x118], 3
lea ecx, [esp + 0x4c]
call fcn.00494b70
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x20]
push edx
push edi
lea esi, [esp + 0x78]
mov dword [esp + 0x28], ecx
call fcn.0048d110
mov eax, dword [esp + 0x24]
sub dword [esp + 0x18], eax
mov byte [esp + 0x118], 2
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov edx, dword [ebx]
mov eax, dword [edx + 0x18c]
mov ecx, ebx
inc edi
call eax
cmp edi, eax
jl 0x437b20
mov edx, dword [ebx]
mov eax, dword [edx + 0x268]
mov ecx, ebx
call eax
test eax, eax
je 0x437cc3
mov edx, dword [ebx]
mov eax, dword [edx + 0x18c]
mov ecx, ebx
call eax
cmp eax, 2
jl 0x437cc3
mov edx, dword [ebx]
mov edx, dword [edx + 0x198]
lea eax, [esp + 0x50]
push eax
push 0
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x198]
lea ecx, [esp + 0x60]
push ecx
push 1
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov esi, dword [esp + 0x58]
mov edx, dword [eax + 0x18c]
sub esi, dword [esp + 0x60]
mov ecx, ebx
call edx
dec eax
imul eax, esi
add dword [esp + 0x18], eax
mov eax, dword [0x677d34]
add eax, 0x8dc
call fcn.00403c30
push eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x78]
push ecx
call fcn.0043dbe0
mov edx, dword [ebx]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x18c]
add esp, 0xc
mov ecx, ebx
xor esi, esi
call eax
test eax, eax
jle 0x437dd3
nop
mov eax, dword [esp + 0x1c]
mov edi, esi
call fcn.00437740
mov edx, dword [ebx]
mov edi, eax
mov eax, dword [edx + 0x1ec]
mov ecx, ebx
call eax
cmp esi, eax
jne 0x437d24
lea ecx, [esp + 0x2c]
push ecx
jmp 0x437d3f
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x20]
push 0
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call sub.mfc90u.dll_CGdiObject::FromHandle
push eax
lea ecx, [esp + 0x38]
call sub.mfc90u.dll_CDC::SelectObject_2
lea ecx, [esp + 0x20]
push ecx
push edi
call fcn.00460300
mov byte [esp + 0x118], 6
mov edx, dword [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
push ecx
lea edi, [esp + 0x3c]
mov ecx, eax
call fcn.00437e90
mov byte [esp + 0x118], 8
lea ecx, [esp + 0x20]
call fcn.00494b70
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x50]
push edx
push ecx
push eax
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov edx, dword [ebx]
mov edx, dword [edx + 0x1a0]
lea eax, [esp + 0x14]
push eax
push esi
mov ecx, ebx
call edx
mov byte [esp + 0x118], 2
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebx]
mov edx, dword [eax + 0x18c]
mov ecx, ebx
inc esi
call edx
cmp esi, eax
jl 0x437d00
mov eax, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x38]
call sub.mfc90u.dll_CDC::SelectObject_2
mov ecx, dword [ebp + 8]
push ecx
mov esi, ebx
call fcn.00434e20
mov esi, dword [esp + 0x1c]
mov edx, dword [esi + 0x35c]
push 0
push 1
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x35c]
push 0x585
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov byte [esp + 0x118], 1
lea eax, [esp + 0x70]
call fcn.004388a0
mov byte [esp + 0x118], 0
mov dword [esp + 0x2c], vtable.CFont.0
mov byte [esp + 0x118], 0
lea ecx, [esp + 0x2c]
call fcn.00435d40
mov dword [esp + 0x118], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.00547a4e
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.0054904e
mov esp, ebp
pop ebp
ret 4