Function at 0x1002e470
Capabilities:
Check for peb beingdebugged flag
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007854d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1008f040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [0x100917dc]
mov ebx, dword [ebp + 0x34]
mov esi, dword [eax + 0x68]
mov eax, dword [ebp + 0x30]
mov ecx, eax
shr ecx, 0x18
mov edx, eax
mov dword [ebp - 0x14], ecx
mov ecx, eax
push dword [ebp - 0x14]
shr ecx, 0x10
movzx edi, cl
movzx ecx, al
mov eax, dword [esi]
shr edx, 8
movzx edx, dl
push edi
mov eax, dword [eax + 0x2c]
push edx
mov dword [ebp - 0x28], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edx
call eax
mov eax, dword [0x100917dc]
mov esi, dword [ebp + 0x24]
add esi, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x20]
mov ecx, dword [eax + 0x68]
add edx, dword [ebp + 0x28]
push esi
push edx
mov eax, dword [ecx]
push dword [ebp + 0x24]
mov dword [ebp - 0x18], edx
push dword [ebp + 0x20]
mov eax, dword [eax + 0x30]
call eax
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push eax
mov eax, dword [0x100917fc]
add eax, 0x2c4
push eax
mov eax, dword [0x100917dc]
push dword [eax + 0xd8]
mov eax, dword [ebp + 0x24]
inc eax
push 2
push eax
mov eax, dword [ebp + 0x28]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp + 0x20]
push eax
push dword [0x10091804]
call fcn.100109e0
mov eax, dword [0x100917dc]
add esp, 0x1c
mov ecx, dword [eax + 0x68]
mov eax, ebx
shr eax, 0x18
mov dword [ebp - 0x10], eax
mov eax, ebx
push dword [ebp - 0x10]
shr eax, 0x10
movzx edi, al
mov eax, ebx
shr eax, 8
movzx edx, al
mov eax, dword [ecx]
push edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x2c], edx
movzx ebx, bl
push edx
mov eax, dword [eax + 0x2c]
push ebx
call eax
mov eax, dword [0x100917dc]
push esi
push dword [ebp - 0x18]
mov esi, dword [ebp + 0x24]
mov ecx, dword [eax + 0x68]
push esi
push dword [ebp + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov eax, dword [0x100917dc]
lea edi, [esi - 1]
push dword [ebp - 0x14]
mov esi, dword [ebp + 0x20]
push dword [ebp - 0x20]
mov ecx, dword [eax + 0x68]
dec esi
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov eax, dword [0x100917dc]
mov ecx, dword [eax + 0x68]
mov eax, dword [ebp + 0x2c]
add eax, 2
add eax, edi
mov edx, dword [ecx]
push eax
mov eax, dword [ebp + 0x28]
add eax, 2
add eax, esi
push eax
mov eax, dword [edx + 0x38]
push edi
push esi
call eax
mov eax, dword [0x100917dc]
push dword [ebp - 0x10]
mov edi, dword [ebp - 0x2c]
push dword [ebp - 0x1c]
mov ecx, dword [eax + 0x68]
push edi
push ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov eax, dword [0x100917dc]
mov esi, dword [ebp - 0x18]
add esi, 0xfffffffe
mov ecx, dword [eax + 0x68]
mov eax, dword [ebp + 0x24]
add eax, 0xf
push eax
mov edx, dword [ecx]
push esi
push eax
push dword [ebp + 0x20]
mov eax, dword [edx + 0x3c]
call eax
mov eax, dword [0x100917dc]
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
mov ecx, dword [eax + 0x68]
push edi
push ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov eax, dword [0x100917dc]
mov ecx, dword [eax + 0x68]
mov eax, dword [ebp + 0x24]
add eax, 0x23
push eax
mov edx, dword [ecx]
push esi
push eax
push dword [ebp + 0x20]
mov eax, dword [edx + 0x3c]
call eax
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x1002e681
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002e677
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002e677
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10074fd2
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30