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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e5e65
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x64]
mov dword [esp + 0x3c], esi
mov dword [esi + 4], eax
call fcn.004e1f14
lea ecx, [esp + 0x64]
xor edi, edi
push ecx
mov ecx, esi
mov dword [esp + 0x2a4], edi
call fcn.00431bb0
test eax, eax
je 0x431b78
mov edx, dword [0x52a0ac]
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x64]
mov byte [esp + 0x2a0], 1
mov ecx, dword [eax + 0x5c]
test byte [ecx + 0x14], 0x20
je 0x4317af
push 0xf045
lea ecx, [esp + 0x18]
call fcn.004d858e
push 0xf046
lea ecx, [esp + 0x34]
mov byte [esp + 0x2a4], 2
call fcn.004d858e
push 0xf047
lea ecx, [esp + 0x48]
mov byte [esp + 0x2a4], 3
call fcn.004d858e
push 0xf048
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a4], 4
call fcn.004d858e
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
push edi
push edx
push 6
push eax
mov bl, 5
push ecx
push edi
lea ecx, [esp + 0xb8]
mov byte [esp + 0x2b8], bl
call fcn.004d30ce
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2a0], 6
mov dword [esp + 0x12c], edx
call fcn.004d3230
cmp eax, 1
je 0x431710
lea ecx, [esp + 0x14c]
mov byte [esp + 0x2a0], 7
call fcn.004d8520
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2a0], bl
call fcn.004d8c9d
lea ecx, [esp + 0x10]
mov byte [esp + 0x2a0], 4
call fcn.004d8520
lea ecx, [esp + 0x44]
mov byte [esp + 0x2a0], 3
call fcn.004d8520
lea ecx, [esp + 0x30]
mov byte [esp + 0x2a0], 2
call fcn.004d8520
mov byte [esp + 0x2a0], 1
lea ecx, [esp + 0x14]
jmp 0x431b62
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xa0]
push eax
call fcn.004d330b
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2a4], 8
call fcn.004d8659
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 6
call fcn.004d8520
lea ecx, [esp + 0x14c]
mov byte [esp + 0x2a0], 9
call fcn.004d8520
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2a0], bl
call fcn.004d8c9d
lea ecx, [esp + 0x10]
mov byte [esp + 0x2a0], 4
call fcn.004d8520
lea ecx, [esp + 0x44]
mov byte [esp + 0x2a0], 3
call fcn.004d8520
lea ecx, [esp + 0x30]
mov byte [esp + 0x2a0], 2
call fcn.004d8520
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 1
call fcn.004d8520
mov ecx, dword [0x52a0ac]
mov dword [esp + 0x38], ecx
push 0xe000
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2a4], 0xa
call fcn.004d95f9
xor edx, edx
mov eax, dword [esp + 0x38]
mov ecx, dword [0x52a0ac]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], 0x14
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x60], edx
mov eax, dword [esp + 0x34]
mov byte [esp + 0x2a0], 0xb
cmp dword [eax - 8], edi
jne 0x431847
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x5c], edi
call fcn.004d3951
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x2a4], 0xc
call fcn.004d8659
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a0], 0xb
call fcn.004d8520
jmp 0x43184b
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x20]
call fcn.004db661
mov eax, dword [esp + 0x64]
mov byte [esp + 0x2a0], 0xd
mov ecx, dword [eax + 0x5c]
mov edx, dword [ecx + 0x10]
lea ecx, [esp + 0x20]
push edx
call fcn.004db718
lea eax, [esp + 0x64]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x34], 1
call fcn.00431cc0
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x50]
push edx
push eax
call dword [sym.imp.GDI32.dll_StartDocA]
cmp eax, 0xffffffff
jne 0x4318ca
lea ecx, [esp + 0x64]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00432250
lea ecx, [esp + 0x20]
call fcn.004db74f
push 0xffffffffffffffff
push edi
push 0xf106
call fcn.004dd1a0
jmp 0x431b34
mov eax, dword [esp + 0x64]
xor edx, edx
xor ecx, ecx
mov esi, dword [eax + 0x5c]
xor eax, eax
mov ax, word [esi + 0x1a]
mov dx, word [esi + 0x1c]
mov cx, word [esi + 0x18]
cmp eax, edx
jae 0x4318ed
mov dword [esp + 0x10], edx
mov eax, edx
xor edi, edi
mov di, word [esi + 0x1e]
cmp eax, edi
jbe 0x4318fd
mov dword [esp + 0x10], edi
mov eax, edi
cmp ecx, edx
jae 0x431903
mov ecx, edx
cmp ecx, edi
jbe 0x431909
mov ecx, edi
cmp eax, ecx
sbb edx, edx
and edx, 0xfffffffe
inc edx
cmp eax, 0xffff
mov dword [esp + 0x30], edx
jne 0x431922
mov dword [esp + 0x10], eax
jmp 0x431928
add eax, edx
mov dword [esp + 0x10], eax
cmp ecx, eax
mov dword [esp + 0x78], ecx
je 0x431afb
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
lea ecx, [esp + 0x64]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x40]
push edx
call fcn.00431ec0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x431afb
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x78]
push 0xa
push eax
call esi
mov ecx, dword [esp + 0x28]
push 8
push ecx
mov edi, eax
call esi
push edi
push eax
push 0
lea edx, [esp + 0x94]
push 0
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x28]
push 8
push eax
call esi
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
push 0xa
push ecx
fmul qword [0x4ebef0]
fstp qword [esp + 0x4c]
call esi
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x4ebef0]
fstp qword [esp + 0x14]
fld qword [esp + 0x44]
fmul qword [0x4ebee8]
call fcn.004bfae0
fld qword [esp + 0x14]
mov dword [esp + 0x88], eax
call fcn.004bfae0
mov edx, dword [esp + 0x94]
mov dword [esp + 0x8c], eax
fld qword [esp + 0x44]
sub edx, eax
mov dword [esp + 0x94], edx
call fcn.004bfae0
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x88]
sub ecx, eax
mov eax, dword [esp + 0x28]
push 2
push edx
push eax
mov dword [esp + 0x9c], ecx
call dword [sym.imp.GDI32.dll_DPtoLP]
fld qword [esp + 0x14]
fmul qword [0x4ebee0]
fiadd dword [esp + 0x94]
call fcn.004bfae0
mov ecx, dword [esp + 0x28]
push 8
push ecx
mov dword [esp + 0x1c], eax
call esi
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
mov edi, eax
push edx
sar edi, 1
call dword [sym.imp.GDI32.dll_StartPage]
test eax, eax
jl 0x431b0d
lea eax, [esp + 0x64]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x44]
call fcn.00431ec0
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x64]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004321b0
mov ecx, dword [0x52a0ac]
mov dword [esp + 0x1c], ecx
push ebx
lea edx, [esp + 0x20]
push 0x50f6a4
push edx
mov byte [esp + 0x2ac], 0xe
call fcn.004d2ea8
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
push edi
call dword [edx + 0x5c]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.GDI32.dll_EndPage]
test eax, eax
mov byte [esp + 0x2a0], 0xd
lea ecx, [esp + 0x1c]
jl 0x431b08
call fcn.004d8520
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
add eax, edx
cmp eax, ecx
mov dword [esp + 0x78], eax
jne 0x43193a
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.GDI32.dll_EndDoc]
jmp 0x431b18
call fcn.004d8520
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.GDI32.dll_AbortDoc]
lea eax, [esp + 0x64]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x44]
call fcn.00432250
lea ecx, [esp + 0x20]
call fcn.004db74f
lea ecx, [esp + 0x20]
mov byte [esp + 0x2a0], 0xb
call fcn.004db796
lea ecx, [esp + 0x40]
mov byte [esp + 0x2a0], 0xa
call fcn.004d8520
mov byte [esp + 0x2a0], 1
lea ecx, [esp + 0x38]
call fcn.004d8520
lea ecx, [esp + 0x34]
mov byte [esp + 0x2a0], 0
call fcn.004d8520
lea ecx, [esp + 0x64]
mov dword [esp + 0x2a0], 0xffffffff
call fcn.004e1f9c
mov ecx, dword [esp + 0x298]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4