Function at 0x464ac0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d0638
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x50d4cc]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x50d4cc]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x28], esi
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
push 0x519b84
mov dword [esp + 0x30], eax
call edi
mov eax, dword [esi + 0x6c]
mov ebx, dword [esi + 0x70]
push 0x519b84
mov dword [esp + 0x24], eax
mov dword [esp + 0x58], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x519b84
call edi
mov eax, dword [esi + 0x70]
mov edi, dword [esi + 0x6c]
push 0x519b84
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movd xmm0, dword [esi + 0x60]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x50], 0
movss dword [esp + 0x18], xmm0
movd xmm0, dword [esi + 0x64]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
lea eax, [esp + 0x20]
mov dword [esp + 0x68], 0
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], 0xffffffff
call fcn.0040f7f0
mov eax, dword [esp + 0x14]
sub esp, 0x10
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x78], 0xffffffff
mov esi, dword [esp + 0x60]
movss dword [esp + 0xc], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp], xmm0
push dword [esi + 4]
push dword [eax]
call dword [sym.imp.gdiplus.dll_GdipFillRectangle]
mov ecx, eax
test ecx, ecx
je 0x464beb
mov eax, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x15c], 0
je 0x464c98
lea esi, [eax + 0x158]
mov dword [esp + 0x20], 0
lea eax, [esp + 0x20]
mov dword [esp + 0x24], 0
push eax
mov ecx, esi
call fcn.00410d10
movd xmm4, dword [esp + 0x20]
movd xmm3, dword [esp + 0x24]
mov eax, dword [esi + 4]
movd xmm0, edi
movd xmm1, ebx
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm3, xmm3
movss dword [esp + 0x38], xmm4
movss dword [esp + 0x3c], xmm3
subss xmm1, xmm3
cvtdq2ps xmm2, xmm0
mulss xmm1, dword [0x4e89d0]
subss xmm2, xmm4
addss xmm1, dword [esp + 0x1c]
mulss xmm2, dword [0x4e89d0]
movss dword [esp + 0x34], xmm1
addss xmm2, dword [esp + 0x18]
movss dword [esp + 0x30], xmm2
test eax, eax
je 0x464c98
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.00410a80
mov ebx, dword [esp + 0x28]
lea ecx, [ebx + 0xa8]
call fcn.00411960
mov esi, eax
add ebx, 0xb0
je 0x464cb6
add ebx, 0xfffffff8
jmp 0x464cb8
xor ebx, ebx
push 0x519b84
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebx]
push 0x519b84
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
shr ebx, 0x1a
mov eax, 1
test bl, 1
cmovne esi, eax
mov eax, dword [0x519c4c]
mov dword [esp + 0x20], esi
test al, 1
jne 0x464d07
or eax, 1
mov dword [0x519c50], 0xa000000
mov dword [0x519c4c], eax
mov dword [0x519c54], 0x14000000
test esi, esi
je 0x464da3
mov dword [esp + 0x50], 0
lea eax, [esi*4 + 0x519c4c]
mov dword [esp + 0x68], 1
push eax
lea ecx, [esp + 0x54]
call fcn.0040f7f0
mov dword [esp + 0x68], 0xffffffff
sub esp, 0x10
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x24]
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp], xmm0
push dword [esi + 4]
push dword [eax]
call dword [sym.imp.gdiplus.dll_GdipFillRectangle]
mov ecx, eax
test ecx, ecx
je 0x464d90
mov eax, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov eax, dword [0x519c4c]
mov esi, dword [esp + 0x20]
jmp 0x464da7
mov ebx, dword [esp + 0x54]
test al, 2
jne 0x464dd1
or eax, 2
mov dword [0x519c58], 0xffdcdcdd
mov dword [0x519c4c], eax
mov dword [0x519c5c], 0xffc9dcdd
mov dword [0x519c60], 0xffc9dcdd
push dword [esi*4 + 0x519c58]
movss xmm2, dword [0x4e89d4]
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], 0
call fcn.0040ef00
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x54], 0xffffffff
push dword [esi]
call dword [sym.imp.gdiplus.dll_GdipGetSmoothingMode]
test eax, eax
je 0x464e11
mov dword [esi + 4], eax
cmp dword [esp + 0x50], 2
je 0x464e29
push 2
push dword [esi]
call dword [sym.imp.gdiplus.dll_GdipSetSmoothingMode]
test eax, eax
je 0x464e29
mov dword [esi + 4], eax
mov esi, dword [esp + 0x54]
sub esp, 0x10
movd xmm0, ebx
mov ebx, dword [esp + 0x24]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp], xmm0
push dword [esi]
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdipDrawRectangle]
test eax, eax
je 0x464e76
mov dword [ebx + 4], eax
push dword [esp + 0x50]
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdipSetSmoothingMode]
test eax, eax
je 0x464e89
mov dword [ebx + 4], eax
push dword [esi]
call dword [sym.imp.gdiplus.dll_GdipDeletePen]
push esi
call dword [sym.imp.gdiplus.dll_GdipFree]
movss xmm0, dword [esp + 0x18]
movss dword [esp + 0x40], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x4c], 0x41800000
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x1c]
addss xmm0, dword [0x4e8b7c]
movss dword [esp + 0x44], xmm0
call fcn.00401910
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x464ee9
push 0x80004005
call fcn.00401330
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x68], 2
push dword [eax + 0x180]
lea eax, [esp + 0x58]
push 0x4e3914
push eax
call fcn.00408450
mov esi, dword [esp + 0x60]
add esp, 4
mov edx, dword [esp + 0x34]
mov eax, esp
mov ecx, ebx
push esi
mov dword [eax], 0xff808080
lea eax, [esp + 0x4c]
push eax
call fcn.0040ea80
add esi, 0xfffffff0
mov dword [esp + 0x78], 0xffffffff
add esp, 0x10
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x464f5d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0048b090
mov esp, ebp
pop ebp
ret 8