Function at 0x408870
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x43e5c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
mov eax, dword [ecx + 0x3c]
push ebx
push ebp
push esi
mov ecx, dword [eax + 0x9c]
mov edx, dword [eax + 0xa0]
mov ebx, dword [eax + 0x94]
mov ebp, dword [eax + 0x98]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0xa4]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0xa8]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0xac]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0xb0]
mov dword [esp + 0x10], ecx
push edi
mov edi, dword [eax + 0xb4]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x10], edx
call fcn.00404e60
mov esi, vtable.CPen.0
mov dword [esp + 0x7c], esi
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], 0
call fcn.00404e60
mov dword [esp + 0x74], esi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x8c], 1
call fcn.00404e60
mov dword [esp + 0x6c], esi
lea ecx, [esp + 0x64]
mov byte [esp + 0x8c], 2
call fcn.00404e60
mov dword [esp + 0x64], esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8c], 3
call fcn.00404e60
mov dword [esp + 0x5c], esi
lea ecx, [esp + 0x54]
mov byte [esp + 0x8c], 4
call fcn.00404e60
mov dword [esp + 0x54], esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x8c], 5
call fcn.00404e60
mov dword [esp + 0x4c], esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x8c], 6
call fcn.00404e60
mov dword [esp + 0x44], esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8c], 7
call fcn.00404e60
mov dword [esp + 0x3c], esi
mov esi, dword [sym.imp.GDI32.dll_CreatePen]
push ebx
push 0
push 0
mov byte [esp + 0x98], 8
call esi
push eax
lea ecx, [esp + 0x80]
call fcn.0043b9eb
push ebp
push 0
push 0
call esi
push eax
lea ecx, [esp + 0x78]
call fcn.0043b9eb
mov eax, dword [esp + 0x24]
push eax
push 0
push 0
call esi
push eax
lea ecx, [esp + 0x70]
call fcn.0043b9eb
mov ecx, dword [esp + 0x20]
push ecx
push 0
push 0
call esi
push eax
lea ecx, [esp + 0x68]
call fcn.0043b9eb
mov edx, dword [esp + 0x1c]
push edx
push 0
push 0
call esi
push eax
lea ecx, [esp + 0x60]
call fcn.0043b9eb
mov eax, dword [esp + 0x18]
push eax
push 0
push 0
call esi
push eax
lea ecx, [esp + 0x58]
call fcn.0043b9eb
mov ecx, dword [esp + 0x14]
push ecx
push 0
push 0
call esi
push eax
lea ecx, [esp + 0x50]
call fcn.0043b9eb
mov edx, dword [esp + 0x10]
push edx
push 0
push 0
call esi
push eax
lea ecx, [esp + 0x48]
call fcn.0043b9eb
push edi
push 0
push 0
call esi
push eax
lea ecx, [esp + 0x40]
call fcn.0043b9eb
lea ecx, [esp + 0x34]
call fcn.00404e60
mov dword [esp + 0x34], vtable.CBrush.0
push edi
mov byte [esp + 0x90], 9
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x38]
call fcn.0043b9eb
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x94]
lea eax, [esp + 0x3c]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
neg eax
sbb eax, eax
and eax, edx
push eax
push esi
call edi
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x34]
neg eax
sbb eax, eax
and eax, ebx
push eax
push esi
call edi
mov ebp, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x2c], eax
lea eax, [ebp - 2]
add ecx, 0xfffffffe
mov dword [esp + 0x10], eax
push eax
mov eax, dword [esp + 0xa0]
lea edx, [ebx + 2]
add eax, 2
push ecx
push eax
push edx
push esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], edx
call dword [sym.imp.GDI32.dll_Rectangle]
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x5c]
neg eax
sbb eax, eax
and eax, edx
push eax
push esi
call edi
dec ebp
push 0
push ebp
push ebx
mov ebx, dword [sym.imp.GDI32.dll_MoveToEx]
push esi
mov dword [esp + 0x34], ebp
call ebx
mov ecx, dword [esp + 0xa0]
push ebp
mov ebp, dword [sym.imp.GDI32.dll_LineTo]
push ecx
push esi
call ebp
mov edx, dword [esp + 0x58]
lea eax, [esp + 0x54]
neg eax
sbb eax, eax
and eax, edx
push eax
push esi
call edi
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x10]
push 0
push ecx
lea eax, [edx + 1]
push eax
push esi
mov dword [esp + 0x24], eax
call ebx
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x10]
push ecx
lea eax, [edx - 1]
push eax
push esi
mov dword [esp + 0x24], eax
call ebp
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x4c]
neg eax
sbb eax, eax
and eax, edx
push eax
push esi
call edi
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x18]
push 0
push edx
push eax
push esi
call ebx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push ecx
push edx
push esi
call ebp
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x44]
neg eax
sbb eax, eax
and eax, edx
push eax
push esi
call edi
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x20]
inc eax
push 0
push eax
push ecx
push esi
mov dword [esp + 0x2c], eax
call ebx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
push edx
push eax
push esi
call ebp
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x6c]
neg eax
sbb eax, eax
and eax, ecx
push eax
push esi
call edi
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
push 0
push ecx
push edx
push esi
call ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x98]
push eax
push ecx
push esi
call ebp
mov edx, dword [esp + 0x68]
lea eax, [esp + 0x64]
neg eax
sbb eax, eax
and eax, edx
push eax
push esi
call edi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push 0
push edx
push eax
push esi
call ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push edx
push esi
call ebp
mov edx, dword [esp + 0x80]
lea eax, [esp + 0x7c]
neg eax
sbb eax, eax
and eax, edx
push eax
push esi
call edi
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
push esi
call ebx
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x18]
push edx
push eax
push esi
call ebp
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x74]
neg eax
sbb eax, eax
and eax, ecx
push eax
push esi
call edi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
push 0
push ecx
push edx
push esi
call ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push esi
call ebp
mov edx, dword [esp + 0x2c]
push edx
push esi
call edi
mov eax, dword [esp + 0x30]
push eax
push esi
call edi
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 0xa
call fcn.0043ba42
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8c], 0xb
call fcn.0043ba42
mov dword [esp + 0x44], esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x8c], 0xc
call fcn.0043ba42
mov dword [esp + 0x4c], esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x8c], 0xd
call fcn.0043ba42
mov dword [esp + 0x54], esi
lea ecx, [esp + 0x54]
mov byte [esp + 0x8c], 0xe
call fcn.0043ba42
mov dword [esp + 0x5c], esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8c], 0xf
call fcn.0043ba42
mov dword [esp + 0x64], esi
lea ecx, [esp + 0x64]
mov byte [esp + 0x8c], 0x10
call fcn.0043ba42
mov dword [esp + 0x6c], esi
mov byte [esp + 0x8c], 0x11
lea ecx, [esp + 0x6c]
call fcn.0043ba42
mov dword [esp + 0x74], esi
lea ecx, [esp + 0x74]
mov byte [esp + 0x8c], 0x12
call fcn.0043ba42
mov dword [esp + 0x7c], esi
lea ecx, [esp + 0x7c]
mov dword [esp + 0x8c], 0x13
call fcn.0043ba42
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret 0x14