Function at 0x77471be1
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x7753d344]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x1c], edi
cmp dword [0x77538730], edi
jne 0x774bb328
cmp byte [0x775384d8], 0
je 0x77471ce3
mov eax, dword fs:[0x30]
push 0x775353a0
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x14], eax
call fcn.7746be50
cmp byte [0x77538470], 0
jne 0x77471d1d
xor eax, eax
mov esi, eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x77471cc6
mov ecx, dword [ebp - 0x14]
and ecx, 0x100
mov dword [ebp - 0x14], ecx
lea esi, [eax - 0x54]
test ecx, ecx
jne 0x774bb334
xor eax, eax
mov ecx, esi
push eax
call fcn.77471dbd
test edi, edi
jne 0x77471cfc
cmp dword [ebp - 0x1c], 0
jne 0x77471c94
mov eax, dword [esi + 0x28]
mov ecx, eax
push 0x10
pop edx
mov dword [ebp - 8], eax
call fcn.77472b2c
test eax, eax
jne 0x774bb34b
xor edx, edx
push ecx
inc edx
mov ecx, esi
call fcn.77471d3c
mov ecx, dword [esi + 0x18]
lea edx, [esi + 0x24]
or dword [esi + 0x34], 8
push 0x14ad
call fcn.7746e8eb
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
cmp eax, ebx
jne 0x77471c59
mov esi, dword [ebp - 0x28]
push 0x775353a0
call fcn.7746bdd0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.77494a40
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 4]
jmp 0x77471cf3
lea ecx, [esi - 0x54]
call fcn.7747540b
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x77471ce8
jmp 0x77471c19
cmp byte [0x77538472], 0
jne 0x77471c76
push esi
mov ecx, edi
call dword [0x775391d0]
call edi
or byte [esi + 0x35], 8
jmp 0x77471c76
mov edx, dword [0x7ffe0330]
mov eax, edx
mov edi, dword [0x77539208]
and eax, 0x1f
push 0x20
pop ecx
sub ecx, eax
ror edi, cl
xor edi, edx
jmp 0x77471c3c
mov dword [ebp - 0x1c], 1
jmp 0x77471c0c
mov ecx, esi
call fcn.77447fa2
mov dword [ebp - 0x28], eax
test eax, eax
js 0x77471cc3
jmp 0x77471c64
cmp dword [0x77538730], 0
mov ecx, dword [ebp - 8]
lea edx, [ecx + 2]
je 0x774bb374
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0xc]
jne 0x774bb35a
mov eax, dword [0x77537bcc]
sub ecx, edx
sar ecx, 1
inc eax
add eax, ecx
jmp 0x774bb387
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0xc]
jne 0x774bb374
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 2]
mov dword [ebp - 0x20], eax
add eax, eax
push eax
mov eax, dword fs:[0x30]
push 8
push dword [eax + 0x18]
call fcn.77463940
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
jne 0x774bb3e1
mov eax, dword [0x77535760]
test al, 3
je 0x774bb3d3
push 0x7742d9b0
xor eax, eax
push eax
push 0x7742d9e4
push 0xaa8
push 0x774255b0
call fcn.774cb8e2
mov eax, dword [0x77535760]
add esp, 0x14
test al, 0x10
je 0x77471c94
int3
mov edx, dword [0x77538730]
test edx, edx
je 0x774bb44e
mov eax, dword [0x77537bcc]
add eax, eax
push eax
push edx
push ecx
mov dword [ebp - 0x18], eax
call fcn.774987e0
mov edx, dword [ebp - 8]
add esp, 0xc
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 8], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0xc]
jne 0x774bb40b
sub ecx, dword [ebp - 8]
sar ecx, 1
lea eax, [ecx + ecx]
mov ecx, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
add ecx, 2
push edx
add eax, ecx
push eax
call fcn.774987e0
add esp, 0xc
xor eax, eax
push dword [0x77538730]
push eax
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call fcn.77461440
jmp 0x774bb47b
mov edx, dword [ebp - 8]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x18], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0xc]
jne 0x774bb459
sub ecx, dword [ebp - 0x18]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
mov eax, dword [ebp - 0x10]
push edx
push eax
call fcn.774987e0
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [0x77538730], eax
mov eax, dword [ebp - 0x20]
mov dword [0x77537bcc], eax
jmp 0x77471c94