Function at 0x774495c4
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 0x774a8f34
test ebx, ebx
je 0x774a8f34
cmp dword [ebp + 0x14], ecx
je 0x774a8f34
mov esi, dword [ebp + 8]
mov byte [ebx], cl
cmp esi, 1
je 0x7744962e
test esi, esi
jne 0x774a8e96
push 0x774246b8
lea eax, [esp + 0x34]
push eax
call fcn.77494f40
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.77492a60
test eax, eax
jns 0x774a8ea0
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp esi, 1
jne 0x77449696
test ecx, ecx
jne 0x774a8ed0
lea eax, [esp + 0x20]
xor edx, edx
push eax
push ecx
push ecx
mov ecx, 0x2000000
call fcn.77449a61
mov esi, eax
test esi, esi
js 0x7744993a
cmp dword [ebp + 8], 1
jne 0x774498a5
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x20]
push dword [esp + 0x28]
call fcn.77449cb0
mov edi, dword [esp + 0x10]
mov esi, eax
test esi, esi
je 0x774a8ef8
push 0x77424770
lea eax, [esp + 0x34]
push eax
call fcn.77494f40
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.77492a60
mov esi, eax
test esi, esi
js 0x7744993a
cmp dword [ebp + 0xc], 3
mov eax, 0x774249c8
jne 0x774a8f05
push eax
lea eax, [esp + 0x34]
push eax
call fcn.77494f40
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.77449971
mov ecx, eax
mov esi, 0xc0000034
cmp ecx, esi
je 0x77449917
mov eax, dword [esp + 0x28]
test eax, eax
je 0x77449917
cmp ecx, 0x80000005
jne 0x77449861
add eax, 2
push eax
mov eax, dword fs:[0x30]
push 8
push dword [eax + 0x18]
call fcn.77463940
mov edi, eax
mov dword [esp + 0x2c], edi
test edi, edi
je 0x774a8f0f
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.77449971
mov esi, eax
test esi, esi
js 0x7744980a
cmp dword [esp + 0x24], 7
jne 0x774a8f19
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.77454c4b
mov esi, eax
mov edi, dword [esp + 0x10]
test esi, esi
jne 0x77449855
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x7744982d
test edi, edi
je 0x7744994a
cmp word [edi + 4], ax
je 0x7744994a
mov ebx, dword [esp + 0x1c]
test edi, edi
jne 0x77449850
xor eax, eax
cmp ecx, 1
push ebx
setne dl
xor ecx, ecx
inc ecx
call fcn.774583eb
mov edi, eax
test edi, edi
je 0x774a8f3e
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x77449923
xor ebx, ebx
cmp dword [esp + 0x14], 0
je 0x77449877
push dword [esp + 0x14]
call fcn.77492a30
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x7744988f
cmp eax, 0xffffffff
je 0x7744988b
push eax
call dword [0x77427748]
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x18], 0
jne 0x774a8f48
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x77424730
lea eax, [esp + 0x34]
push eax
call fcn.77494f40
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.77492a60
test eax, eax
js 0x77449942
push 0x77424990
lea eax, [esp + 0x34]
push eax
call fcn.77494f40
jmp 0x77449754
xor eax, eax
mov byte [ebx], 1
mov esi, eax
jmp 0x77449814
push eax
mov eax, dword fs:[0x30]
xor ebx, ebx
push ebx
push dword [eax + 0x18]
call fcn.77461440
jmp 0x77449863
mov byte [ebx], 1
jmp 0x7744980e
mov byte [ebx], 1
jmp 0x77449812
lea eax, [esp + 0x10]
push eax
push ebx
mov ebx, dword [esp + 0x24]
mov ecx, ebx
call fcn.77441d85
mov edi, dword [esp + 0x10]
mov esi, eax
test esi, esi
jne 0x77449850
mov ecx, dword [ebp + 8]
jmp 0x77449831
mov esi, 0xc000000d
jmp 0x7744989a
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.77441cd0
mov edi, dword [esp + 0x10]
mov esi, eax
test esi, esi
jne 0x774a8ec4
test edi, edi
jne 0x77449812
mov ecx, dword [esp + 0x18]
mov esi, dword [ebp + 8]
jmp 0x77449689
lea edx, [esp + 0xf]
call 0x774fecc1
test eax, eax
js 0x77449696
mov al, byte [esp + 0xf]
dec al
movzx eax, al
neg eax
sbb eax, eax
and esi, eax
mov dword [ebp + 8], esi
jmp 0x77449696
test edi, edi
jne 0x77449850
jmp 0x774496dd
mov eax, 0x77432ccc
jmp 0x77449747
mov esi, 0xc0000017
jmp 0x77449861
cmp dword [esp + 0x24], 1
je 0x774497e0
mov edi, dword [esp + 0x10]
xor eax, eax
mov esi, eax
mov byte [ebx], 1
jmp 0x77449814
mov esi, 0xc000000d
jmp 0x7744980e
mov esi, 0xc0000017
jmp 0x77449850
push dword [esp + 0x18]
call fcn.77492a30
jmp 0x7744989a