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

Disassembly:
push 0xffffffffffffffff
push 0x60e4e0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.gdi32.dll_SetMapMode]
push 1
push esi
call edi
mov ebx, dword [esp + 0x84]
push 1
push ebx
call edi
push ebx
call fcn.005775a4
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.user32.dll_WindowFromDC]
push eax
call fcn.005680c4
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.user32.dll_GetClientRect]
mov edi, dword [sym.imp.gdi32.dll_GetDeviceCaps]
push 8
push esi
call edi
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
push 0xa
push esi
fstp qword [esp + 0x24]
call edi
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
sub edx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
mov dword [esp + 0x18], ecx
fdivr qword [esp + 0x1c]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x18]
fidiv dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4314f9
mov dword [esp + 0x30], ecx
fidivr dword [esp + 0x30]
call fcn.005ab4c0
mov dword [esp + 0x34], eax
jmp 0x43150a
mov dword [esp + 0x34], edx
fimul dword [esp + 0x34]
call fcn.005ab4c0
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fld qword [0x65d4b8]
fmul st(1)
fild dword [esp + 0x34]
fld qword [0x65d4b0]
fmul st(1)
fld st(3)
fld qword [0x65d4a8]
fmul st(1), st(0)
fmul st(3)
fldz
fadd st(5), st(0)
fxch st(5)
call fcn.005ab4c0
fxch st(2)
faddp st(4)
mov dword [esp + 0x28], eax
fxch st(3)
call fcn.005ab4c0
fxch st(3)
fsubrp st(2)
mov dword [esp + 0x2c], eax
fxch st(1)
call fcn.005ab4c0
fsubrp st(1)
mov dword [esp + 0x30], eax
call fcn.005ab4c0
lea ecx, [esp + 0x48]
mov dword [esp + 0x34], eax
call fcn.0057e362
lea ecx, [esp + 0x5c]
mov dword [esp + 0x78], 0
call fcn.0057e362
mov eax, dword [esp + 0x80]
push 0
push 0
mov byte [esp + 0x80], 1
mov ecx, dword [eax + 0x20]
push 0xe
push ecx
call dword [sym.imp.user32.dll_SendMessageA]
mov edi, dword [0x6bc8b0]
cmp edi, eax
mov dword [esp + 0x18], eax
jge 0x431615
mov edx, dword [esp + 0x64]
push edi
push edx
lea ecx, [esp + 0x64]
call fcn.00593d25
push 4
call fcn.005655ab
mov ecx, dword [esp + 0x84]
add esp, 4
mov ebp, eax
lea eax, [esp + 0x1c]
push eax
push edi
push ecx
call fcn.00431720
mov ebx, dword [esp + 0x1c]
cmp ebx, edi
mov dword [ebp], eax
jle 0x4315ff
mov edx, dword [esp + 0x50]
push ebp
push edx
lea ecx, [esp + 0x50]
mov edi, ebx
call fcn.00593d25
cmp ebx, dword [esp + 0x18]
jl 0x4315ad
jmp 0x43160f
push eax
call dword [sym.imp.gdi32.dll_DeleteEnhMetaFile]
push ebp
call fcn.005655db
add esp, 4
mov edi, dword [0x6bc8b0]
mov eax, dword [esp + 0x50]
xor esi, esi
test eax, eax
jle 0x4316a8
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
jmp 0x431630
test esi, esi
jl 0x431683
cmp esi, edx
jge 0x431683
cmp edi, dword [ecx + esi*4]
je 0x431646
add esi, 1
cmp esi, eax
jl 0x431630
jmp 0x4316a8
cmp esi, eax
jge 0x431683
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + esi*4]
mov edx, dword [eax]
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
call dword [sym.imp.gdi32.dll_PlayEnhMetaFile]
add esi, 1
cmp esi, dword [esp + 0x64]
jge 0x431688
test esi, esi
jl 0x431683
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + esi*4]
mov dword [0x6bc8b0], edx
jmp 0x4316a4
call fcn.0056c8bd
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0xe
push ecx
call dword [sym.imp.user32.dll_SendMessageA]
mov dword [0x6bc8b0], eax
mov eax, dword [esp + 0x50]
xor esi, esi
test eax, eax
jle 0x4316dc
mov ebx, dword [sym.imp.gdi32.dll_DeleteEnhMetaFile]
test esi, esi
jl 0x431683
cmp esi, eax
jge 0x431683
mov edx, dword [esp + 0x4c]
mov edi, dword [edx + esi*4]
mov eax, dword [edi]
push eax
call ebx
push edi
call fcn.005655db
mov eax, dword [esp + 0x54]
add esi, 1
add esp, 4
cmp esi, eax
jl 0x4316b4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x50]
call fcn.00593c01
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 0
call fcn.0057e379
lea ecx, [esp + 0x48]
mov dword [esp + 0x78], 0xffffffff
call fcn.0057e379
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 8