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

Disassembly:
push 0xffffffffffffffff
push 0x6065c0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6963f4]
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.0056fa15
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.user32.dll_WindowFromDC]
push eax
call fcn.005606e4
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 0x430119
mov dword [esp + 0x30], ecx
fidivr dword [esp + 0x30]
call fcn.005a3c30
mov dword [esp + 0x34], eax
jmp 0x43012a
mov dword [esp + 0x34], edx
fimul dword [esp + 0x34]
call fcn.005a3c30
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fld qword [0x655a00]
fmul st(1)
fild dword [esp + 0x34]
fld qword [0x6559f8]
fmul st(1)
fld st(3)
fld qword [0x6559f0]
fmul st(1), st(0)
fmul st(3)
fldz
fadd st(5), st(0)
fxch st(5)
call fcn.005a3c30
fxch st(2)
faddp st(4)
mov dword [esp + 0x28], eax
fxch st(3)
call fcn.005a3c30
fxch st(3)
fsubrp st(2)
mov dword [esp + 0x2c], eax
fxch st(1)
call fcn.005a3c30
fsubrp st(1)
mov dword [esp + 0x30], eax
call fcn.005a3c30
lea ecx, [esp + 0x48]
mov dword [esp + 0x34], eax
call fcn.00576879
lea ecx, [esp + 0x5c]
mov dword [esp + 0x78], 0
call fcn.00576879
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 [0x6b4060]
cmp edi, eax
mov dword [esp + 0x18], eax
jge 0x430235
mov edx, dword [esp + 0x64]
push edi
push edx
lea ecx, [esp + 0x64]
call fcn.0058c4d1
push 4
call fcn.0055dbcb
mov ecx, dword [esp + 0x84]
add esp, 4
mov ebp, eax
lea eax, [esp + 0x1c]
push eax
push edi
push ecx
call fcn.00430340
mov ebx, dword [esp + 0x1c]
cmp ebx, edi
mov dword [ebp], eax
jle 0x43021f
mov edx, dword [esp + 0x50]
push ebp
push edx
lea ecx, [esp + 0x50]
mov edi, ebx
call fcn.0058c4d1
cmp ebx, dword [esp + 0x18]
jl 0x4301cd
jmp 0x43022f
push eax
call dword [sym.imp.gdi32.dll_DeleteEnhMetaFile]
push ebp
call fcn.0055dbfb
add esp, 4
mov edi, dword [0x6b4060]
mov eax, dword [esp + 0x50]
xor esi, esi
test eax, eax
jle 0x4302c8
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
jmp 0x430250
test esi, esi
jl 0x4302a3
cmp esi, edx
jge 0x4302a3
cmp edi, dword [ecx + esi*4]
je 0x430266
add esi, 1
cmp esi, eax
jl 0x430250
jmp 0x4302c8
cmp esi, eax
jge 0x4302a3
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 0x4302a8
test esi, esi
jl 0x4302a3
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx + esi*4]
mov dword [0x6b4060], edx
jmp 0x4302c4
call fcn.00564f58
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 [0x6b4060], eax
mov eax, dword [esp + 0x50]
xor esi, esi
test eax, eax
jle 0x4302fc
mov ebx, dword [sym.imp.gdi32.dll_DeleteEnhMetaFile]
test esi, esi
jl 0x4302a3
cmp esi, eax
jge 0x4302a3
mov edx, dword [esp + 0x4c]
mov edi, dword [edx + esi*4]
mov eax, dword [edi]
push eax
call ebx
push edi
call fcn.0055dbfb
mov eax, dword [esp + 0x54]
add esi, 1
add esp, 4
cmp esi, eax
jl 0x4302d4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x50]
call fcn.0058c3ad
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 0
call fcn.00576890
lea ecx, [esp + 0x48]
mov dword [esp + 0x78], 0xffffffff
call fcn.00576890
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