Function at 0x410520
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x446048
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4584b8]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [0x4584b8]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0xc], eax
push dword [eax + 0x2c]
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
mov dword [esp + 0x44], 0x28
mov eax, dword [esp + 0xc]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x48], xmm0
push 0
push 0
mov ecx, dword [eax + 0x28]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x50], eax
imul eax, ecx
movdqu xmmword [esp + 0x60], xmm0
push 0
push 0
movq qword [esp + 0x78], xmm0
shl eax, 5
cdq
and edx, 7
mov dword [esp + 0x24], esi
add eax, edx
mov dword [esp + 0x60], 0x200001
sar eax, 3
mov dword [esp + 0x68], eax
lea eax, [esp + 0x54]
push eax
push edi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
mov dword [esp + 0x30], eax
call edi
mov esi, eax
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x10]
push dword [eax + 0x2c]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x90], 0
push dword [edx + 0x28]
mov eax, dword [edx + 0xc]
push dword [edx + 0x24]
push 0
push 0
push dword [eax + 4]
push ecx
call dword [sym.imp.gdiplus.dll_GdipFillRectangleI]
mov ecx, dword [esp + 0x24]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x20]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00410750
mov ecx, dword [esp + 0xc]
push 2
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 8]
mov byte [esp + 0x16], al
lea eax, [esp + 0x14]
push eax
push 0
lea eax, [esp + 0x40]
mov word [esp + 0x1c], 0
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x50]
mov byte [esp + 0x27], 1
push eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x34]
push dword [ecx + 0x2c]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push esi
mov esi, dword [esp + 0x18]
push esi
call edi
push dword [esp + 0x28]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0xc]
push dword [esp + 0x18]
push dword [eax + 0x2c]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [esp + 0x20]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0042c3b2
mov esp, ebp
pop ebp
ret 4