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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49cae0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x5564a4]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
fldz
xor edi, edi
fstp qword [esp + 0x34]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], vtable.CPen.0
mov dword [esp + 0x58], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], vtable.CBrush.0
mov eax, dword [esi + 0xa8]
push eax
push edi
push edi
mov byte [esp + 0x64], 1
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x30]
call fcn.004601c0
mov eax, dword [esi + 0xa4]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x28]
call fcn.004601c0
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call fcn.00460298
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
mov dword [esp + 0x20], eax
call fcn.00460298
fld qword [esi + 0x78]
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], edi
call fcn.00477710
fld qword [esi + 0x80]
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], edi
call fcn.00477710
xor ecx, ecx
cmp dword [esi + 0x54], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], ecx
jle 0x41bc75
lea esp, [esp]
mov eax, dword [esi + 0x94]
test al, 1
je 0x41bbad
cmp ecx, dword [esi + 0x5c]
jne 0x41bb96
mov edx, dword [esi]
mov edx, dword [edx + 0x148]
lea eax, [esp + 0x3c]
push eax
push ebx
mov ecx, esi
call edx
jmp 0x41bc36
mov eax, dword [esi]
mov edx, dword [eax + 0x144]
lea ecx, [esp + 0x3c]
push ecx
push ebx
mov ecx, esi
call edx
jmp 0x41bc36
test al, 2
je 0x41bc36
fild dword [esi + 0x98]
fiadd dword [esi + 0x5c]
fidiv dword [esi + 0x9c]
fimul dword [esi + 0x54]
fld st(0)
call fcn.00477710
fsub qword [0x4fda50]
mov edi, eax
sub edi, 1
mov dword [esp + 0x18], edi
fisub dword [esp + 0x18]
fmul qword [esi + 0x80]
call fcn.00477710
cmp dword [esp + 0x14], edi
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
push ebx
mov ecx, esi
jg 0x41bc0a
mov edx, dword [eax + 0x148]
call edx
jmp 0x41bc36
mov edx, dword [eax + 0x144]
call edx
add edi, 1
cmp dword [esp + 0x14], edi
jne 0x41bc36
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41bc36
mov edx, dword [esi]
mov edx, dword [edx + 0x14c]
push eax
lea eax, [esp + 0x40]
push eax
push ebx
mov ecx, esi
call edx
fild dword [esi + 0x70]
fadd qword [esi + 0x80]
fadd qword [esp + 0x34]
fst qword [esp + 0x34]
fld st(0)
call fcn.00477710
fadd qword [esi + 0x80]
mov dword [esp + 0x3c], eax
call fcn.00477710
mov ecx, dword [esp + 0x14]
add ecx, 1
cmp ecx, dword [esi + 0x54]
mov dword [esp + 0x44], eax
mov dword [esp + 0x14], ecx
jl 0x41bb70
mov eax, dword [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.00460298
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.00460298
lea ecx, [esp + 0x2c]
call fcn.00460213
lea ecx, [esp + 0x24]
call fcn.00460213
lea ecx, [esp + 0x24]
mov byte [esp + 0x58], 0
mov dword [esp + 0x24], vtable.CBrush.0
call fcn.004019b0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x2c], vtable.CPen.0
call fcn.004019b0
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8