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

Disassembly:
push 0x48
push 0x1ab0e60
call fcn.01a36178
mov dword [ebp - 0x28], edx
mov esi, ecx
mov dword [ebp - 0x44], esi
xor ebx, ebx
mov byte [ebp - 0x21], bl
mov dword [ebp - 0x30], ebx
test dword [esi + 0x44], 0x1000000
je 0x1a981ae
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
push esi
mov esi, dword [0x1ac52ec]
mov ecx, esi
call dword [0x1ac91d0]
call esi
jmp 0x1a98650
mov dword [ebp - 4], ebx
mov dword [ebp - 4], 1
mov edx, 0x19ce848
mov ecx, esi
call fcn.019d213f
test al, al
je 0x1a985f6
mov eax, dword [esi + 0x44]
or eax, 0x10000100
mov ecx, dword [ebp - 0x28]
or ecx, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x3c], ecx
cmp dword [ebp + 0xc], 0
je 0x1a981ea
mov edx, dword [ebp + 0xc]
jmp 0x1a981ed
xor edx, edx
inc edx
mov eax, dword [esi + 0x94]
add eax, edx
and eax, dword [esi + 0x98]
add eax, 8
mov dword [ebp - 0x48], eax
cmp eax, dword [ebp + 0xc]
jb 0x1a985b0
cmp eax, dword [esi + 0x78]
ja 0x1a985b0
xor eax, eax
mov word [ebp - 0x20], ax
test cl, 1
jne 0x1a98236
push dword [esi + 0xc8]
call fcn.019fbe50
mov byte [ebp - 0x21], 1
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x3c], edx
xor dl, dl
mov ecx, esi
call fcn.01a98b78
mov edi, dword [ebp + 8]
lea edx, [edi - 8]
cmp byte [edx + 7], 5
jne 0x1a98254
movzx eax, byte [edx + 6]
shl eax, 3
sub edx, eax
mov dword [ebp - 0x28], edx
push 0x19ce848
mov ecx, esi
call fcn.019d2020
test al, al
je 0x1a984a1
cmp edi, dword [0x1ac6268]
mov eax, dword fs:[0x30]
jne 0x1a982e5
cmp dword [eax + 0xc], ebx
je 0x1a9829b
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 0x1a982a5
push 0x19b4dbc
call fcn.019dafb0
pop ecx
push dword [ebp + 0xc]
push dword [0x1ac6268]
push 0x19ce85c
call fcn.019dafb0
add esp, 0xc
mov eax, dword fs:[0x30]
cmp byte [eax + 2], 0
je 0x1a983e4
mov byte [0x1ac6255], 1
mov dword [0x1ac60a0], ebx
int3
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x4c], eax
test eax, 0x800
je 0x1a983e4
cmp dword [0x1ac626c], 0
je 0x1a983e4
mov edi, dword [ebp - 0x28]
cmp dword [esi + 0x4c], ebx
je 0x1a98327
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 0x1a98327
push ecx
mov edx, edi
mov ecx, esi
call fcn.01a915a8
mov ah, byte [edi + 2]
test ah, 2
je 0x1a98346
mov ecx, edi
call fcn.01a110bd
mov dword [ebp - 0x38], eax
mov dx, word [eax + 2]
mov word [ebp - 0x20], dx
mov ah, byte [edi + 2]
jmp 0x1a98353
mov al, byte [edi + 3]
mov byte [ebp - 0x31], al
movzx edx, al
mov word [ebp - 0x20], dx
cmp dword [esi + 0x4c], ebx
je 0x1a9836e
movzx ecx, byte [edi + 1]
movzx eax, ah
xor ecx, eax
movzx eax, byte [edi]
xor ecx, eax
mov byte [edi + 3], cl
mov eax, dword [esi + 0x50]
xor dword [edi], eax
test dx, dx
je 0x1a983e1
cmp dx, word [0x1ac626c]
jne 0x1a983e1
mov ax, word [esi + 0x7c]
cmp ax, word [0x1ac626e]
jne 0x1a983e1
mov eax, dword fs:[0x30]
cmp dword [eax + 0xc], ebx
je 0x1a983b1
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 0x1a983bb
push 0x19b4dbc
call fcn.019dafb0
pop ecx
mov dx, word [ebp - 0x20]
mov ecx, esi
call fcn.01a8081a
push eax
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push edi
push 0x19ce88c
call fcn.019dafb0
add esp, 0x10
jmp 0x1a982bc
mov edi, dword [ebp + 8]
push dword [ebp + 0xc]
push edi
push dword [ebp - 0x3c]
push esi
call fcn.019f01b0
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1a9848f
lea edi, [eax - 8]
cmp byte [edi + 7], 5
jne 0x1a9840e
movzx eax, byte [edi + 6]
shl eax, 3
sub edi, eax
mov dword [ebp - 0x28], edi
cmp dword [esi + 0x4c], ebx
je 0x1a98432
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 0x1a98432
push ecx
mov edx, edi
mov ecx, esi
call fcn.01a915a8
test byte [edi + 2], 2
je 0x1a98466
mov ecx, edi
call fcn.01a110bd
mov dword [ebp - 0x38], eax
xor ecx, ecx
test dword [esi + 0x40], 0x8000000
je 0x1a9845d
inc ecx
call fcn.019e058b
mov ecx, dword [ebp - 0x38]
mov word [ecx], ax
mov eax, ecx
jmp 0x1a98460
mov word [eax], cx
mov ax, word [eax + 2]
jmp 0x1a9846f
mov al, byte [edi + 3]
mov byte [ebp - 0x32], al
movzx eax, al
mov word [ebp - 0x20], ax
cmp dword [esi + 0x4c], ebx
je 0x1a9848f
movzx ecx, byte [edi + 1]
movzx eax, byte [edi + 2]
xor ecx, eax
movzx eax, byte [edi]
xor ecx, eax
mov byte [edi + 3], cl
mov eax, dword [esi + 0x50]
xor dword [edi], eax
mov dl, 1
mov ecx, esi
call fcn.01a99077
xor dl, dl
mov ecx, esi
call fcn.01a98b78
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1a985f9
cmp eax, dword [0x1ac6268]
mov eax, dword fs:[0x30]
jne 0x1a98526
cmp dword [eax + 0xc], ebx
je 0x1a984dc
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 0x1a984e6
push 0x19b4dbc
call fcn.019dafb0
pop ecx
push dword [ebp + 0xc]
push dword [0x1ac6268]
push 0x19ce8c8
call fcn.019dafb0
add esp, 0xc
mov eax, dword fs:[0x30]
cmp byte [eax + 2], 0
je 0x1a985f9
mov byte [0x1ac6255], 1
mov dword [0x1ac60a0], ebx
int3
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x50], eax
test eax, 0x800
je 0x1a985f9
mov ax, word [ebp - 0x20]
cmp ax, word [0x1ac626c]
jne 0x1a985f9
mov ax, word [esi + 0x7c]
cmp ax, word [0x1ac626e]
jne 0x1a985f9
mov eax, dword fs:[0x30]
cmp dword [eax + 0xc], ebx
je 0x1a98581
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 0x1a9858b
push 0x19b4dbc
call fcn.019dafb0
pop ecx
mov dx, word [ebp - 0x20]
mov ecx, esi
call fcn.01a8081a
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x30]
push 0x19ce8f4
call fcn.019dafb0
add esp, 0x10
jmp 0x1a984fd
mov eax, dword fs:[0x30]
cmp dword [eax + 0xc], ebx
je 0x1a985d8
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 0x1a985e2
push 0x19b4dbc
call fcn.019dafb0
pop ecx
push dword [esi + 0x78]
push dword [ebp + 0xc]
push 0x19ce7b0
call fcn.019dafb0
add esp, 0xc
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
jmp 0x1a98641
mov dword [ebp - 4], 0xfffffffe
call fcn.01a9865b
mov eax, dword [ebp - 0x30]
call fcn.01a361c0
ret 8