Function at 0x532710
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6344eb
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x6f4e3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
push 0
mov ecx, dword [ebp - 0x3c]
call fcn.0051a1d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp + 8]
mov dword [edx + 0xc], eax
push 0
mov ecx, dword [ebp - 0x3c]
add ecx, 0x20
call fcn.0051a1d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x2c], ecx
mov edx, dword [ebp - 0x3c]
mov byte [edx + 0x30], 0
mov eax, dword [ebp - 0x3c]
mov byte [eax + 0x31], 0
mov ecx, dword [ebp - 0x3c]
mov dl, byte [ebp + 0x18]
mov byte [ecx + 0x32], dl
cmp dword [ebp + 0x1c], 0
je 0x5327bd
mov dword [ebp - 0x44], 1
jmp 0x5327c4
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x3c]
mov cl, byte [ebp - 0x44]
mov byte [eax + 0x33], cl
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx + 8]
cmp ecx, dword [eax]
je 0x5327e8
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx + 0xc]
cmp ecx, dword [eax + 4]
jne 0x5327ed
jmp 0x5329fc
call fcn.00532540
movzx edx, al
test edx, edx
je 0x53285d
mov dword [ebp - 0x60], 0x10
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0x3c]
add ecx, 0x30
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x3c]
push edx
lea eax, [ebp - 0x60]
push eax
push 2
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.UxTheme.dll_BeginBufferedPaint]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x28], 0
je 0x532858
mov eax, dword [ebp - 0x3c]
add eax, 8
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 4
push ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x28]
push eax
call dword [sym.imp.UxTheme.dll_GetBufferedPaintBits]
jmp 0x5329fc
mov ecx, dword [ebp - 0x3c]
add ecx, 0x10
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.0051b910
mov dword [ebp - 0x38], 0x28
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
sub eax, dword [edx]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
sub eax, dword [edx + 0xc]
mov dword [ebp - 0x30], eax
mov ecx, 1
mov word [ebp - 0x2c], cx
mov edx, 0x20
mov word [ebp - 0x2a], dx
mov dword [ebp - 0x28], 0
xor eax, 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
push 0
push 0
mov ecx, dword [ebp - 0x3c]
add ecx, 4
push ecx
push 0
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x20
call fcn.0051bbe0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
sub eax, dword [edx]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x20
call fcn.00519400
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.0051b940
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x24], eax
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
neg ecx
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
neg eax
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.0051b960
mov ecx, dword [ebp + 0x10]
and ecx, 2
jne 0x5329fc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.GDI32.dll_GetObjectType]
cmp eax, 3
jne 0x5329fc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_WindowFromDC]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x5329fc
push 0
lea ecx, [ebp - 0x40]
call fcn.0051a1d0
mov byte [ebp - 4], 2
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.0051bfb0
push 4
lea ecx, [ebp - 0x40]
call fcn.00519400
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetRandomRgn]
cmp eax, 1
jne 0x5329f0
mov dword [ebp - 0x50], 0
xor edx, edx
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x4c]
sub eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x50]
sub edx, dword [ecx]
push edx
lea ecx, [ebp - 0x40]
call fcn.0051c040
lea ecx, [ebp - 0x40]
call fcn.00519400
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.0051b990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0051bb30
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517c1a
mov esp, ebp
pop ebp
ret 0x18