Function at 0x404000
Capabilities:
Check for peb beingdebugged flag
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x43e1d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor ebx, ebx
mov eax, dword [ebp + 0x80]
mov edi, vtable.CPen.0
mov ecx, dword [eax + 0x110]
mov edx, dword [eax + 0x114]
mov esi, dword [eax + 0x10c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x118]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x11c]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x120]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x124]
mov eax, dword [eax + 0x128]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edi
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 6
call fcn.00404e60
mov dword [esp + 0x30], edi
push esi
mov esi, dword [sym.imp.GDI32.dll_CreatePen]
push ebx
push ebx
mov byte [esp + 0x94], 7
call esi
push eax
lea ecx, [esp + 0x6c]
call fcn.0043b9eb
mov ecx, dword [esp + 0x10]
push ecx
push ebx
push ebx
call esi
push eax
lea ecx, [esp + 0x64]
call fcn.0043b9eb
mov edx, dword [esp + 0x14]
push edx
push ebx
push ebx
call esi
push eax
lea ecx, [esp + 0x5c]
call fcn.0043b9eb
mov eax, dword [esp + 0x18]
push eax
push ebx
push ebx
call esi
push eax
lea ecx, [esp + 0x54]
call fcn.0043b9eb
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
push ebx
call esi
push eax
lea ecx, [esp + 0x4c]
call fcn.0043b9eb
mov edx, dword [esp + 0x20]
push edx
push ebx
push ebx
call esi
push eax
lea ecx, [esp + 0x44]
call fcn.0043b9eb
mov eax, dword [esp + 0x24]
push eax
push ebx
push ebx
call esi
push eax
lea ecx, [esp + 0x3c]
call fcn.0043b9eb
mov ecx, dword [esp + 0x28]
push ecx
push ebx
push ebx
call esi
push eax
lea ecx, [esp + 0x34]
call fcn.0043b9eb
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x70]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x90]
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.0043b4c2
mov edx, dword [esp + 0x7c]
mov ebp, eax
mov eax, dword [esp + 0x70]
dec edx
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.0043b7b2
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
dec edx
mov ecx, esi
push edx
push eax
call fcn.0043b7fe
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call fcn.0043b4c2
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x70]
add edx, 0xfffffffe
inc eax
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.0043b7b2
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
add edx, 0xfffffffe
dec eax
push edx
push eax
mov ecx, esi
call fcn.0043b7fe
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call fcn.0043b4c2
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
dec eax
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.0043b7b2
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
dec edx
dec eax
push edx
push eax
mov ecx, esi
call fcn.0043b7fe
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.0043b4c2
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
inc edx
add eax, 0xfffffffe
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.0043b7b2
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
add edx, 0xfffffffe
add eax, 0xfffffffe
push edx
push eax
mov ecx, esi
call fcn.0043b7fe
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call fcn.0043b4c2
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.0043b7b2
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x70]
dec edx
mov ecx, esi
push edx
push eax
call fcn.0043b7fe
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call fcn.0043b4c2
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
inc edx
inc eax
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.0043b7b2
mov edx, dword [esp + 0x7c]
add edx, 0xfffffffe
push edx
mov eax, dword [esp + 0x74]
mov ecx, esi
inc eax
push eax
call fcn.0043b7fe
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
call fcn.0043b4c2
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
inc eax
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.0043b7b2
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
dec eax
push edx
push eax
mov ecx, esi
call fcn.0043b7fe
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
call fcn.0043b4c2
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
inc edx
add eax, 2
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.0043b7b2
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
inc edx
add eax, 0xfffffffe
push edx
push eax
mov ecx, esi
call fcn.0043b7fe
push ebp
mov ecx, esi
call fcn.0043b4c2
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x88], 8
call fcn.0043ba42
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x88], 9
call fcn.0043ba42
mov dword [esp + 0x40], esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x88], 0xa
call fcn.0043ba42
mov dword [esp + 0x48], esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x88], 0xb
call fcn.0043ba42
mov dword [esp + 0x50], esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x88], 0xc
call fcn.0043ba42
mov dword [esp + 0x58], esi
lea ecx, [esp + 0x58]
mov byte [esp + 0x88], 0xd
call fcn.0043ba42
lea ecx, [esp + 0x60]
mov byte [esp + 0x88], bl
mov dword [esp + 0x60], edi
call fcn.00404e90
mov dword [esp + 0x68], esi
lea ecx, [esp + 0x68]
mov dword [esp + 0x88], 0xe
call fcn.0043ba42
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x7c
ret 4