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

Disassembly:
sub esp, 0x5b8
mov ecx, dword [esp + 0x5c0]
push ebx
push ebp
push esi
lea eax, [esp + 0x24]
push edi
xor edi, edi
mov esi, 1
push eax
push ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], esi
call fcn.00432ed0
push eax
call fcn.004353b0
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x34], ebx
jne 0x43ea6a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x5b8
ret 8
push edi
push 0x45a5c4
push 0x106a
call fcn.00440930
test eax, eax
jne 0x43ea82
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], edi
cmp eax, edi
jle 0x43f146
mov esi, dword [esp + 0x5cc]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x38], ebx
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push 0
push 0
lea edx, [esp + 0xbc]
push 0
push edx
call edi
test eax, eax
je 0x43eaf1
lea eax, [esp + 0xb0]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
lea edx, [esp + 0xbc]
push 0
push edx
call edi
test eax, eax
jne 0x43eabf
call fcn.0041cf10
test eax, eax
je 0x43eb15
push 0x24
push 0x53
push 0
call fcn.00448b60
cmp eax, 6
je 0x43f07e
push 0
call fcn.0041cf40
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x1f8]
push eax
push 0
mov edx, dword [ecx]
push 0
push edx
call fcn.00432ab0
test eax, eax
je 0x43f0cc
mov eax, dword [esi]
push eax
call dword [sym.imp.GDI32.dll_StartPage]
test eax, eax
jle 0x43f08b
mov eax, dword [esi + 4]
mov ebx, dword [esi + 0xc]
lea eax, [eax + eax*2]
lea ecx, [eax + eax*4]
mov eax, 0x51eb851f
shl ecx, 2
mul ecx
mov ecx, dword [esi + 8]
mov edi, edx
shr edi, 5
lea eax, [ecx + ecx*4]
mov dword [esp + 0x24], edi
lea edx, [eax + eax*8]
mov eax, 0x51eb851f
shl edx, 1
mul edx
shr edx, 5
mov dword [esp + 0x14], edx
mov edx, ecx
lea eax, [edi + edi]
shl edx, 5
sub ebx, eax
add edx, ecx
mov eax, 0x51eb851f
mov ecx, 7
mul edx
shr ebx, 4
shr edx, 5
mov eax, ebx
mov dword [esp + 0x2c], edx
cdq
and edx, 3
add eax, edx
lea edx, [ebx + ebx]
sar eax, 2
mov dword [esp + 0x58], eax
add eax, edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], edx
lea eax, [esp + 0x78]
mov edi, dword [eax - 4]
add eax, 4
add edi, edx
dec ecx
mov dword [eax - 4], edi
jne 0x43ebc0
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov ecx, dword [esi]
push 1
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xcc]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x10]
mov edx, eax
mov byte [esp + 0xe3], 1
shr edx, 1
sub ecx, edx
sub ecx, eax
mov eax, 0x24924925
mul ecx
sub ecx, edx
mov eax, 0x51eb851f
shr ecx, 1
add ecx, edx
shr ecx, 4
lea ecx, [ecx + ecx*4]
shl ecx, 4
mul ecx
shr edx, 5
mov al, byte [esp + 0x21b]
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0x21c]
lea ecx, [esp + 0x1fa]
and edx, 0xffff
push ecx
mov dword [esp + 0xe0], edx
lea edx, [esp + 0xec]
push edx
mov byte [esp + 0xe8], al
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0xcc]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, dword [esi]
push eax
push ecx
mov dword [esp + 0x48], eax
call ebp
mov edi, eax
mov eax, dword [esi]
lea edx, [esp + 0x140]
mov dword [esp + 0x30], edi
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ecx, dword [esi]
push edi
push ecx
call ebp
push 0
push 0
push 1
push 0x12
push 0
push esi
call fcn.0043f710
mov edx, dword [esi]
push eax
push edx
mov dword [esp + 0x28], eax
call ebp
mov edx, dword [esi + 0xc]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
sub edi, ecx
sub edx, eax
push edi
push edx
push ecx
push eax
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi]
lea ecx, [esp + 0x60]
push 0x828
push ecx
lea edx, [esp + 0x262]
push 0xffffffffffffffff
push edx
push eax
call dword [sym.imp.USER32.dll_DrawTextA]
mov edx, dword [esi]
mov ecx, dword [esp + 0x30]
push ecx
push edx
call ebp
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0
push 0
push 0
push 7
push 0
push esi
call fcn.0043f710
mov ecx, dword [esi]
push eax
push ecx
mov dword [esp + 0x28], eax
call ebp
mov eax, dword [esi]
lea edx, [esp + 0x108]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ecx, dword [esi + 8]
push 0x48
push ecx
push 1
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esi]
push edx
push eax
mov dword [esp + 0x110], ecx
call ebp
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [esi]
push eax
push ecx
call ebp
mov ecx, dword [esi + 0x10]
mov eax, dword [esp + 0x140]
mov dword [esp + 0x14], edi
cdq
and edx, 3
add eax, edx
mov edx, dword [esi + 8]
shr edx, 1
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, eax
sub ecx, edx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x14]
mov ecx, edx
sar edi, 2
mov dword [esp + 0x2c], ecx
add eax, ecx
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x14], eax
mov eax, ecx
mov byte [esp + 0x1f], 0
sub eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x50], eax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
add eax, ebx
sub edi, ecx
mov ebx, 0x80
mov dword [esp + 0x5c], eax
mov eax, 0x20
mov dword [esp + 0x54], edi
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
add edx, edi
add ecx, edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x6c], ecx
lea ecx, [eax + 8]
cmp eax, ecx
mov dword [esp + 0x24], ecx
jge 0x43ef72
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
sub eax, ecx
mov edi, ebx
mov dword [esp + 0x3c], eax
jmp 0x43ee31
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
mov eax, edi
sub eax, ebx
mov ebx, dword [esp + 0x6c]
push ebx
mov eax, dword [esp + eax + 0x78]
sub eax, ecx
mov ecx, dword [esp + 0x74]
add ecx, eax
mov dword [esp + 0x64], eax
push ecx
push edx
mov edx, dword [esi]
push eax
push edx
mov dword [esp + 0x7c], ecx
call dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [esi]
mov eax, dword [esp + 0x20]
push eax
push ecx
call ebp
mov edx, dword [esi]
push 0x18
push edx
call dword [sym.imp.GDI32.dll_SetTextAlign]
lea ecx, [esp + 0x48]
mov eax, dword [esp + 0x10]
push eax
push 0x461078
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea edx, [esp + 0x48]
mov ebx, edi
push edx
sub ebx, ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + ebx + 0x74]
push eax
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
cmp edi, 0x1fc
jge 0x43ef0e
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
cmp ecx, eax
jbe 0x43ef0e
mov ebx, dword [esp + 0x10]
lea edx, [esp + 0x48]
push ebx
push 0x45a070
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esp + 0x24]
add esp, 0xc
mov eax, edi
lea ecx, [esp + 0x48]
push 1
sub eax, edx
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x110]
mov eax, dword [esp + eax + 0x7c]
sub edx, ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_TextOutA]
jmp 0x43ef12
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
mov eax, dword [esi]
push edx
push eax
mov byte [esp + 0x26], bl
call ebp
mov ecx, dword [esi]
push 0x1a
push ecx
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov eax, edi
lea edx, [esp + 0x1e]
mov ecx, dword [esp + 0x18]
push 1
sub eax, ecx
mov ecx, dword [esp + 0x40]
push edx
push ecx
mov edx, dword [esp + eax + 0x80]
mov ecx, dword [esp + 0x68]
mov eax, dword [esi]
add edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
inc ebx
add edi, 4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], ebx
cmp ebx, eax
jl 0x43ee29
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x18]
push 1
push 0
push 0
lea ecx, [esp + 0xa0]
push 0
push ecx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x43efc2
lea edx, [esp + 0x94]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
lea ecx, [esp + 0xa0]
push 0
push ecx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x43ef8c
call fcn.0041cf10
test eax, eax
je 0x43efe2
push 0x24
push 0x53
push 0
call fcn.00448b60
cmp eax, 6
je 0x43f012
push 0
call fcn.0041cf40
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
add eax, edx
add ebx, 0x20
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
cmp ebx, 0x400
mov dword [esp + 0x10], 1
mov dword [esp + 0x18], ebx
jge 0x43f01a
mov ecx, edx
jmp 0x43edf4
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [esi]
push eax
push ecx
call ebp
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x40]
push edx
call edi
mov eax, dword [esp + 0x20]
push eax
call edi
mov ecx, dword [esi]
push ecx
call dword [sym.imp.GDI32.dll_EndPage]
test eax, eax
jl 0x43f0e4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43f142
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], edx
jge 0x43f142
mov ebx, dword [esp + 0x34]
jmp 0x43eaa3
mov dword [esp + 0x10], 0
jmp 0x43f146
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
mov eax, dword [0x4773fc]
lea edx, [esp + 0x178]
push 0x80
push edx
push 0x54
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, dword [0x477404]
push 0x30
lea edx, [esp + 0x17c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call fcn.0044c186
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5b8
ret 8
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
mov ecx, dword [0x4773fc]
lea eax, [esp + 0x178]
push 0x80
push eax
push 0x54
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
mov edx, dword [0x477404]
push 0x30
lea eax, [esp + 0x17c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0044c186
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5b8
ret 8
mov ebx, dword [esp + 0x34]
push ebx
call fcn.0044c186
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5b8
ret 8