Function at 0x57f74d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f4248
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x58], edi
mov esi, ecx
mov dword [edi], eax
mov dword [ebp - 4], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], ebx
mov dword [edi + 0x20], eax
mov byte [ebp - 4], 1
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], 0xff0000
mov ecx, dword [esi + 8]
cmp ecx, dword [esi]
je 0x57f93e
mov edx, dword [esi + 0xc]
cmp edx, dword [esi + 4]
je 0x57f93e
call fcn.0048d6cc
test al, al
je 0x57f811
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [ebp - 0x50]
push ecx
push 2
mov dword [ebp - 0x4c], eax
push esi
lea eax, [edi + 0x30]
push ebx
mov dword [ebp - 0x50], 0x10
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], eax
call dword [sym.imp.UxTheme.dll_BeginBufferedPaint]
mov dword [edi + 0x28], eax
test eax, eax
je 0x57f93e
lea ecx, [edi + 8]
push ecx
lea ecx, [edi + 4]
push ecx
push eax
call dword [sym.imp.UxTheme.dll_GetBufferedPaintBits]
jmp 0x57f93e
mov edx, dword [esi]
mov dword [edi + 0x10], edx
mov eax, dword [esi + 4]
mov dword [edi + 0x14], eax
mov ecx, dword [esi + 8]
mov dword [edi + 0x18], ecx
mov edx, dword [esi + 0xc]
push ebx
mov dword [edi + 0x1c], edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [edi], eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, dword [esi + 0xc]
mov dword [ebp - 0x38], eax
xor eax, eax
push eax
push eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [edi + 4]
push eax
mov dword [ebp - 0x34], ecx
push 0
lea ecx, [ebp - 0x3c]
push ecx
push ebx
mov dword [ebp - 0x3c], 0x28
mov dword [ebp - 0x30], 0x200001
mov dword [ebp - 0x2c], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x20]
mov edx, dword [esi + 8]
sub edx, dword [esi]
push eax
mov eax, dword [edi]
push eax
mov dword [edi + 8], edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0
neg eax
neg ecx
push eax
push ecx
mov ecx, dword [edi]
push ecx
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
test byte [ebp + 0xc], 2
jne 0x57f93e
push ebx
call dword [sym.imp.GDI32.dll_GetObjectType]
cmp eax, 3
jne 0x57f93e
push ebx
call dword [sym.imp.USER32.dll_WindowFromDC]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x57f93e
mov dword [ebp - 0x40], 0
push 0
push 0
push 0
push 0
mov byte [ebp - 4], 2
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 4
push eax
push ebx
mov dword [ebp - 0x40], eax
call dword [sym.imp.GDI32.dll_GetRandomRgn]
cmp eax, 1
jne 0x57f932
xor eax, eax
lea edx, [ebp - 0x48]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x54]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x44]
sub eax, dword [esi + 4]
mov ecx, dword [ebp - 0x48]
sub ecx, dword [esi]
mov esi, dword [ebp - 0x40]
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_OffsetRgn]
mov ecx, dword [edi]
push esi
push ecx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
lea esi, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0045a5c0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret 0xc