Function at 0x1a01be1
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1acd344]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x1c], edi
cmp dword [0x1ac8730], edi
jne 0x1a4b328
cmp byte [0x1ac84d8], 0
je 0x1a01ce3
mov eax, dword fs:[0x30]
push 0x1ac53a0
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x14], eax
call fcn.019fbe50
cmp byte [0x1ac8470], 0
jne 0x1a01d1d
xor eax, eax
mov esi, eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x1a01cc6
mov ecx, dword [ebp - 0x14]
and ecx, 0x100
mov dword [ebp - 0x14], ecx
lea esi, [eax - 0x54]
test ecx, ecx
jne 0x1a4b334
xor eax, eax
mov ecx, esi
push eax
call fcn.01a01dbd
test edi, edi
jne 0x1a01cfc
cmp dword [ebp - 0x1c], 0
jne 0x1a01c94
mov eax, dword [esi + 0x28]
mov ecx, eax
push 0x10
pop edx
mov dword [ebp - 8], eax
call fcn.01a02b2c
test eax, eax
jne 0x1a4b34b
xor edx, edx
push ecx
inc edx
mov ecx, esi
call fcn.01a01d3c
mov ecx, dword [esi + 0x18]
lea edx, [esi + 0x24]
or dword [esi + 0x34], 8
push 0x14ad
call fcn.019fe8eb
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
cmp eax, ebx
jne 0x1a01c59
mov esi, dword [ebp - 0x28]
push 0x1ac53a0
call fcn.019fbdd0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01a24a40
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 4]
jmp 0x1a01cf3
lea ecx, [esi - 0x54]
call fcn.01a0540b
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x1a01ce8
jmp 0x1a01c19
cmp byte [0x1ac8472], 0
jne 0x1a01c76
push esi
mov ecx, edi
call dword [0x1ac91d0]
call edi
or byte [esi + 0x35], 8
jmp 0x1a01c76
mov edx, dword [0x7ffe0330]
mov eax, edx
mov edi, dword [0x1ac9208]
and eax, 0x1f
push 0x20
pop ecx
sub ecx, eax
ror edi, cl
xor edi, edx
jmp 0x1a01c3c
mov dword [ebp - 0x1c], 1
jmp 0x1a01c0c
mov ecx, esi
call fcn.019d7fa2
mov dword [ebp - 0x28], eax
test eax, eax
js 0x1a01cc3
jmp 0x1a01c64
cmp dword [0x1ac8730], 0
mov ecx, dword [ebp - 8]
lea edx, [ecx + 2]
je 0x1a4b374
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0xc]
jne 0x1a4b35a
mov eax, dword [0x1ac7bcc]
sub ecx, edx
sar ecx, 1
inc eax
add eax, ecx
jmp 0x1a4b387
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0xc]
jne 0x1a4b374
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 2]
mov dword [ebp - 0x20], eax
add eax, eax
push eax
mov eax, dword fs:[0x30]
push 8
push dword [eax + 0x18]
call fcn.019f3940
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
jne 0x1a4b3e1
mov eax, dword [0x1ac5760]
test al, 3
je 0x1a4b3d3
push 0x19bd9b0
xor eax, eax
push eax
push 0x19bd9e4
push 0xaa8
push 0x19b55b0
call fcn.01a5b8e2
mov eax, dword [0x1ac5760]
add esp, 0x14
test al, 0x10
je 0x1a01c94
int3
mov edx, dword [0x1ac8730]
test edx, edx
je 0x1a4b44e
mov eax, dword [0x1ac7bcc]
add eax, eax
push eax
push edx
push ecx
mov dword [ebp - 0x18], eax
call fcn.01a287e0
mov edx, dword [ebp - 8]
add esp, 0xc
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0xc]
jne 0x1a4b40b
sub ecx, dword [ebp - 8]
sar ecx, 1
lea eax, [ecx + ecx]
mov ecx, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
add ecx, 2
push edx
add eax, ecx
push eax
call fcn.01a287e0
add esp, 0xc
xor eax, eax
push dword [0x1ac8730]
push eax
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call fcn.019f1440
jmp 0x1a4b47b
mov edx, dword [ebp - 8]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x18], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0xc]
jne 0x1a4b459
sub ecx, dword [ebp - 0x18]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
mov eax, dword [ebp - 0x10]
push edx
push eax
call fcn.01a287e0
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [0x1ac8730], eax
mov eax, dword [ebp - 0x20]
mov dword [0x1ac7bcc], eax
jmp 0x1a01c94