Function at 0x774fc450
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0x18
push 0x77520c88
call fcn.774a611c
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 0x774fc48c
mov al, byte [0x7ffe02d4]
and al, 3
cmp al, 3
sete al
test al, al
je 0x774fc735
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
xor esi, esi
cmp dword [eax], 0xc0000005
je 0x774fc670
cmp dword [eax], 0xc0000006
je 0x774fc5f9
cmp dword [eax], 0xc0000194
je 0x774fc512
push dword [ebp + 0xc]
push ecx
cmp dword [eax], 0xc0000409
je 0x774fc4d8
push dword [eax]
push 0x7743d514
push esi
push 0x65
pop edi
push edi
call fcn.77445380
add esp, 0x18
jmp 0x774fc6d4
push 0x7743d3a0
push esi
push 0x65
pop edi
push edi
call fcn.77445380
add esp, 0x14
push 0x7743d3d8
push esi
push edi
call fcn.77445380
add esp, 0xc
push 0x7743d458
push esi
push edi
call fcn.77445380
add esp, 0xc
push 0x7743d4b0
jmp 0x774fc6ca
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x774fc5f1
mov dword [ebp - 4], esi
mov edx, dword [eax]
mov dword [ebp - 0x24], edx
test edx, edx
je 0x774fc57b
cmp word [edx], 1
jne 0x774fc57b
push dword [ebp + 0xc]
push ecx
push eax
push 0x7743cf70
push esi
push 0x65
pop edi
push edi
call fcn.77445380
add esp, 0x18
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
jns 0x774fc560
push dword [eax + 0x2c]
push 0x7743cf9c
jmp 0x774fc568
jle 0x774fc574
push ecx
push 0x7743cfcc
push esi
push edi
call fcn.77445380
add esp, 0x10
jmp 0x774fc5ca
push 0x7743cff8
jmp 0x774fc5c0
push dword [ebp + 0xc]
push ecx
push eax
push 0x7743d058
push esi
push 0x65
pop edi
push edi
call fcn.77445380
add esp, 0x18
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xc], 0
je 0x774fc5bb
push dword [eax + 0xc]
push 0x7743d08c
push esi
push edi
call fcn.77445380
push 0x7743d0c0
push esi
push edi
call fcn.77445380
add esp, 0x1c
jmp 0x774fc5ca
push 0x7743d108
push esi
push edi
call fcn.77445380
add esp, 0xc
mov dword [ebp - 4], 0xfffffffe
jmp 0x774fc6d4
push 0x65
pop edi
jmp 0x774fc6d4
push dword [ebp + 0xc]
push ecx
push 0x7743d170
push esi
push 0x65
pop edi
push edi
call fcn.77445380
add esp, 0x14
mov eax, dword [ebx]
push dword [eax + 0x18]
push dword [eax + 0xc]
push 0x7743d190
push esi
push edi
call fcn.77445380
add esp, 0x14
mov eax, dword [ebx]
push dword [eax + 0x1c]
push 0x7743d1c0
push esi
push edi
call fcn.77445380
add esp, 0x10
mov eax, dword [ebx]
mov eax, dword [eax + 0x1c]
cmp eax, 0xc000009a
je 0x774fc669
cmp eax, 0xc000009c
je 0x774fc662
cmp eax, 0xc000016a
je 0x774fc662
cmp eax, 0xc0000185
jne 0x774fc6d4
push 0x7743d2b8
jmp 0x774fc6ca
push 0x7743d248
jmp 0x774fc6ca
push 0x7743d1e8
jmp 0x774fc6ca
push dword [ebp + 0xc]
push ecx
push 0x7743d304
push esi
push 0x65
pop edi
push edi
call fcn.77445380
add esp, 0x14
mov eax, dword [ebx]
cmp dword [eax + 0x14], esi
mov ecx, 0x7743d334
jne 0x774fc697
mov ecx, 0x7743d340
push ecx
push dword [eax + 0xc]
push 0x7743d34c
push esi
push edi
call fcn.77445380
add esp, 0x14
mov eax, dword [ebx]
cmp dword [eax + 0x18], esi
je 0x774fc6c5
push dword [eax + 0x18]
push 0x7743d370
push esi
push edi
call fcn.77445380
add esp, 0x10
jmp 0x774fc6d4
push 0x7743d38c
push esi
push edi
call fcn.77445380
add esp, 0xc
push dword [ebx]
push 0x7743d548
push esi
push edi
call fcn.77445380
add esp, 0x10
mov eax, dword [ebx]
cmp dword [eax], 0xc0000409
je 0x774fc701
push dword [ebx + 4]
push 0x7743d578
push esi
push edi
call fcn.77445380
add esp, 0x10
push 0x7743d5a0
push esi
push edi
call fcn.77445380
add esp, 0xc
int3
xor esi, esi
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
cmp dword [eax], 0xc0000409
jne 0x774fc74e
push esi
push dword [ebx + 4]
push eax
call fcn.774d5650
mov ecx, dword [ebx]
xor eax, eax
cmp dword [ecx], 0xc0000194
setne al
dec eax
call fcn.774a6161
ret 8