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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a1a02
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push edi
mov eax, dword [0x4d0620]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
fldz
xor ebx, ebx
fstp qword [esp + 0x2c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], vtable.CPen.0
mov dword [esp + 0x50], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], vtable.CBrush.0
mov byte [esp + 0x50], 1
push dword [esi + 0xbc]
push ebx
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x28]
call fcn.00461be0
push dword [esi + 0xb8]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x20]
call fcn.00461be0
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x24]
push eax
call fcn.00461cb8
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
push eax
call fcn.00461cb8
fld qword [esi + 0x78]
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], ebx
call fcn.00483900
fld qword [esi + 0x80]
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ebx
call fcn.00483900
cmp dword [esi + 0x54], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0xc], ebx
jle 0x417eda
mov eax, dword [esi + 0x94]
test al, 1
je 0x417e0c
mov eax, dword [esi + 0xa8]
dec eax
je 0x417dec
dec eax
jne 0x417e98
fild dword [esi + 0xb0]
jmp 0x417e28
mov eax, dword [esp + 0xc]
cmp eax, dword [esi + 0x5c]
mov eax, dword [esi]
lea ecx, [esp + 0x34]
push ecx
push dword [ebp + 8]
mov ecx, esi
je 0x417e67
call dword [eax + 0x144]
jmp 0x417e98
test al, 2
je 0x417e98
mov eax, dword [esi + 0x9c]
sub eax, dword [esi + 0x98]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fidivr dword [esi + 0x5c]
fimul dword [esi + 0x54]
fld st(0)
call fcn.00483900
fsub qword [0x4bf0c8]
mov edi, eax
dec edi
mov dword [esp + 0x10], edi
fisub dword [esp + 0x10]
fmul qword [esi + 0x80]
call fcn.00483900
cmp dword [esp + 0xc], edi
lea ecx, [esp + 0x34]
push ecx
push dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov ecx, esi
jg 0x417e6f
call dword [eax + 0x148]
jmp 0x417e98
call dword [eax + 0x144]
inc edi
cmp dword [esp + 0xc], edi
jne 0x417e98
cmp dword [esp + 0x10], ebx
je 0x417e98
push dword [esp + 0x10]
mov eax, dword [esi]
lea ecx, [esp + 0x38]
push ecx
push dword [ebp + 8]
mov ecx, esi
call dword [eax + 0x14c]
fild dword [esi + 0x70]
fadd qword [esi + 0x80]
fadd qword [esp + 0x2c]
fstp qword [esp + 0x2c]
fld qword [esp + 0x2c]
call fcn.00483900
fld qword [esi + 0x80]
fadd qword [esp + 0x2c]
mov dword [esp + 0x34], eax
call fcn.00483900
inc dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc]
cmp eax, dword [esi + 0x54]
jl 0x417dca
push dword [esp + 0x14]
mov ecx, dword [ebp + 8]
call fcn.00461cb8
push dword [esp + 0x18]
mov ecx, dword [ebp + 8]
call fcn.00461cb8
lea ecx, [esp + 0x24]
call fcn.00461c33
lea ecx, [esp + 0x1c]
call fcn.00461c33
mov byte [esp + 0x50], bl
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBrush.0
call fcn.0040bb5e
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CPen.0
call fcn.0040bb5e
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4