Function at 0x10010f90
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002e35d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1003800c]
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 [0x10038830]
mov ecx, dword [0x10038838]
mov edi, dword [ebp + 0x1c]
add ecx, 0x10
mov eax, dword [ebp + 0x20]
lea edx, [esi + 0xc]
mov dword [0x10038838], ecx
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 esi, 0xffffffd1
push dword [edi]
mov dword [ebp - 0x20], 0xc8ffffff
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
lea eax, [ecx + 7]
push eax
mov eax, dword [0x100387f0]
cdq
sub eax, edx
sar eax, 1
add eax, dword [0x100387d8]
add eax, esi
push eax
push 1
push 0
push 0x10038790
call fcn.1000dac0
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 0x10011059
mov dword [edi], esi
mov ebx, esi
test ebx, ebx
jns 0x10011065
mov dword [edi], 0
xor ebx, ebx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffffd
cmp byte [0x10038f00], 0
je 0x100110c1
mov edx, dword [0x10038eec]
cmp edx, ecx
jle 0x100110c1
add eax, 6
add eax, ecx
cmp eax, edx
jle 0x100110c1
mov eax, dword [0x10038dd4]
mov ecx, dword [0x10038838]
cmp eax, ecx
jle 0x100110c1
add ecx, 0x10
cmp ecx, eax
jle 0x100110c1
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 0x100110b5
mov dword [edi], esi
mov ebx, esi
test ebx, ebx
jns 0x100110c1
mov dword [edi], 0
xor ebx, ebx
mov ecx, dword [0x10038db8]
mov esi, dword [0x10038838]
push 0xff505050
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10038db8]
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 [0x10038db8]
mov esi, dword [0x10038838]
push 0xff4e4e4e
inc esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10038db8]
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 [0x10038db8]
mov esi, dword [0x10038838]
push 0xff4c4c4c
add esi, 2
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10038db8]
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 [0x10038db8]
mov esi, dword [0x10038838]
push 0xff484848
add esi, 3
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10038db8]
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 [0x10038db8]
mov esi, dword [0x10038838]
push 0xff444444
add esi, 4
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10038db8]
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 [0x10038db8]
mov esi, dword [0x10038838]
push 0xff424242
add esi, 5
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10038db8]
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 [0x10038db8]
mov esi, dword [0x10038838]
push 0xff404040
add esi, 6
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10038db8]
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 [0x10049a1c]
push dword [0x10049a18]
mov eax, ebx
mov ebx, dword [ebp - 0x1c]
cdq
idiv dword [ebp + 0x18]
push 0xf
push eax
push dword [0x10038838]
push ebx
call fcn.1000df40
mov ecx, dword [0x10038db8]
mov esi, dword [0x10038838]
push 0xff333333
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10038db8]
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 [0x10038db8]
mov esi, dword [0x10038838]
push 0xff5b5b5b
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10038db8]
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 [0x10038db8]
mov esi, dword [0x10038838]
push 0xff5b5b5b
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10038db8]
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 [0x1003883c]
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.1002b17d
mov esp, ebp
pop ebp
ret 0x1c