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

Disassembly:
push 0xffffffffffffffff
push 0x5cbd80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov esi, dword [sym.imp.gdi32.dll_SetMapMode]
push edi
push 1
mov ebx, ecx
push ebp
call esi
mov edi, dword [esp + 0x84]
push 1
push edi
call esi
push edi
call fcn.0059b460
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.user32.dll_WindowFromDC]
push eax
call fcn.005939c0
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.user32.dll_GetClientRect]
mov esi, dword [sym.imp.gdi32.dll_GetDeviceCaps]
push 8
push ebp
call esi
mov dword [esp + 0x80], eax
push 0xa
fild dword [esp + 0x84]
push ebp
fstp qword [esp + 0x18]
call esi
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x3c]
fild dword [esp + 0x80]
sub ecx, edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x80], ecx
sub edx, eax
fdivr qword [esp + 0x10]
mov dword [esp + 0x10], edx
fild dword [esp + 0x80]
fidiv dword [esp + 0x10]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x437fac
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
fdiv st(1)
call fcn.004f6200
fstp st(0)
mov dword [esp + 0x34], eax
jmp 0x437fc1
mov dword [esp + 0x34], edx
fild dword [esp + 0x34]
fmul st(1)
call fcn.004f6200
fstp st(0)
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fld st(0)
fmul qword [0x5e12f8]
fstp qword [esp + 0x18]
fild dword [esp + 0x34]
fst qword [esp + 0x10]
fmul qword [0x5e12f0]
fstp qword [esp + 0x20]
fmul qword [0x5e12e8]
fld qword [esp + 0x10]
fmul qword [0x5e12e8]
fstp qword [esp + 0x10]
fld qword [esp + 0x18]
call fcn.004f6200
fld qword [esp + 0x20]
mov dword [esp + 0x28], eax
call fcn.004f6200
fild dword [esp + 0x30]
mov dword [esp + 0x2c], eax
fsub st(1)
call fcn.004f6200
fstp st(0)
fild dword [esp + 0x34]
mov dword [esp + 0x30], eax
fsub qword [esp + 0x10]
call fcn.004f6200
lea ecx, [esp + 0x48]
mov dword [esp + 0x34], eax
call fcn.00591e10
lea ecx, [esp + 0x5c]
mov dword [esp + 0x78], 0
call fcn.00591e10
mov eax, dword [ebx + 0x1c]
push 0
push 0
push 0xe
push eax
mov byte [esp + 0x88], 1
call dword [sym.imp.user32.dll_SendMessageA]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov esi, dword [edi]
cmp esi, eax
jge 0x4380df
mov ecx, dword [esp + 0x64]
push esi
push ecx
lea ecx, [esp + 0x64]
call fcn.00592e9c
push 4
call fcn.00596900
add esp, 4
lea edx, [esp + 0x80]
mov ecx, ebx
mov edi, eax
push edx
push esi
push ebp
call fcn.004381b0
mov dword [edi], eax
mov ecx, dword [esp + 0x80]
cmp ecx, esi
jle 0x4380c8
mov eax, dword [esp + 0x50]
mov esi, ecx
push edi
push eax
lea ecx, [esp + 0x50]
call fcn.00592e9c
cmp esi, dword [esp + 0x10]
jl 0x438076
jmp 0x4380d8
push eax
call dword [sym.imp.gdi32.dll_DeleteEnhMetaFile]
push edi
call fcn.00596929
add esp, 4
mov edi, dword [esp + 0x88]
mov ecx, dword [esp + 0x50]
xor esi, esi
test ecx, ecx
jle 0x438144
mov edx, dword [edi]
mov eax, dword [esp + 0x60]
cmp edx, dword [eax]
je 0x4380fd
inc esi
add eax, 4
cmp esi, ecx
jl 0x4380ef
jmp 0x438144
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x28]
push edx
mov eax, dword [ecx + esi*4]
mov ecx, dword [esp + 0x88]
mov eax, dword [eax]
push eax
push ecx
call dword [sym.imp.gdi32.dll_PlayEnhMetaFile]
mov eax, dword [esp + 0x64]
inc esi
cmp esi, eax
jge 0x43812e
mov edx, dword [esp + 0x60]
mov esi, dword [edx + esi*4]
mov dword [edi], esi
jmp 0x438140
mov eax, dword [ebx + 0x1c]
push 0
push 0
push 0xe
push eax
call dword [sym.imp.user32.dll_SendMessageA]
mov dword [edi], eax
mov ecx, dword [esp + 0x50]
xor esi, esi
test ecx, ecx
jle 0x43816e
mov ebx, dword [sym.imp.gdi32.dll_DeleteEnhMetaFile]
mov ecx, dword [esp + 0x4c]
mov edi, dword [ecx + esi*4]
mov edx, dword [edi]
push edx
call ebx
push edi
call fcn.00596929
mov eax, dword [esp + 0x54]
add esp, 4
inc esi
cmp esi, eax
jl 0x438150
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x50]
call fcn.005925fb
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 0
call fcn.00591e43
lea ecx, [esp + 0x48]
mov dword [esp + 0x78], 0xffffffff
call fcn.00591e43
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 0xc