Function at 0x19d95c4
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, ecx
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], 7
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov byte [esp + 7], cl
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
test eax, eax
je 0x1a38f34
test ebx, ebx
je 0x1a38f34
cmp dword [ebp + 0x14], ecx
je 0x1a38f34
mov esi, dword [ebp + 8]
mov byte [ebx], cl
cmp esi, 1
je 0x19d962e
test esi, esi
jne 0x1a38e96
push 0x19b46b8
lea eax, [esp + 0x34]
push eax
call fcn.01a24f40
lea eax, [esp + 0x30]
mov dword [esp + 0x38], 0x18
mov dword [esp + 0x40], eax
xor ecx, ecx
lea eax, [esp + 0x38]
mov dword [esp + 0x18], ecx
push eax
push 0x20019
lea eax, [esp + 0x20]
mov dword [esp + 0x44], ecx
push eax
mov dword [esp + 0x50], 0x40
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
call fcn.01a22a60
test eax, eax
jns 0x1a38ea0
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp esi, 1
jne 0x19d9696
test ecx, ecx
jne 0x1a38ed0
lea eax, [esp + 0x20]
xor edx, edx
push eax
push ecx
push ecx
mov ecx, 0x2000000
call fcn.019d9a61
mov esi, eax
test esi, esi
js 0x19d993a
cmp dword [ebp + 8], 1
jne 0x19d98a5
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x20]
push dword [esp + 0x28]
call fcn.019d9cb0
mov edi, dword [esp + 0x10]
mov esi, eax
test esi, esi
je 0x1a38ef8
push 0x19b4770
lea eax, [esp + 0x34]
push eax
call fcn.01a24f40
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0x54], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x50]
push eax
push 0x20019
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
push eax
mov dword [esp + 0x5c], 0x18
mov dword [esp + 0x68], 0x40
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
call fcn.01a22a60
mov esi, eax
test esi, esi
js 0x19d993a
cmp dword [ebp + 0xc], 3
mov eax, 0x19b49c8
jne 0x1a38f05
push eax
lea eax, [esp + 0x34]
push eax
call fcn.01a24f40
xor esi, esi
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
push eax
push esi
lea eax, [esp + 0x30]
push eax
lea edx, [esp + 0x40]
call fcn.019d9971
mov ecx, eax
mov esi, 0xc0000034
cmp ecx, esi
je 0x19d9917
mov eax, dword [esp + 0x28]
test eax, eax
je 0x19d9917
cmp ecx, 0x80000005
jne 0x19d9861
add eax, 2
push eax
mov eax, dword fs:[0x30]
push 8
push dword [eax + 0x18]
call fcn.019f3940
mov edi, eax
mov dword [esp + 0x2c], edi
test edi, edi
je 0x1a38f0f
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
push eax
push edi
lea eax, [esp + 0x30]
push eax
lea edx, [esp + 0x40]
call fcn.019d9971
mov esi, eax
test esi, esi
js 0x19d980a
cmp dword [esp + 0x24], 7
jne 0x1a38f19
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
xor eax, eax
mov edx, edi
cmp dword [ebp + 8], 1
push 1
setne al
add eax, 2
push eax
mov eax, dword [esp + 0x34]
push 8
shr eax, 1
push eax
call fcn.019e4c4b
mov esi, eax
mov edi, dword [esp + 0x10]
test esi, esi
jne 0x19d9855
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x19d982d
test edi, edi
je 0x19d994a
cmp word [edi + 4], ax
je 0x19d994a
mov ebx, dword [esp + 0x1c]
test edi, edi
jne 0x19d9850
xor eax, eax
cmp ecx, 1
push ebx
setne dl
xor ecx, ecx
inc ecx
call fcn.019e83eb
mov edi, eax
test edi, edi
je 0x1a38f3e
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x19d9923
xor ebx, ebx
cmp dword [esp + 0x14], 0
je 0x19d9877
push dword [esp + 0x14]
call fcn.01a22a30
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x19d988f
cmp eax, 0xffffffff
je 0x19d988b
push eax
call dword [0x19b7748]
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x18], 0
jne 0x1a38f48
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x19b4730
lea eax, [esp + 0x34]
push eax
call fcn.01a24f40
mov eax, dword [esp + 0x20]
xor esi, esi
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x68]
push eax
push 0x20019
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], esi
push eax
mov dword [esp + 0x74], 0x18
mov dword [esp + 0x80], 0x40
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
call fcn.01a22a60
test eax, eax
js 0x19d9942
push 0x19b4990
lea eax, [esp + 0x34]
push eax
call fcn.01a24f40
jmp 0x19d9754
xor eax, eax
mov byte [ebx], 1
mov esi, eax
jmp 0x19d9814
push eax
mov eax, dword fs:[0x30]
xor ebx, ebx
push ebx
push dword [eax + 0x18]
call fcn.019f1440
jmp 0x19d9863
mov byte [ebx], 1
jmp 0x19d980e
mov byte [ebx], 1
jmp 0x19d9812
lea eax, [esp + 0x10]
push eax
push ebx
mov ebx, dword [esp + 0x24]
mov ecx, ebx
call fcn.019d1d85
mov edi, dword [esp + 0x10]
mov esi, eax
test esi, esi
jne 0x19d9850
mov ecx, dword [ebp + 8]
jmp 0x19d9831
mov esi, 0xc000000d
jmp 0x19d989a
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.019d1cd0
mov edi, dword [esp + 0x10]
mov esi, eax
test esi, esi
jne 0x1a38ec4
test edi, edi
jne 0x19d9812
mov ecx, dword [esp + 0x18]
mov esi, dword [ebp + 8]
jmp 0x19d9689
lea edx, [esp + 0xf]
call fcn.01a8ecc1
test eax, eax
js 0x19d9696
mov al, byte [esp + 0xf]
dec al
movzx eax, al
neg eax
sbb eax, eax
and esi, eax
mov dword [ebp + 8], esi
jmp 0x19d9696
test edi, edi
jne 0x19d9850
jmp 0x19d96dd
mov eax, 0x19c2ccc
jmp 0x19d9747
mov esi, 0xc0000017
jmp 0x19d9861
cmp dword [esp + 0x24], 1
je 0x19d97e0
mov edi, dword [esp + 0x10]
xor eax, eax
mov esi, eax
mov byte [ebx], 1
jmp 0x19d9814
mov esi, 0xc000000d
jmp 0x19d980e
mov esi, 0xc0000017
jmp 0x19d9850
push dword [esp + 0x18]
call fcn.01a22a30
jmp 0x19d989a