Function at 0x4f9be0
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 eax, dword [esp + 0x6c]
mov esi, ecx
mov edi, edx
movzx ebp, al
movzx ecx, ah
shr eax, 0x10
mov ebx, dword [0x635a48]
movzx edx, al
movzx eax, byte [0x635a4a]
add eax, edx
cdq
sub eax, edx
sar eax, 1
xor edx, edx
mov dh, al
movzx eax, bh
add eax, ecx
mov ecx, edx
cdq
sub eax, edx
sar eax, 1
mov cl, al
movzx eax, bl
mov ebx, dword [sym.imp.GDI32.dll_SetPixel]
add eax, ebp
cdq
sub eax, edx
sar eax, 1
movzx eax, al
shl ecx, 8
or ecx, eax
mov eax, dword [esi + 4]
mov ebp, ecx
mov ecx, dword [esi]
push ebp
push eax
push ecx
mov ecx, dword [edi + 4]
push ecx
call ebx
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [edi + 4]
push 0xfbba9b
push ecx
add eax, 1
push eax
push edx
call ebx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0xfbb392
add eax, 1
push eax
mov eax, dword [edi + 4]
push ecx
push eax
call ebx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0xfcd1bc
add eax, 1
add ecx, 1
push eax
push ecx
mov ecx, dword [edi + 4]
push ecx
call ebx
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
mov edx, dword [edi + 4]
push 0xfbba9b
push ecx
sub eax, 2
push eax
push edx
call ebx
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
push ebp
sub eax, 1
push ecx
push eax
mov eax, dword [edi + 4]
push eax
call ebx
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
push 0xfcd1bc
add eax, 1
sub ecx, 2
push eax
push ecx
mov ecx, dword [edi + 4]
push ecx
call ebx
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [edi + 4]
push 0xfbb392
add eax, 1
push eax
sub ecx, 1
push ecx
push edx
call ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
push 0xfbb392
sub eax, 2
push eax
mov eax, dword [edi + 4]
push ecx
push eax
call ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
push 0xfcd1bc
sub eax, 2
add ecx, 1
push eax
push ecx
mov ecx, dword [edi + 4]
push ecx
call ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
mov edx, dword [edi + 4]
push ebp
sub eax, 1
push eax
push ecx
push edx
call ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
push 0xfbba9b
sub eax, 1
push eax
mov eax, dword [edi + 4]
add ecx, 1
push ecx
push eax
call ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push 0xfcd1bc
sub eax, 2
sub ecx, 2
push eax
push ecx
mov ecx, dword [edi + 4]
push ecx
call ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [edi + 4]
push 0xfbb392
sub eax, 2
push eax
sub ecx, 1
push ecx
push edx
call ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push 0xfbba9b
sub eax, 1
push eax
mov eax, dword [edi + 4]
sub ecx, 2
push ecx
push eax
call ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push ebp
sub eax, 1
sub ecx, 1
push eax
push ecx
mov ecx, dword [edi + 4]
push ecx
call ebx
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], vtable.CPen.0
mov dword [esp + 0x64], eax
mov edx, dword [0x635a48]
mov ebp, dword [sym.imp.GDI32.dll_CreatePen]
push edx
push 1
push eax
call ebp
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]
push ecx
add edx, 2
mov ebx, eax
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.0055b26f
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
push ecx
sub edx, 2
push edx
mov ecx, edi
call fcn.0055af51
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
sub 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 + 0xc]
mov ecx, dword [esi + 8]
sub 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
push 0xfaa57d
push 1
push 0
call ebp
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
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
push eax
push ecx
mov ecx, edi
call fcn.0055af51
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
add edx, 2
push edx
sub eax, 1
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, 1
push eax
mov ecx, edi
call fcn.0055af51
push ebx
mov ecx, edi
call fcn.0055b905
lea ecx, [esp + 0x18]
call fcn.0055b880
push 0xfff9f6
push 1
push 0
call ebp
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 eax, dword [esi]
add edx, 1
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]
add edx, 1
push edx
sub eax, 2
push eax
mov ecx, edi
call fcn.0055af51
push ebx
mov ecx, edi
call fcn.0055b905
lea ecx, [esp + 0x18]
call fcn.0055b880
push 0xfff8f3
push 1
push 0
call ebp
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 eax, dword [esi]
add edx, 2
push edx
add eax, 1
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.0055b26f
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
sub edx, 2
push edx
add eax, 1
push eax
mov ecx, edi
call fcn.0055af51
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.0055b26f
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.0055af51
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub eax, 3
push eax
sub 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 edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0xc]
push 0xfffffffffffffffe
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
push 0xfffffffffffffffe
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov eax, esi
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, ecx
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 dword [esp + 0x40], ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], ebx
push eax
mov ecx, 0xfeece3
mov edx, 0xfff5f1
lea ebx, [esp + 0x3c]
mov dword [esp + 0x58], esi
call fcn.00537150
mov edi, dword [edi + 4]
add esp, 4
push edi
mov ecx, 0xfff4ed
mov edx, 0xfddbca
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