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

Disassembly:
push 0xffffffffffffffff
push 0x5768f8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], vtable.CPen.0
mov dword [esp + 0x60], ebx
mov edx, dword [0x5f2e50]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov ebp, dword [sym.imp.GDI32.dll_SetPixel]
push edx
add eax, 1
push ecx
push eax
mov eax, dword [edi + 4]
push eax
call ebp
mov eax, dword [esi + 4]
mov edx, dword [0x5f2e50]
mov ecx, dword [esi]
push edx
add eax, 1
push eax
mov eax, dword [edi + 4]
push ecx
push eax
call ebp
mov edx, dword [0x5f2e50]
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
push edx
sub eax, 2
push ecx
push eax
mov eax, dword [edi + 4]
push eax
call ebp
mov eax, dword [esi + 4]
mov edx, dword [0x5f2e50]
mov ecx, dword [esi + 8]
push edx
add eax, 1
push eax
mov eax, dword [edi + 4]
sub ecx, 1
push ecx
push eax
call ebp
mov eax, dword [esi + 0xc]
mov edx, dword [0x5f2e50]
mov ecx, dword [esi]
push edx
sub eax, 2
push eax
mov eax, dword [edi + 4]
push ecx
push eax
call ebp
mov eax, dword [esi + 0xc]
mov edx, dword [0x5f2e50]
mov ecx, dword [esi]
push edx
sub eax, 1
push eax
mov eax, dword [edi + 4]
add ecx, 1
push ecx
push eax
call ebp
mov eax, dword [esi + 0xc]
mov edx, dword [0x5f2e50]
mov ecx, dword [esi + 8]
push edx
sub eax, 1
push eax
mov eax, dword [edi + 4]
sub ecx, 2
push ecx
push eax
call ebp
mov eax, dword [esi + 0xc]
sub eax, 2
mov edx, dword [0x5f2e50]
mov ecx, dword [esi + 8]
push edx
push eax
mov eax, dword [edi + 4]
sub ecx, 1
push ecx
push eax
call ebp
mov eax, dword [esi + 4]
mov edx, dword [0x5f2e54]
mov ecx, dword [esi]
push edx
add eax, 1
push eax
mov eax, dword [edi + 4]
add ecx, 1
push ecx
push eax
call ebp
mov eax, dword [esi + 4]
mov edx, dword [0x5f2e54]
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 ebp
mov eax, dword [esi + 0xc]
mov edx, dword [0x5f2e54]
mov ecx, dword [esi]
push edx
sub eax, 2
push eax
mov eax, dword [edi + 4]
add ecx, 1
push ecx
push eax
call ebp
mov eax, dword [esi + 0xc]
mov edx, dword [0x5f2e54]
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 ebp
mov ecx, dword [0x5f2e54]
push ecx
push 1
push ebx
mov ebx, dword [sym.imp.GDI32.dll_CreatePen]
call ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00537346
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.0053741e
mov ecx, dword [esi]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
push eax
add ecx, 2
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, edi
call fcn.00536d88
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
push eax
sub ecx, 2
push ecx
mov ecx, edi
call fcn.00536a70
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
sub edx, 1
push edx
add eax, 2
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.00536d88
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
sub edx, 1
push edx
sub eax, 2
push eax
mov ecx, edi
call fcn.00536a70
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.00536d88
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
sub ecx, 2
push ecx
push edx
mov ecx, edi
call fcn.00536a70
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.00536d88
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.00536a70
mov edx, dword [esp + 0x14]
push edx
mov ecx, edi
call fcn.0053741e
lea ecx, [esp + 0x18]
call fcn.00537399
mov eax, dword [0x5f2e58]
push eax
push 1
push 0
call ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00537346
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.0053741e
mov edx, dword [esi + 4]
mov ebx, eax
mov eax, dword [esi]
add edx, 1
push edx
add eax, 2
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.00536d88
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
add edx, 1
push edx
sub eax, 2
push eax
mov ecx, edi
call fcn.00536a70
mov ecx, dword [esi + 0xc]
mov edx, dword [esi]
sub ecx, 2
push ecx
add edx, 2
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.00536d88
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
sub ecx, 2
push ecx
sub edx, 2
push edx
mov ecx, edi
call fcn.00536a70
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.00536d88
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
sub eax, 2
add ecx, 1
push eax
push ecx
mov ecx, edi
call fcn.00536a70
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
add edx, 2
push edx
sub eax, 2
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.00536d88
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.00536a70
push ebx
mov ecx, edi
call fcn.0053741e
lea ecx, [esp + 0x18]
call fcn.00537399
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
push 0xfffffffffffffffe
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x30], edx
push 0xfffffffffffffffe
lea edx, [esp + 0x30]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov eax, ebx
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x48], edx
mov edx, dword [0x5f2e5c]
mov dword [esp + 0x50], ecx
mov ecx, dword [0x5f2e60]
mov dword [esp + 0x54], ebx
push eax
lea ebx, [esp + 0x3c]
call fcn.00514790
mov eax, dword [edi + 4]
mov ecx, dword [0x5f2e68]
mov edx, dword [0x5f2e64]
add esp, 4
push eax
lea ebx, [esp + 0x4c]
call fcn.00514790
mov eax, dword [esi + 4]
mov edx, dword [0x5f2e6c]
mov ecx, dword [esi]
add esp, 4
push edx
add eax, 2
push eax
mov eax, dword [edi + 4]
add ecx, 2
push ecx
push eax
call ebp
mov eax, dword [esi + 4]
mov edx, dword [0x5f2e6c]
mov ecx, dword [esi + 8]
push edx
add eax, 2
push eax
mov eax, dword [edi + 4]
sub ecx, 3
push ecx
push eax
call ebp
mov eax, dword [esi + 0xc]
mov edx, dword [0x5f2e70]
mov ecx, dword [esi]
push edx
sub eax, 3
push eax
mov eax, dword [edi + 4]
add ecx, 2
push ecx
push eax
call ebp
mov eax, dword [esi + 0xc]
mov ecx, dword [0x5f2e70]
mov esi, dword [esi + 8]
mov edx, dword [edi + 4]
push ecx
sub eax, 3
push eax
sub esi, 3
push esi
push edx
call ebp
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], vtable.CGdiObject.0
call fcn.00537399
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x54
ret