Function at 0x1a8c450
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0x18
push 0x1ab0c88
call fcn.01a3611c
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0x20], ecx
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
test al, al
jne 0x1a8c48c
mov al, byte [0x7ffe02d4]
and al, 3
cmp al, 3
sete al
test al, al
je 0x1a8c735
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
xor esi, esi
cmp dword [eax], 0xc0000005
je 0x1a8c670
cmp dword [eax], 0xc0000006
je 0x1a8c5f9
cmp dword [eax], 0xc0000194
je 0x1a8c512
push dword [ebp + 0xc]
push ecx
cmp dword [eax], 0xc0000409
je 0x1a8c4d8
push dword [eax]
push 0x19cd514
push esi
push 0x65
pop edi
push edi
call fcn.019d5380
add esp, 0x18
jmp 0x1a8c6d4
push 0x19cd3a0
push esi
push 0x65
pop edi
push edi
call fcn.019d5380
add esp, 0x14
push 0x19cd3d8
push esi
push edi
call fcn.019d5380
add esp, 0xc
push 0x19cd458
push esi
push edi
call fcn.019d5380
add esp, 0xc
push 0x19cd4b0
jmp 0x1a8c6ca
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1a8c5f1
mov dword [ebp - 4], esi
mov edx, dword [eax]
mov dword [ebp - 0x24], edx
test edx, edx
je 0x1a8c57b
cmp word [edx], 1
jne 0x1a8c57b
push dword [ebp + 0xc]
push ecx
push eax
push 0x19ccf70
push esi
push 0x65
pop edi
push edi
call fcn.019d5380
add esp, 0x18
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jns 0x1a8c560
push dword [eax + 0x2c]
push 0x19ccf9c
jmp 0x1a8c568
jle 0x1a8c574
push ecx
push 0x19ccfcc
push esi
push edi
call fcn.019d5380
add esp, 0x10
jmp 0x1a8c5ca
push 0x19ccff8
jmp 0x1a8c5c0
push dword [ebp + 0xc]
push ecx
push eax
push 0x19cd058
push esi
push 0x65
pop edi
push edi
call fcn.019d5380
add esp, 0x18
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xc], 0
je 0x1a8c5bb
push dword [eax + 0xc]
push 0x19cd08c
push esi
push edi
call fcn.019d5380
push 0x19cd0c0
push esi
push edi
call fcn.019d5380
add esp, 0x1c
jmp 0x1a8c5ca
push 0x19cd108
push esi
push edi
call fcn.019d5380
add esp, 0xc
mov dword [ebp - 4], 0xfffffffe
jmp 0x1a8c6d4
push 0x65
pop edi
jmp 0x1a8c6d4
push dword [ebp + 0xc]
push ecx
push 0x19cd170
push esi
push 0x65
pop edi
push edi
call fcn.019d5380
add esp, 0x14
mov eax, dword [ebx]
push dword [eax + 0x18]
push dword [eax + 0xc]
push 0x19cd190
push esi
push edi
call fcn.019d5380
add esp, 0x14
mov eax, dword [ebx]
push dword [eax + 0x1c]
push 0x19cd1c0
push esi
push edi
call fcn.019d5380
add esp, 0x10
mov eax, dword [ebx]
mov eax, dword [eax + 0x1c]
cmp eax, 0xc000009a
je 0x1a8c669
cmp eax, 0xc000009c
je 0x1a8c662
cmp eax, 0xc000016a
je 0x1a8c662
cmp eax, 0xc0000185
jne 0x1a8c6d4
push 0x19cd2b8
jmp 0x1a8c6ca
push 0x19cd248
jmp 0x1a8c6ca
push 0x19cd1e8
jmp 0x1a8c6ca
push dword [ebp + 0xc]
push ecx
push 0x19cd304
push esi
push 0x65
pop edi
push edi
call fcn.019d5380
add esp, 0x14
mov eax, dword [ebx]
cmp dword [eax + 0x14], esi
mov ecx, 0x19cd334
jne 0x1a8c697
mov ecx, 0x19cd340
push ecx
push dword [eax + 0xc]
push 0x19cd34c
push esi
push edi
call fcn.019d5380
add esp, 0x14
mov eax, dword [ebx]
cmp dword [eax + 0x18], esi
je 0x1a8c6c5
push dword [eax + 0x18]
push 0x19cd370
push esi
push edi
call fcn.019d5380
add esp, 0x10
jmp 0x1a8c6d4
push 0x19cd38c
push esi
push edi
call fcn.019d5380
add esp, 0xc
push dword [ebx]
push 0x19cd548
push esi
push edi
call fcn.019d5380
add esp, 0x10
mov eax, dword [ebx]
cmp dword [eax], 0xc0000409
je 0x1a8c701
push dword [ebx + 4]
push 0x19cd578
push esi
push edi
call fcn.019d5380
add esp, 0x10
push 0x19cd5a0
push esi
push edi
call fcn.019d5380
add esp, 0xc
int3
xor esi, esi
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
cmp dword [eax], 0xc0000409
jne 0x1a8c74e
push esi
push dword [ebx + 4]
push eax
call fcn.01a65650
mov ecx, dword [ebx]
xor eax, eax
cmp dword [ecx], 0xc0000194
setne al
dec eax
call fcn.01a36161
ret 8