Function at 0x1000b610
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1000ffb1
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10015078]
xor eax, esp
mov dword [esp + 0x6c], eax
push esi
push edi
mov eax, dword [0x10015078]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
mov word [esp + 0x20], ax
mov esi, ecx
mov eax, ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000b670
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea ecx, [esp + 0x24]
call fcn.100010b0
add esi, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x88], edi
push ecx
mov eax, esi
mov dword [esp + 0x1c], esi
call fcn.10001640
mov dword [esp + 0xc], eax
cmp eax, dword [esi + 4]
je 0x1000b6d4
mov edi, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 8
jb 0x1000b6bc
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x24]
call fcn.10001270
test eax, eax
js 0x1000b6d4
lea eax, [esp + 0xc]
jmp 0x1000b6df
mov edx, dword [esi + 4]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x14]
mov esi, dword [eax]
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x34], 8
jb 0x1000b700
mov eax, dword [esp + 0x20]
push eax
call fcn.10003426
add esp, 4
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], cx
cmp esi, dword [edx + 8]
jne 0x1000b861
push 0x24
call fcn.10003482
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
xor edi, edi
mov dword [esp + 0x88], 1
cmp esi, edi
je 0x1000b785
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000b760
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
mov ecx, esi
call fcn.100010b0
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esp + 0xc], esi
jmp 0x1000b789
mov dword [esp + 0xc], edi
mov dword [esp + 0x88], 0xffffffff
mov esi, 7
xor ecx, ecx
mov eax, ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], edi
mov word [esp + 0x5c], cx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000b7b0
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea ecx, [esp + 0x60]
call fcn.100010b0
mov dword [esp + 0x88], 2
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], edi
xor edx, edx
lea edi, [esp + 0x5c]
lea esi, [esp + 0x3c]
mov word [esp + 0x3c], dx
call fcn.10002030
mov edi, dword [esp + 0xc]
mov dword [esp + 0x58], edi
mov byte [esp + 0x88], 3
mov ecx, esi
mov esi, dword [esp + 0x18]
mov edx, esi
call fcn.10001f60
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.10001b30
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x1000b833
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.10003426
add esp, 4
xor edx, edx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], dx
cmp dword [esp + 0x70], esi
jb 0x1000b85d
mov eax, dword [esp + 0x5c]
push eax
call fcn.10003426
add esp, 4
mov eax, edi
jmp 0x1000b864
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.10002df0
mov esp, ebp
pop ebp
ret