Function at 0x406060
Capabilities:
Check for peb beingdebugged flag

Disassembly:
pushal
call 0x406066
pop edx
sub edx, 0x402cfb
jmp 0x406071
mov ebx, edx
mov ecx, ebx
add ecx, 0x402d05
mov al, byte [ecx]
or al, al
jne 0x406b5f
mov byte [ecx], 1
mov ebp, esp
sub esp, 0x1000
mov eax, ebx
add eax, 0x4037fa
mov dword [ebp - 0x34], eax
mov eax, ebx
add eax, 0x4037fa
add eax, 0x194
mov dword [ebp - 0xc], eax
xor eax, eax
mov byte [ebp - 0xb5], al
jmp 0x4060b4
xor ecx, ecx
mov byte [ebp - 0xb6], cl
jmp 0x4060bf
mov byte [ebp - 0x4d], 0x80
mov eax, dword fs:[0x30]
mov cl, byte [eax + 2]
mov dl, 7
ror dl, cl
add byte [ebp - 0x4d], dl
mov eax, ebx
add eax, 0x402dc2
mov dword [ebp - 0x58], eax
mov eax, ebx
add eax, 0x4037fa
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
add edx, 0x234
mov dword [ebp - 0x54], edx
xor eax, eax
mov byte [ebp - 0xb7], al
jmp 0x4060fe
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [ebp - 0x54]
jae 0x40612d
xor edx, edx
mov byte [ebp - 0xb8], dl
jmp 0x406111
movzx eax, byte [ebp - 0x4d]
mov ecx, dword [ebp - 0x58]
movzx edx, byte [ecx]
xor edx, eax
mov eax, dword [ebp - 0x58]
mov byte [eax], dl
mov ecx, dword [ebp - 0x58]
add ecx, 1
mov dword [ebp - 0x58], ecx
jmp 0x4060fe
mov ah, 0x55
movhlps xmm0, xmm0
js 0x4061ac
js 0x4061a2
xchg byte [edi + 0x40], ch
ret 0x875b
inc edi
add al, 0x47
xchg edi, eax
push cs
ret 0xc47
or al, 0x96
push cs
rol byte [edi + 0xc], cl
ret 0xc4b
sahf
push ss
xor esi, dword [ebx]
xor esi, dword [ebx]
xchg dword [edi - 0x63987839], eax
xchg dword [edi - 0x78781819], eax
wait
cmpsd dword [esi], dword es:[edi]
xchg dword [edi - 0x78785981], eax
outsd dx, dword [esi]
movsb byte es:[edi], byte [esi]
xchg dword [edi - 0x78785889], eax
dec ebx
movsd dword es:[edi], dword [esi]
xchg dword [edi - 0x78785c7b], eax
xchg dword [edi - 0x59a47879], esp
xchg dword [edi - 0x78785c03], eax
outsd dx, dword [esi]
cmpsd dword [esi], dword es:[edi]
xchg dword [edi - 0x78785abd], eax
sbb esp, dword [ebx - 0x58d87879]
xchg dword [edi - 0x78785a05], eax
adc eax, 0xdb8787a2
cmpsd dword [esi], dword es:[edi]
xchg dword [edi - 0x78785a41], eax
adc ebp, dword [ebp - 0x78787879]
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
xchg dword [edi - 0x78787879], eax
int3