Function at 0x405440
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x43e350
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [ecx + 0x3c]
push ebx
push ebp
push esi
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
mov esi, dword [eax + 0x38]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x44]
mov ebp, dword [eax + 0x58]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x48]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 0x4c]
push edi
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x54]
xor ebx, ebx
mov edi, vtable.CPen.0
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x94], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], edi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x94], 5
call fcn.00404e60
mov dword [esp + 0x4c], edi
lea ecx, [esp + 0x44]
mov byte [esp + 0x94], 6
call fcn.00404e60
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], edi
push esi
mov esi, dword [sym.imp.GDI32.dll_CreatePen]
push ebx
push ebx
mov byte [esp + 0xa0], 8
call esi
push eax
lea ecx, [esp + 0x80]
call fcn.0043b9eb
mov edx, dword [esp + 0x20]
push edx
push ebx
push ebx
call esi
push eax
lea ecx, [esp + 0x78]
call fcn.0043b9eb
mov eax, dword [esp + 0x1c]
push eax
push ebx
push ebx
call esi
push eax
lea ecx, [esp + 0x70]
call fcn.0043b9eb
mov ecx, dword [esp + 0x18]
push ecx
push ebx
push ebx
call esi
push eax
lea ecx, [esp + 0x68]
call fcn.0043b9eb
mov edx, dword [esp + 0x14]
push edx
push ebx
push ebx
call esi
push eax
lea ecx, [esp + 0x60]
call fcn.0043b9eb
mov eax, dword [esp + 0x10]
push eax
push ebx
push ebx
call esi
push eax
lea ecx, [esp + 0x58]
call fcn.0043b9eb
mov ecx, dword [esp + 0x28]
push ecx
push ebx
push ebx
call esi
push eax
lea ecx, [esp + 0x50]
call fcn.0043b9eb
mov edx, dword [esp + 0x2c]
push edx
push ebx
push ebx
call esi
push eax
lea ecx, [esp + 0x48]
call fcn.0043b9eb
push ebp
push ebx
push ebx
call esi
push eax
lea ecx, [esp + 0x40]
call fcn.0043b9eb
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], vtable.CBrush.0
push ebp
mov byte [esp + 0x98], 9
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x38]
call fcn.0043b9eb
mov esi, dword [esp + 0x9c]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.0043b4c2
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], eax
push ecx
mov ecx, esi
call fcn.0043b4c2
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xa8]
lea ebp, [edx - 2]
add eax, 0xfffffffe
push ebp
lea edx, [ebx + 2]
add ecx, 2
push eax
mov dword [esp + 0x20], eax
mov eax, dword [esi + 4]
push edx
mov dword [esp + 0x38], ecx
push ecx
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call fcn.0043b4c2
mov edx, dword [esp + 0xac]
lea ecx, [esp + 0x20]
lea eax, [edx - 1]
mov dword [esp + 0x10], eax
push eax
mov eax, dword [esp + 0xa4]
push eax
push ecx
mov ecx, esi
call fcn.0043b7b2
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xa8]
push edx
push eax
mov ecx, esi
call fcn.0043b7fe
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.0043b4c2
mov edx, dword [esp + 0xa0]
push ebp
mov ecx, esi
lea eax, [edx + 1]
mov dword [esp + 0x20], eax
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0043b7b2
mov ecx, dword [esp + 0xa8]
push ebp
lea eax, [ecx - 1]
mov ecx, esi
push eax
mov dword [esp + 0x1c], eax
call fcn.0043b7fe
lea edx, [esp + 0x4c]
mov ecx, esi
push edx
call fcn.0043b4c2
mov eax, dword [esp + 0x14]
push ebx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.0043b7b2
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
mov ecx, esi
call fcn.0043b7fe
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.0043b4c2
mov edx, dword [esp + 0x18]
lea eax, [ebx + 1]
mov dword [esp + 0x20], eax
push eax
lea eax, [esp + 0x88]
push edx
push eax
mov ecx, esi
call fcn.0043b7b2
mov ecx, dword [esp + 0x18]
push ebp
push ecx
mov ecx, esi
call fcn.0043b7fe
lea edx, [esp + 0x6c]
mov ecx, esi
push edx
call fcn.0043b4c2
mov eax, dword [esp + 0xa0]
push ebx
lea ecx, [esp + 0x88]
push eax
push ecx
mov ecx, esi
call fcn.0043b7b2
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xa0]
push edx
push eax
mov ecx, esi
call fcn.0043b7fe
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.0043b4c2
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0x88]
push eax
push ecx
mov ecx, esi
call fcn.0043b7b2
push ebp
mov ebp, dword [esp + 0x20]
push ebp
mov ecx, esi
call fcn.0043b7fe
lea edx, [esp + 0x7c]
mov ecx, esi
push edx
call fcn.0043b4c2
push ebx
lea eax, [esp + 0x88]
push ebp
push eax
mov ecx, esi
call fcn.0043b7b2
mov ecx, dword [esp + 0x14]
push ebx
push ecx
mov ecx, esi
call fcn.0043b7fe
lea edx, [esp + 0x74]
mov ecx, esi
push edx
call fcn.0043b4c2
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
push ebx
lea ecx, [esp + 0x88]
push eax
push ecx
mov ecx, esi
call fcn.0043b7b2
mov edx, dword [esp + 0x18]
push ebx
push edx
mov ecx, esi
call fcn.0043b7fe
mov eax, dword [esp + 0x28]
mov ecx, esi
push eax
call fcn.0043b4c2
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.0043b4c2
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x94], 0xa
call fcn.0043ba42
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x94], 0xb
call fcn.0043ba42
mov dword [esp + 0x44], esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x94], 0xc
call fcn.0043ba42
mov dword [esp + 0x4c], esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x94], 0xd
call fcn.0043ba42
mov dword [esp + 0x54], esi
lea ecx, [esp + 0x54]
mov byte [esp + 0x94], 0xe
call fcn.0043ba42
lea ecx, [esp + 0x5c]
mov byte [esp + 0x94], 3
mov dword [esp + 0x5c], edi
call fcn.00404e90
lea ecx, [esp + 0x64]
mov byte [esp + 0x94], 2
mov dword [esp + 0x64], edi
call fcn.00404e90
mov dword [esp + 0x6c], esi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x94], 0xf
call fcn.0043ba42
lea ecx, [esp + 0x74]
mov byte [esp + 0x94], 0
mov dword [esp + 0x74], edi
call fcn.00404e90
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], 0xffffffff
mov dword [esp + 0x7c], edi
call fcn.00404e90
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret 0x14