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

Disassembly:
push 0xffffffffffffffff
push 0x482040
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x70]
push ebx
mov ebx, dword [esp + 0x78]
push ebp
push esi
mov esi, dword [esp + 0x78]
push edi
mov edi, dword [esp + 0x78]
sub eax, edi
sub ebx, esi
mov dword [esp + 0x10], eax
xor esi, esi
lea edi, [ebx + eax]
mov eax, dword [esp + 0x88]
mov ecx, eax
mov dword [esp + 0x40], esi
and ecx, 0xff
mov edx, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], ebx
fild qword [esp + 0x3c]
shr edx, 8
and edx, 0xff
mov dword [esp + 0x40], esi
fstp dword [esp + 0x1c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], edi
fild qword [esp + 0x3c]
shr eax, 0x10
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x8c]
fstp dword [esp + 0x18]
mov dword [esp + 0x40], esi
mov ecx, eax
fild qword [esp + 0x3c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], esi
and ecx, 0xff
mov edx, eax
fstp dword [esp + 0x14]
fild qword [esp + 0x3c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], esi
fild qword [esp + 0x3c]
shr edx, 8
and edx, 0xff
mov dword [esp + 0x40], esi
fsubr dword [esp + 0x1c]
mov dword [esp + 0x3c], edx
shr eax, 0x10
fdiv st(1)
fchs
fstp dword [esp + 0x30]
fild qword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], esi
fsubr dword [esp + 0x18]
fdiv st(1)
fchs
fstp dword [esp + 0x2c]
fild qword [esp + 0x3c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], vtable.CPen.0
fsubr dword [esp + 0x14]
fdiv st(1)
fchs
fstp dword [esp + 0x28]
fstp st(0)
mov ebp, dword [esp + 0x74]
push 8
mov ecx, ebp
mov dword [esp + 0x70], esi
mov eax, dword [ebp]
call dword [eax + 0x24]
cmp edi, esi
mov dword [esp + 0x38], eax
jbe 0x46a18a
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x84]
mov ebp, dword [esp + 0x60]
and eax, 0x20
sub edx, edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
jmp 0x46a028
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test eax, eax
je 0x46a080
mov ecx, dword [esp + 0x10]
cmp esi, ecx
jae 0x46a049
mov eax, dword [esp + 0x78]
lea ecx, [esi + eax]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x58], ecx
jmp 0x46a064
mov eax, dword [esp + 0x80]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x7c]
sub eax, ecx
add eax, esi
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x78]
cmp esi, ebx
jae 0x46a071
lea ebp, [edx + esi]
mov edi, eax
add ebp, eax
jmp 0x46a0d4
mov ebp, dword [esp + 0x84]
mov edi, esi
sub edi, ebx
add edi, eax
jmp 0x46a0d4
test byte [esp + 0x90], 0x40
je 0x46a0d4
cmp esi, ebx
jae 0x46a09c
mov edx, dword [esp + 0x78]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], edx
jmp 0x46a0b2
mov edx, dword [esp + 0x78]
mov eax, esi
sub eax, ebx
add eax, edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x10]
cmp esi, eax
jae 0x46a0ca
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x84]
lea edi, [esi + ecx]
jmp 0x46a0d4
mov edi, dword [esp + 0x80]
lea ebp, [ecx + eax]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 0
fild qword [esp + 0x44]
fld st(0)
fmul dword [esp + 0x28]
fadd dword [esp + 0x14]
call fcn.00426264
fld st(0)
fmul dword [esp + 0x2c]
xor ebx, ebx
mov bh, al
fadd dword [esp + 0x18]
call fcn.00426264
fmul dword [esp + 0x30]
mov bl, al
shl ebx, 8
fadd dword [esp + 0x1c]
call fcn.00426264
and eax, 0xff
or eax, ebx
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x40]
call fcn.00478902
mov ebx, dword [esp + 0x74]
lea edx, [esp + 0x3c]
push edx
mov ecx, ebx
call fcn.00478153
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
push eax
lea edx, [esp + 0x50]
push ecx
push edx
mov ecx, ebx
call fcn.00478483
push ebp
push edi
mov ecx, ebx
call fcn.004784cf
lea ecx, [esp + 0x3c]
call fcn.00478959
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x34]
inc esi
dec ecx
cmp esi, eax
mov dword [esp + 0x88], ecx
jb 0x46a012
mov ebp, ebx
mov eax, dword [esp + 0x38]
mov ecx, ebp
push eax
call fcn.00478153
mov dword [esp + 0x3c], vtable.CGdiObject.0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], 1
call fcn.00478959
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret