Function at 0x10011120
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002e5ed
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10039040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x100397b0]
mov eax, dword [0x100397b8]
mov edi, dword [ebp + 0x1c]
add eax, 0x10
mov ecx, dword [ebp + 0x20]
lea edx, [esi + 0xc]
mov dword [0x100397b8], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0x203a7325
mov word [ebp - 0x14], 0x6925
mov byte [ebp - 0x12], 0
mov dword [ebp - 4], 1
add eax, 7
push dword [edi]
mov dword [ebp - 0x20], 0xc8ffffff
add esi, 0xffffffd1
push ecx
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 0x20]
push eax
mov eax, dword [0x10039770]
cdq
sub eax, edx
sar eax, 1
add eax, dword [0x10039758]
add eax, esi
push eax
push 1
push 0
push 0x10039710
call fcn.1000dbe0
mov esi, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 4], 0xffffffff
add esp, 0x24
mov ebx, dword [edi]
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
mov byte [ebp - 0x12], al
mov eax, dword [ebp + 0x10]
add eax, 0xa
mov dword [ebp + 0x10], eax
cmp ebx, esi
jle 0x100111e7
mov dword [edi], esi
mov ebx, esi
test ebx, ebx
jns 0x100111f3
mov dword [edi], 0
xor ebx, ebx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffffd
cmp byte [0x10039a74], 0
je 0x1001124f
mov edx, dword [0x10039e74]
cmp edx, ecx
jle 0x1001124f
add eax, 6
add eax, ecx
cmp eax, edx
jle 0x1001124f
mov eax, dword [0x10039d5c]
mov ecx, dword [0x100397b8]
cmp eax, ecx
jle 0x1001124f
add ecx, 0x10
cmp ecx, eax
jle 0x1001124f
sub edx, dword [ebp - 0x1c]
imul edx, esi
mov eax, edx
cdq
idiv dword [ebp + 0x10]
mov ebx, eax
mov dword [edi], ebx
cmp ebx, esi
jle 0x10011243
mov dword [edi], esi
mov ebx, esi
test ebx, ebx
jns 0x1001124f
mov dword [edi], 0
xor ebx, ebx
mov ecx, dword [0x10039d08]
mov esi, dword [0x100397b8]
push 0xff505050
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10039d08]
lea eax, [esi + 1]
mov edi, dword [ebp - 0x1c]
add edi, dword [ebp + 0x10]
push eax
mov edx, dword [ecx]
push edi
push esi
push dword [ebp - 0x1c]
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [0x10039d08]
mov esi, dword [0x100397b8]
push 0xff4e4e4e
inc esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10039d08]
lea eax, [esi + 1]
push eax
push edi
push esi
mov edx, dword [ecx]
push dword [ebp - 0x1c]
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [0x10039d08]
mov esi, dword [0x100397b8]
push 0xff4c4c4c
add esi, 2
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10039d08]
lea eax, [esi + 1]
push eax
push edi
push esi
mov edx, dword [ecx]
push dword [ebp - 0x1c]
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [0x10039d08]
mov esi, dword [0x100397b8]
push 0xff484848
add esi, 3
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10039d08]
lea eax, [esi + 1]
push eax
push edi
push esi
mov edx, dword [ecx]
push dword [ebp - 0x1c]
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [0x10039d08]
mov esi, dword [0x100397b8]
push 0xff444444
add esi, 4
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10039d08]
lea eax, [esi + 1]
push eax
push edi
push esi
mov edx, dword [ecx]
push dword [ebp - 0x1c]
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [0x10039d08]
mov esi, dword [0x100397b8]
push 0xff424242
add esi, 5
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10039d08]
lea eax, [esi + 1]
push eax
push edi
push esi
mov edx, dword [ecx]
push dword [ebp - 0x1c]
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [0x10039d08]
mov esi, dword [0x100397b8]
push 0xff404040
add esi, 6
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10039d08]
lea eax, [esi + 9]
push eax
push edi
push esi
mov edx, dword [ecx]
push dword [ebp - 0x1c]
mov eax, dword [edx + 0x30]
call eax
imul ebx, dword [ebp + 0x10]
push 0x80
push dword [0x1004aa7c]
push dword [0x1004aa78]
mov eax, ebx
mov ebx, dword [ebp - 0x1c]
cdq
idiv dword [ebp + 0x18]
push 0xf
push eax
push dword [0x100397b8]
push ebx
call fcn.1000e040
mov ecx, dword [0x10039d08]
mov esi, dword [0x100397b8]
push 0xff333333
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10039d08]
lea eax, [esi + 0xf]
push eax
push edi
push esi
mov edx, dword [ecx]
push ebx
mov eax, dword [edx + 0x38]
call eax
mov ecx, dword [0x10039d08]
mov esi, dword [0x100397b8]
push 0xff5b5b5b
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10039d08]
lea eax, [esi + 1]
push eax
lea eax, [edi - 1]
push eax
mov edx, dword [ecx]
push esi
push ebx
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [0x10039d08]
mov esi, dword [0x100397b8]
push 0xff5b5b5b
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10039d08]
lea eax, [esi + 0xe]
push eax
lea eax, [ebx + 1]
push eax
mov edx, dword [ecx]
push esi
push ebx
mov eax, dword [edx + 0x30]
call eax
inc dword [0x100397bc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002ba3e
mov esp, ebp
pop ebp
ret 0x1c