Function at 0x401e2a
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4470ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.004021f0
mov dword [esp + 0x10], 0x44b708
mov eax, dword [esi + 0x1c]
mov edi, dword [esp + 0x38]
test eax, eax
mov dword [esp + 0x30], 0
jne 0x401f17
push 0x10
call fcn.0043c073
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0x30], 1
je 0x401e78
mov ecx, eax
call fcn.00440ed1
mov ebx, eax
jmp 0x401e7a
xor ebx, ebx
test edi, edi
mov byte [esp + 0x30], 0
mov dword [esi + 0x1c], ebx
jne 0x401e8a
xor eax, eax
jmp 0x401e8d
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, ebx
call fcn.00440f88
mov eax, dword [esi + 0x18]
mov ebp, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov ebx, dword [esi + 0xc]
sub eax, ebp
sub ecx, ebx
push eax
mov eax, dword [edi + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x14]
call fcn.004416cd
mov ecx, dword [esi + 0x1c]
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x10]
mov ecx, dword [ecx + 4]
neg eax
sbb eax, eax
and eax, ebp
push eax
push ecx
call fcn.004410c9
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0xc]
mov ecx, edx
sub eax, ecx
mov ecx, dword [esi + 0x14]
mov ebp, ebx
sub ecx, ebp
test edi, edi
jne 0x401ef9
xor ebp, ebp
jmp 0x401efc
mov ebp, dword [edi + 4]
push 0xcc0020
push edx
push ebx
push ebp
push eax
mov eax, dword [esi + 0x1c]
push ecx
push 0
mov edx, dword [eax + 4]
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0xc]
lea ebp, [esi + 0xc]
sub eax, ebx
mov ebx, dword [esi + 0x1c]
sub ecx, edx
mov edx, dword [esi + 0x10]
test ebx, ebx
je 0x401f37
mov ebx, dword [ebx + 4]
push 0xcc0020
push 0
push 0
push ebx
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx + 0x28]
push 1
mov ecx, edi
call fcn.00441191
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
add eax, 2
mov dword [esp + 0x1c], eax
mov eax, dword [ebp]
add edx, 2
add ecx, 2
mov dword [esp + 0x20], edx
mov edx, dword [edi]
mov dword [esp + 0x24], ecx
add eax, 2
push 0x464646
mov ecx, edi
mov dword [esp + 0x1c], eax
call dword [edx + 0x30]
mov ebx, dword [esp + 0x3c]
lea ecx, [esp + 0x38]
push ebx
call fcn.0043bc11
mov eax, dword [esp + 0x38]
mov edx, dword [edi]
lea ecx, [esp + 0x18]
push 0
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, edi
mov byte [esp + 0x40], 2
call dword [edx + 0x68]
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call fcn.0043bba3
mov eax, dword [esi + 8]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
push ebx
lea ecx, [esp + 0x3c]
call fcn.0043bc11
mov eax, dword [esp + 0x38]
mov edx, dword [edi]
push 0
push ebp
mov ecx, dword [eax - 8]
mov byte [esp + 0x38], 3
push ecx
push eax
mov ecx, edi
call dword [edx + 0x68]
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call fcn.0043bba3
mov ecx, edi
call fcn.00440ff0
mov dword [esp + 0x10], vtable.CGdiObject.0
mov dword [esp + 0x30], 4
lea ecx, [esp + 0x10]
call fcn.00441724
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8