Function at 0x490b19
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6063a3
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x54], edi
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
cmp dword [ebp + 0x14], eax
mov byte [ebp - 4], 1
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov word [edi + 0x30], ax
setne al
mov dword [edi + 0x2c], ecx
mov byte [edi + 0x32], dl
mov byte [edi + 0x33], al
mov ecx, dword [esi + 8]
cmp ecx, dword [esi]
je 0x490d11
mov edx, dword [esi + 0xc]
cmp edx, dword [esi + 4]
je 0x490d11
call fcn.00490fea
test al, al
je 0x490be4
mov eax, dword [ebp + 0x10]
push edi
lea ecx, [ebp - 0x4c]
push ecx
push 2
mov dword [ebp - 0x48], eax
push esi
lea eax, [edi + 0x30]
push ebx
mov dword [ebp - 0x4c], 0x10
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], eax
call dword [sym.imp.UxTheme.dll_BeginBufferedPaint]
mov dword [edi + 0x28], eax
test eax, eax
je 0x490d11
lea ecx, [edi + 8]
push ecx
lea ecx, [edi + 4]
push ecx
push eax
call dword [sym.imp.UxTheme.dll_GetBufferedPaintBits]
jmp 0x490d11
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 - 0x34], eax
xor eax, eax
push eax
push eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [edi + 4]
push eax
mov dword [ebp - 0x30], ecx
push 0
lea ecx, [ebp - 0x38]
push ecx
push ebx
mov dword [ebp - 0x38], 0x28
mov dword [ebp - 0x2c], 0x200001
mov dword [ebp - 0x28], 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 + 0x10], 2
jne 0x490d11
push ebx
call dword [sym.imp.GDI32.dll_GetObjectType]
cmp eax, 3
jne 0x490d11
push ebx
call dword [sym.imp.USER32.dll_WindowFromDC]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x490d11
mov dword [ebp - 0x3c], 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 - 0x3c], eax
call dword [sym.imp.GDI32.dll_GetRandomRgn]
cmp eax, 1
jne 0x490d05
xor eax, eax
lea edx, [ebp - 0x44]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x50]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x40]
sub eax, dword [esi + 4]
mov ecx, dword [ebp - 0x44]
sub ecx, dword [esi]
mov esi, dword [ebp - 0x3c]
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 - 0x3c]
mov byte [ebp - 4], 1
call fcn.0045af77
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 - 0x10]
xor ecx, ebp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret 0x10