Function at 0x5d5700
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x666c50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x6c], eax
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0061fee0
mov edi, eax
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x20]
mov dword [esp + 0x14], edi
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.006285d4
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
lea edi, [esi + 0x48]
mov dword [esi + 0x4c], eax
lea eax, [esp + 0xc]
mov dword [edi], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x50], ecx
push eax
mov ecx, esi
mov dword [esi + 0x54], edx
call fcn.005d53e0
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
push edi
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x5d58eb
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x40]
lea ecx, [esp + 0x38]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
lea ecx, [esi + 0x44]
call fcn.005d97e0
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 4]
add eax, edx
mov ebx, dword [edi]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [edi + 8]
mov edi, dword [esp + 0x34]
add eax, ebx
mov ebx, dword [esp + 0x30]
cdq
sub eax, edx
mov edx, edi
sar ecx, 1
sub edx, ecx
mov ecx, ebx
sar eax, 1
mov dword [esp + 0xc], edx
sub ecx, eax
fild dword [esp + 0xc]
mov dword [esp + 0xc], ecx
fild dword [esp + 0xc]
fpatan
fld st(0)
fcos
fmul qword [0x6aa5a0]
call fcn.0046664c
fsin
add ebx, eax
mov dword [esp + 0x30], ebx
fmul qword [0x6aa5a0]
call fcn.0046664c
mov ecx, dword [esp + 0x40]
add edi, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], edi
cmp eax, ecx
jne 0x5d5866
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
cmp edx, eax
mov ecx, edx
jle 0x5d5852
add ecx, 2
sub eax, 2
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], eax
jmp 0x5d5882
mov eax, dword [esp + 0x44]
sub ecx, 2
add eax, 2
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], eax
jmp 0x5d5882
jle 0x5d5874
add eax, 2
sub ecx, 2
mov dword [esp + 0x38], eax
jmp 0x5d587e
sub eax, 2
add ecx, 2
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ecx
xor eax, eax
mov dword [esp + 0x18], vtable.CRgn.0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], eax
push 2
lea eax, [esp + 0x34]
push 3
push eax
call dword [sym.imp.GDI32.dll_CreatePolygonRgn]
push eax
lea ecx, [esp + 0x1c]
call fcn.006289c6
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push 1
mov edx, dword [ecx + 0x1c]
neg eax
sbb eax, eax
and eax, edi
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRgn]
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], vtable.CGdiObject.0
mov dword [esi + 0x6c], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], 1
call fcn.00628a1d
mov ecx, dword [esp + 0x48]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4