Function at 0x1001f230
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068d79
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1007e00c]
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 [0x1014c5bc]
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 [0x1014c5bc]
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 [0x1014c5dc]
cmp byte [eax + 0x274], 0
je 0x1001f3ec
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1014af98]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1014c644]
cmp eax, dword [ecx + 4]
jle 0x1001f383
push 0x1014c644
call fcn.100659aa
add esp, 4
cmp dword [0x1014c644], 0xffffffff
jne 0x1001f383
mov byte [ebp - 4], 1
mov eax, dword [0x1014c5bc]
mov edi, dword [0x1014c5e4]
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 0x1001f339
mov dword [eax], esi
add dword [edi + 4], 4
jmp 0x1001f348
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, edi
call fcn.10007860
mov esi, dword [ebp - 0x18]
mov eax, dword [0x1014c5bc]
push 0
push 0x1c9
push 0x1c9
mov ecx, dword [eax + 0x68]
push 0x1007e038
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x1dc]
call eax
push 0x1014c644
mov dword [0x1014c664], esi
mov byte [ebp - 4], 0
call fcn.10065959
add esp, 4
mov eax, dword [0x1014c5bc]
mov edi, dword [ebp + 0x24]
mov esi, dword [0x1014c664]
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 [0x1014c5bc]
push esi
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
call eax
mov eax, dword [0x1014c5bc]
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 [0x1014c5dc]
mov esi, dword [ebp + 0x24]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push ecx
lea ecx, [eax + 0x270]
mov eax, dword [ebp + 0x28]
push ecx
mov ecx, dword [0x1014c5bc]
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 [0x1014c5e4]
call fcn.10003980
mov eax, dword [0x1014c5bc]
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 [0x1014c5bc]
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 [0x1014c5bc]
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 [0x1014c5bc]
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 [0x1014c5bc]
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 [0x1014c5bc]
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, 0x10
jb 0x1001f513
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001f509
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001f509
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10065e72
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