Function at 0x536260
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x59f358
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
mov ebp, dword [esp + 0x6c]
mov eax, dword [ebp + 0xbc]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov ebx, dword [sym.imp.GDI32.dll_SetPixel]
push eax
mov eax, dword [edi + 4]
push ecx
push edx
push eax
call ebx
mov ecx, dword [ebp + 0xc0]
mov edx, dword [esi + 4]
mov eax, dword [esi]
push ecx
mov ecx, dword [edi + 4]
push edx
add eax, 1
push eax
push ecx
call ebx
mov ecx, dword [ebp + 0xc4]
mov eax, dword [esi + 4]
mov edx, dword [esi]
push ecx
add eax, 1
push eax
push edx
mov edx, dword [edi + 4]
push edx
call ebx
mov edx, dword [ebp + 0xc8]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push edx
add eax, 1
push eax
mov eax, dword [edi + 4]
add ecx, 1
push ecx
push eax
call ebx
mov ecx, dword [ebp + 0xc0]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [edi + 4]
push edx
sub eax, 2
push eax
push ecx
call ebx
mov ecx, dword [ebp + 0xbc]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
push ecx
push edx
mov edx, dword [edi + 4]
sub eax, 1
push eax
push edx
call ebx
mov edx, dword [ebp + 0xc8]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
push edx
add eax, 1
push eax
mov eax, dword [edi + 4]
sub ecx, 2
push ecx
push eax
call ebx
mov edx, dword [ebp + 0xc4]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
add eax, 1
push edx
sub ecx, 1
push eax
push ecx
mov ecx, dword [edi + 4]
push ecx
call ebx
mov ecx, dword [ebp + 0xc4]
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
push ecx
sub eax, 2
push eax
push edx
mov edx, dword [edi + 4]
push edx
call ebx
mov edx, dword [ebp + 0xc8]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
push edx
sub eax, 2
push eax
mov eax, dword [edi + 4]
add ecx, 1
push ecx
push eax
call ebx
mov ecx, dword [ebp + 0xbc]
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
push ecx
mov ecx, dword [edi + 4]
sub eax, 1
push eax
push edx
push ecx
call ebx
mov edx, dword [ebp + 0xc0]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
push edx
mov edx, dword [edi + 4]
sub eax, 1
push eax
add ecx, 1
push ecx
push edx
call ebx
mov edx, dword [ebp + 0xc8]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push edx
sub eax, 2
push eax
mov eax, dword [edi + 4]
sub ecx, 2
push ecx
push eax
call ebx
mov edx, dword [ebp + 0xc4]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push edx
sub eax, 2
sub ecx, 1
push eax
push ecx
mov ecx, dword [edi + 4]
push ecx
call ebx
mov edx, dword [ebp + 0xc0]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push edx
mov edx, dword [edi + 4]
sub eax, 1
push eax
sub ecx, 2
push ecx
push edx
call ebx
mov eax, dword [esi + 0xc]
mov edx, dword [ebp + 0xbc]
mov ecx, dword [esi + 8]
sub eax, 1
push edx
push eax
mov eax, dword [edi + 4]
sub ecx, 1
push ecx
push eax
call ebx
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], vtable.CPen.0
mov dword [esp + 0x64], ecx
mov eax, dword [ebp + 0xcc]
push eax
push 1
push ecx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x1c]
call fcn.0055b82d
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.0055b905
mov edx, dword [esi + 4]
mov ebx, eax
mov eax, dword [esi]
push edx
add eax, 2
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.0055b26f
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
push edx
sub eax, 2
push eax
mov ecx, edi
call fcn.0055af51
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
sub ecx, 1
push ecx
add edx, 2
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.0055b26f
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
sub ecx, 1
push ecx
sub edx, 2
push edx
mov ecx, edi
call fcn.0055af51
push ebx
mov ecx, edi
call fcn.0055b905
lea ecx, [esp + 0x18]
call fcn.0055b880
mov eax, dword [ebp + 0xd0]
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x1c]
call fcn.0055b82d
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.0055b905
mov ecx, dword [esi + 4]
mov edx, dword [esi]
add ecx, 2
push ecx
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.0055b26f
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
sub ecx, 2
push ecx
push edx
mov ecx, edi
call fcn.0055af51
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
add eax, 2
push eax
sub ecx, 1
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, edi
call fcn.0055b26f
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub eax, 2
sub ecx, 1
push eax
push ecx
mov ecx, edi
call fcn.0055af51
push ebx
mov ecx, edi
call fcn.0055b905
lea ecx, [esp + 0x18]
call fcn.0055b880
mov eax, dword [ebp + 0xe4]
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x1c]
call fcn.0055b82d
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.0055b905
mov eax, dword [esi + 4]
mov ecx, dword [esi]
add eax, 1
push eax
add ecx, 2
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, edi
call fcn.0055b26f
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
add eax, 1
sub ecx, 2
push eax
push ecx
mov ecx, edi
call fcn.0055af51
push ebx
mov ecx, edi
call fcn.0055b905
lea ecx, [esp + 0x18]
call fcn.0055b880
mov eax, dword [ebp + 0xe8]
push eax
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x1c]
call fcn.0055b82d
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.0055b905
mov eax, dword [esi + 4]
mov ecx, dword [esi]
add eax, 2
push eax
add ecx, 1
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, edi
call fcn.0055b26f
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
sub eax, 2
add ecx, 1
push eax
push ecx
mov ecx, edi
call fcn.0055af51
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
sub edx, 2
push edx
add eax, 2
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.0055b26f
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
sub edx, 2
push edx
sub eax, 2
push eax
mov ecx, edi
call fcn.0055af51
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
sub ecx, 3
push ecx
sub edx, 2
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.0055b26f
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
add ecx, 1
push ecx
sub edx, 2
push edx
mov ecx, edi
call fcn.0055af51
push ebx
mov ecx, edi
call fcn.0055b905
lea ecx, [esp + 0x18]
call fcn.0055b880
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [esi + 8]
push 0xfffffffffffffffe
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xc]
push 0xfffffffffffffffe
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_InflateRect]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov eax, esi
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, ecx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0xd8]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], edx
mov edx, dword [ebp + 0xd4]
mov dword [esp + 0x50], ebx
push eax
lea ebx, [esp + 0x3c]
mov dword [esp + 0x58], esi
call fcn.00537150
mov edi, dword [edi + 4]
mov ecx, dword [ebp + 0xe0]
mov edx, dword [ebp + 0xdc]
add esp, 4
push edi
lea ebx, [esp + 0x4c]
call fcn.00537150
mov dword [esp + 0x68], 0xffffffff
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], vtable.CGdiObject.0
call fcn.0055b880
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 4