Function at 0x55c744
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
mov ebx, ecx
xor eax, eax
push ebp
push 0x55c98b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax], 5
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
movzx edx, byte [ebp + 0x10]
mov byte [eax + 1], dl
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 2], 0
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00547420
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x55c7a0
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x55c82a
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 3], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 4], 0x10
mov eax, dword [ebp + 8]
mov dword [eax], 5
mov edx, ebx
mov eax, dword [0x55be10]
call fcn.0055bf14
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x55c818
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x55c802
push 4
push 0x10
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0055beb0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.00546d50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55c81f
lea eax, [ebp - 8]
call fcn.0040f6c4
ret
mov eax, dword [0x5b701c]
mov eax, dword [eax]
mov edx, ebx
call fcn.005547f4
test al, al
je 0x55c8ac
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 3], 1
mov edx, ebx
mov eax, dword [0x55be10]
call fcn.0055bf14
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x55c89a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x55c884
push 4
push 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.0055beb0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.00546d50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55c8a1
lea eax, [ebp - 8]
call fcn.0040f6c4
ret
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov byte [eax + 3], 3
mov esi, ebx
mov eax, esi
test eax, eax
je 0x55c8c2
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov byte [edx + 4], al
mov eax, dword [ebp + 8]
mov dword [eax], 5
mov eax, esi
test eax, eax
je 0x55c8de
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x55c90d
lea ecx, [ebp - 4]
mov dl, 1
mov eax, ebx
call fcn.00548314
mov eax, esi
test eax, eax
je 0x55c8f9
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp + 8]
mov edx, dword [edx]
push edx
push eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00546d50
mov eax, esi
test eax, eax
je 0x55c918
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp + 8]
add dword [edx], eax
mov eax, dword [0x5b701c]
mov eax, dword [eax]
movzx edx, word [ebp + 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
push 2
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.005486b8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
xor edx, edx
call fcn.00546d50
mov eax, dword [ebp + 8]
add dword [eax], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55c992
lea eax, [ebp - 0x1c]
mov edx, dword [0x546864]
mov ecx, 3
call fcn.00405824
lea eax, [ebp - 0xc]
call fcn.00404c40
lea eax, [ebp - 4]
mov edx, dword [0x546864]
call fcn.004061ec
ret