Function at 0x1a97c92
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0x3c
push 0x1ab0d28
call fcn.01a36178
mov dword [ebp - 0x24], edx
mov esi, ecx
mov dword [ebp - 0x34], esi
xor ebx, ebx
mov edi, ebx
mov dword [ebp - 0x28], edi
mov byte [ebp - 0x1d], bl
test dword [esi + 0x44], 0x1000000
je 0x1a97cd6
push dword [ebp + 8]
push edx
push esi
mov esi, dword [0x1ac52f0]
mov ecx, esi
call dword [0x1ac91d0]
call esi
movzx eax, al
jmp 0x1a97f38
mov dword [ebp - 4], ebx
mov dword [ebp - 4], 1
mov edx, 0x19ce930
mov ecx, esi
call fcn.019d213f
test al, al
je 0x1a97f22
mov eax, dword [esi + 0x44]
or eax, 0x10000000
mov ecx, dword [ebp - 0x24]
or ecx, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x38], ecx
test cl, 1
jne 0x1a97d24
push dword [esi + 0xc8]
call fcn.019fbe50
mov byte [ebp - 0x1d], 1
mov edx, dword [ebp - 0x24]
or edx, 1
mov dword [ebp - 0x38], edx
xor dl, dl
mov ecx, esi
call fcn.01a98b78
mov edx, dword [ebp + 8]
add edx, 0xfffffff8
cmp byte [edx + 7], 5
jne 0x1a97d42
movzx eax, byte [edx + 6]
shl eax, 3
sub edx, eax
mov dword [ebp - 0x30], edx
push 0x19ce930
mov ecx, esi
call fcn.019d2020
test al, al
je 0x1a97f27
mov eax, dword [ebp + 8]
cmp eax, dword [0x1ac6270]
mov eax, dword fs:[0x30]
jne 0x1a97dae
cmp dword [eax + 0xc], ebx
je 0x1a97d8c
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
add eax, 0x2c
push eax
push 0x19b4db0
call fcn.019dafb0
pop ecx
jmp 0x1a97d96
push 0x19b4dbc
call fcn.019dafb0
pop ecx
push dword [0x1ac6270]
push 0x19ce93c
call fcn.019dafb0
pop ecx
pop ecx
jmp 0x1a97ea1
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x40], eax
test eax, 0x800
je 0x1a97ec1
cmp dword [0x1ac6274], 0
je 0x1a97ec1
mov edi, dword [ebp - 0x30]
cmp dword [esi + 0x4c], ebx
je 0x1a97df0
mov eax, dword [esi + 0x50]
xor dword [edi], eax
mov al, byte [edi + 2]
xor al, byte [edi + 1]
xor al, byte [edi]
cmp byte [edi + 3], al
je 0x1a97df0
push ecx
mov edx, edi
mov ecx, esi
call fcn.01a915a8
mov al, byte [edi + 2]
mov byte [ebp - 0x1e], al
test al, 2
je 0x1a97e0a
mov ecx, edi
call fcn.01a110bd
mov dword [ebp - 0x44], eax
mov dx, word [eax + 2]
jmp 0x1a97e13
mov al, byte [edi + 3]
mov byte [ebp - 0x29], al
movzx edx, al
mov word [ebp - 0x24], dx
cmp dword [esi + 0x4c], ebx
je 0x1a97e33
movzx ecx, byte [edi + 1]
movzx eax, byte [edi]
xor ecx, eax
movzx eax, byte [ebp - 0x1e]
xor ecx, eax
mov byte [edi + 3], cl
mov eax, dword [esi + 0x50]
xor dword [edi], eax
test dx, dx
je 0x1a97ec1
cmp dx, word [0x1ac6274]
jne 0x1a97ec1
mov ax, word [esi + 0x7c]
cmp ax, word [0x1ac6276]
jne 0x1a97ec1
mov eax, dword fs:[0x30]
cmp dword [eax + 0xc], ebx
je 0x1a97e7a
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
add eax, 0x2c
push eax
push 0x19b4db0
call fcn.019dafb0
pop ecx
jmp 0x1a97e84
push 0x19b4dbc
call fcn.019dafb0
pop ecx
mov dx, word [ebp - 0x24]
mov ecx, esi
call fcn.01a8081a
push eax
push dword [ebp + 8]
push 0x19ce958
call fcn.019dafb0
add esp, 0xc
mov eax, dword fs:[0x30]
cmp byte [eax + 2], 0
je 0x1a97ec1
mov byte [0x1ac6255], 1
mov dword [0x1ac60a0], ebx
int3
push dword [ebp + 8]
push dword [ebp - 0x38]
push esi
call fcn.019f1440
mov edi, eax
mov dword [ebp - 0x28], edi
mov dl, 1
mov ecx, dword [ebp - 0x34]
call fcn.01a99077
xor dl, dl
mov ecx, dword [ebp - 0x34]
call fcn.01a98b78
jmp 0x1a97f27
mov edi, ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.01a97f43
mov eax, edi
call fcn.01a361c0
ret 4