Function at 0x466df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c1160
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
mov eax, 4
push ebp
push esi
mov esi, dword [esp + 0x94]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov ebx, ecx
lea eax, [esp + 0x1c]
push edi
push eax
mov ecx, esi
call fcn.004b81c3
mov edi, dword [esp + 0x9c]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x20]
push ecx
push edx
push edi
mov ecx, ebx
call fcn.00466d40
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov ebp, dword [edi]
sub eax, ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x34], eax
sub ecx, ebp
lea eax, [esp + 0x30]
mov dword [esp + 0x30], ecx
push eax
mov ecx, esi
call fcn.004b815a
mov ecx, dword [esp + 0x30]
mov eax, 0x14
cmp ecx, eax
jge 0x466e81
cmp dword [esp + 0x34], eax
jge 0x466e81
xor ecx, ecx
jmp 0x466e86
mov ecx, 1
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], ecx
test al, 0x40
je 0x466f56
test eax, 0x10000000
jne 0x466f56
cmp ecx, 1
jne 0x466f56
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx]
mov edx, dword [eax + 8]
xor ecx, ecx
cmp edx, 8
sete cl
mov eax, ecx
test eax, eax
jne 0x466f56
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov ebp, dword [esp + 0x20]
lea edi, [edx + eax]
sub eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
add ebp, ecx
sub ecx, eax
mov dword [esp + 0x18], ecx
push 0xffff00
lea ecx, [esp + 0x3c]
call fcn.004b8591
lea edx, [esp + 0x38]
mov ecx, esi
push edx
mov dword [esp + 0x94], 0
call fcn.004b7ae2
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
push edi
push ebp
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_Ellipse]
mov eax, dword [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004b7ae2
mov dword [esp + 0x38], 0x4e59f4
lea ecx, [esp + 0x38]
mov dword [esp + 0x90], 1
call fcn.004b852b
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0x4e5ac0
mov eax, dword [ebx + 4]
mov dword [esp + 0x90], 2
and eax, 0x10000000
neg eax
sbb eax, eax
and eax, 0xc0c0c0
push eax
push 0
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x2c]
call fcn.004b84d4
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.004b7ae2
mov edx, dword [esi]
push 0
mov ecx, esi
mov dword [esp + 0x20], eax
call dword [edx + 0x24]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x14], eax
lea edi, [esp + 0x40]
test al, 1
je 0x466fc9
cmp dword [esp + 0x10], 1
jne 0x466ff5
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x24]
mov ecx, dword [edi]
mov ebx, dword [esp + 0x20]
lea ebp, [eax + edx]
add ebx, ecx
sub eax, edx
mov edx, dword [esp + 0x20]
push ebp
push ebx
sub ecx, edx
push eax
mov eax, dword [esi + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [esp + 0x14]
inc eax
add edi, 8
cmp eax, 8
mov dword [esp + 0x14], eax
jl 0x466fbe
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004b7ae2
mov edx, dword [esp + 0x18]
mov ecx, esi
push edx
call fcn.004b7ae2
mov dword [esp + 0x28], 0x4e59f4
lea ecx, [esp + 0x28]
mov dword [esp + 0x90], 3
call fcn.004b852b
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret 8