Function at 0x1001ef40
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069459
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1007d040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [0x1014b65c]
mov edi, dword [eax + 0x68]
mov eax, dword [edi]
mov esi, dword [eax + 0x2c]
mov eax, dword [ebp + 0x30]
mov ecx, eax
mov edx, eax
shr ecx, 0x18
shr edx, 0x10
push ecx
movzx edx, dl
mov ecx, edi
push edx
mov edx, eax
movzx eax, al
shr edx, 8
movzx edx, dl
push edx
push eax
call esi
mov eax, dword [0x1014b65c]
mov edi, dword [ebp + 0x2c]
mov esi, dword [ebp + 0x24]
add edi, esi
mov ebx, dword [ebp + 0x20]
mov ecx, dword [eax + 0x68]
push edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 0x28]
add eax, ebx
push eax
push esi
push ebx
mov dword [ebp - 0x14], eax
call edx
mov eax, dword [0x1014b680]
cmp byte [eax + 0x280], 0
je 0x1001f0fc
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1014a028]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1014b6e8]
cmp eax, dword [ecx + 4]
jle 0x1001f093
push 0x1014b6e8
call fcn.10065d80
add esp, 4
cmp dword [0x1014b6e8], 0xffffffff
jne 0x1001f093
mov byte [ebp - 4], 1
mov eax, dword [0x1014b65c]
mov edi, dword [0x1014b684]
push 1
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx]
mov eax, dword [eax + 0x94]
call eax
mov esi, eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x18], esi
cmp eax, dword [edi + 8]
je 0x1001f049
mov dword [eax], esi
add dword [edi + 4], 4
jmp 0x1001f058
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, edi
call fcn.100076f0
mov esi, dword [ebp - 0x18]
mov eax, dword [0x1014b65c]
push 0
push 0x1c9
push 0x1c9
mov ecx, dword [eax + 0x68]
push 0x1007d0c0
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x1dc]
call eax
push 0x1014b6e8
mov dword [0x1014b708], esi
mov byte [ebp - 4], 0
call fcn.10065d2f
add esp, 4
mov eax, dword [0x1014b65c]
mov edi, dword [ebp + 0x24]
mov esi, dword [0x1014b708]
add edi, 0x19
push 5
mov ecx, dword [eax + 0x68]
push 0xff
push 0xff
push 0xff
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov eax, dword [0x1014b65c]
push esi
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
call eax
mov eax, dword [0x1014b65c]
mov ecx, dword [eax + 0x68]
lea eax, [edi + 0x1c9]
push eax
lea eax, [ebx + 0x1c9]
push eax
mov edx, dword [ecx]
push edi
push ebx
mov eax, dword [edx + 0x88]
call eax
mov eax, dword [0x1014b680]
mov esi, dword [ebp + 0x24]
cmp dword [ebp + 0x1c], 0xf
lea ecx, [ebp + 8]
cmova ecx, dword [ebp + 8]
push ecx
lea ecx, [eax + 0x260]
mov eax, dword [ebp + 0x28]
push ecx
mov ecx, dword [0x1014b65c]
cdq
sub eax, edx
sar eax, 1
push dword [ecx + 0xd8]
lea ecx, [esi + 1]
add eax, ebx
push 2
push ecx
push eax
push dword [0x1014b684]
call fcn.10003c50
mov eax, dword [0x1014b65c]
add esp, 0x1c
mov ecx, dword [eax + 0x68]
mov eax, dword [ebp - 0x10]
mov edx, eax
shr eax, 0x10
movzx ebx, al
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx edi, al
mov eax, dword [ebp - 0x10]
shr edx, 0x18
movzx esi, al
mov eax, dword [ecx]
push edx
push ebx
push edi
mov eax, dword [eax + 0x2c]
push esi
mov dword [ebp - 0x18], edx
call eax
mov eax, dword [0x1014b65c]
push dword [ebp - 0x1c]
mov edx, dword [ebp + 0x24]
push dword [ebp - 0x14]
mov ecx, dword [eax + 0x68]
push edx
push dword [ebp + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov eax, dword [0x1014b65c]
push dword [ebp - 0x18]
push ebx
mov ecx, dword [eax + 0x68]
push edi
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov eax, dword [0x1014b65c]
mov ecx, dword [eax + 0x68]
mov eax, dword [ebp + 0x24]
add eax, 0xf
push eax
push dword [ebp - 0x14]
mov edx, dword [ecx]
push eax
push dword [ebp + 0x20]
mov eax, dword [edx + 0x3c]
call eax
mov eax, dword [0x1014b65c]
push dword [ebp - 0x18]
push ebx
mov ecx, dword [eax + 0x68]
push edi
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov eax, dword [0x1014b65c]
mov ecx, dword [eax + 0x68]
mov eax, dword [ebp + 0x24]
mov edx, dword [ecx]
add eax, 0x23
push eax
push dword [ebp - 0x14]
push eax
push dword [ebp + 0x20]
mov eax, dword [edx + 0x3c]
call eax
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x1001f223
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001f219
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001f219
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10066248
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