Function at 0x10015e8f
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006057d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x100a8050]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, 0xf9f1e0
push esi
push 2
xor edi, edi
push edi
lea ecx, [esp + 0x48]
call sub.mfc90u.dll_CPen::CPen
push 0xdedede
push 1
push edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x6c], edi
call sub.mfc90u.dll_CPen::CPen
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], vtable.CBrush.0
push esi
mov byte [esp + 0x64], 2
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CGdiObject::Attach
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call sub.mfc90u.dll_CDC::SelectObject_1
push 1
mov ecx, ebx
call sub.mfc90u.dll_CDC::SetBkMode
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push 0xa
lea eax, [esi + 0x224]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x14]
pop ecx
mov dword [esp + 0x50], eax
mov eax, ecx
push ecx
push eax
push ebx
lea eax, [esp + 0x50]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edi
call fcn.100172ae
lea eax, [esi + 2]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], eax
lea eax, [edi + 2]
mov dword [esp + 0x48], eax
lea eax, [esi + 0x223]
mov dword [esp + 0x14], eax
mov dword [esp + 0x4c], eax
lea eax, [edi + 0x1f]
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call sub.mfc90u.dll_CDC::SelectObject_2
mov dword [esp + 0x20], eax
lea eax, [esp + 0x3c]
push eax
mov ecx, ebx
call sub.mfc90u.dll_CDC::SelectObject_1
push 6
pop eax
push 4
pop ecx
push ecx
push eax
push ebx
lea eax, [esp + 0x50]
call fcn.100172ae
lea eax, [edi + 0x1d]
push eax
lea eax, [esi + 1]
push eax
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call sub.mfc90u.dll_CDC::MoveTo
lea eax, [edi + 0x1d]
push eax
lea eax, [esi + 0x222]
push eax
mov ecx, ebx
call sub.mfc90u.dll_CDC::LineTo
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call sub.mfc90u.dll_CDC::SelectObject_1
add edi, 0x1e
push edi
mov dword [esp + 0x28], eax
push esi
lea eax, [esp + 0x4c]
push eax
mov ecx, ebx
call sub.mfc90u.dll_CDC::MoveTo
push edi
push dword [esp + 0x18]
mov ecx, ebx
call sub.mfc90u.dll_CDC::LineTo
test byte [0x100ae930], 1
mov esi, 0x100ae920
jne 0x1001602f
or dword [0x100ae930], 1
push 0x441
push esi
mov byte [esp + 0x68], 3
call fcn.100114ae
push 0x1006ab28
call fcn.10058a05
pop ecx
mov byte [esp + 0x60], 2
mov eax, dword [ebp + 0x14]
mov edi, dword [esp + 0x18]
add eax, 0xfffffffe
cmp edi, eax
mov dword [esp + 0x18], eax
jge 0x10016063
push 0xcc0020
push esi
push 1
push 0x221
push edi
push dword [esp + 0x30]
push ebx
call sym.SACOhelper.dll_void___cdecl_PaintBMP_class_CDC___int__int__int__int__class_CBitmap___int_
add esp, 0x1c
inc edi
cmp edi, dword [esp + 0x18]
jl 0x10016041
push dword [esp + 0x20]
mov ecx, ebx
call sub.mfc90u.dll_CDC::SelectObject_2
push dword [esp + 0x24]
mov ecx, ebx
call sub.mfc90u.dll_CDC::SelectObject_1
mov byte [esp + 0x60], 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], vtable.CBrush.0
call fcn.1000b5cb
mov byte [esp + 0x60], 0
mov esi, vtable.CPen.0
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], esi
call fcn.1000b5cb
or dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], esi
call fcn.1000b5cb
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret