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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c67ab
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push edi
mov eax, dword [0x509590]
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]
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.004041d3
push dword [esi + 0xb8]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x20]
call fcn.00469528
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x24]
push eax
call fcn.0046967b
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
push eax
call fcn.004696c1
fld qword [esi + 0x78]
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], ebx
call fcn.00499090
fld qword [esi + 0x80]
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ebx
call fcn.00499090
cmp dword [esi + 0x54], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0xc], ebx
jle 0x414a76
mov eax, dword [esi + 0x94]
test al, 1
je 0x4149a8
mov eax, dword [esi + 0xa8]
dec eax
je 0x414988
dec eax
jne 0x414a34
fild dword [esi + 0xb0]
jmp 0x4149c4
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 0x414a03
call dword [eax + 0x144]
jmp 0x414a34
test al, 2
je 0x414a34
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.00499090
fsub qword [0x4ebac0]
mov edi, eax
dec edi
mov dword [esp + 0x10], edi
fisub dword [esp + 0x10]
fmul qword [esi + 0x80]
call fcn.00499090
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 0x414a0b
call dword [eax + 0x148]
jmp 0x414a34
call dword [eax + 0x144]
inc edi
cmp dword [esp + 0xc], edi
jne 0x414a34
cmp dword [esp + 0x10], ebx
je 0x414a34
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.00499090
fld qword [esi + 0x80]
fadd qword [esp + 0x2c]
mov dword [esp + 0x34], eax
call fcn.00499090
inc dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc]
cmp eax, dword [esi + 0x54]
jl 0x414966
push dword [esp + 0x14]
mov ecx, dword [ebp + 8]
call fcn.0046967b
push dword [esp + 0x18]
mov ecx, dword [ebp + 8]
call fcn.004696c1
lea ecx, [esp + 0x24]
call fcn.0046957b
lea ecx, [esp + 0x1c]
call fcn.0046957b
mov byte [esp + 0x50], bl
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBrush.0
call fcn.0040421d
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CPen.0
call fcn.0040421d
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4