Function at 0x10020870
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061c59
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10074040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x34]
mov ebx, dword [ebp + 0x30]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov eax, dword [0x10142a3c]
mov ecx, dword [eax + 0x68]
push ecx
mov dword [esp], 0x3f800000
mov eax, dword [ecx]
mov eax, dword [eax + 0x1b0]
call eax
mov eax, dword [0x10142a3c]
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
mov eax, ebx
shr eax, 0x18
push eax
mov eax, ebx
shr eax, 0x10
movzx eax, al
push eax
mov eax, ebx
shr eax, 8
movzx eax, al
push eax
movzx eax, bl
push eax
call edx
mov eax, dword [0x10142a3c]
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
call edx
mov eax, dword [0x10142a5c]
cmp byte [eax + 0x2d0], 0
je 0x10020a44
mov eax, dword fs:[0x2c]
mov ecx, dword [0x101413f8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10142ad0]
cmp eax, dword [ecx + 4]
jle 0x100209db
push 0x10142ad0
call fcn.1005e6a1
add esp, 4
cmp dword [0x10142ad0], 0xffffffff
jne 0x100209db
mov byte [ebp - 4], 1
mov eax, dword [0x10142a3c]
mov edi, dword [0x10142a60]
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 - 0x14], esi
cmp eax, dword [edi + 8]
je 0x10020991
mov dword [eax], esi
add dword [edi + 4], 4
jmp 0x100209a0
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, edi
call fcn.10007a70
mov esi, dword [ebp - 0x14]
mov eax, dword [0x10142a3c]
push 0
push 0x1c9
push 0x1c9
mov ecx, dword [eax + 0x68]
push 0x100740b0
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x1dc]
call eax
push 0x10142ad0
mov dword [0x10142af0], esi
mov byte [ebp - 4], 0
call fcn.1005e650
add esp, 4
mov eax, dword [0x10142a3c]
mov edi, dword [ebp + 0x24]
mov esi, dword [0x10142af0]
add edi, 0x19
push 1
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 [0x10142a3c]
push esi
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
call eax
mov eax, dword [0x10142a3c]
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 [0x10142a5c]
mov esi, dword [ebp + 0x24]
cmp dword [ebp + 0x1c], 0xf
lea ecx, [ebp + 8]
lea edi, [esi + 1]
cmova ecx, dword [ebp + 8]
push ecx
lea ecx, [eax + 0x2b0]
mov eax, dword [ebp + 0x28]
push ecx
mov ecx, dword [0x10142a3c]
cdq
sub eax, edx
sar eax, 1
push dword [ecx + 0xd8]
add eax, ebx
push 2
push edi
push eax
push dword [0x10142a60]
call fcn.10003e40
mov eax, dword [0x10142a3c]
add esp, 0x1c
mov esi, dword [ebp - 0x18]
mov ecx, dword [eax + 0x68]
mov eax, esi
shr eax, 0x18
push eax
mov eax, esi
mov edx, dword [ecx]
shr eax, 0x10
movzx eax, al
push eax
mov eax, esi
shr eax, 8
movzx eax, al
push eax
mov eax, esi
movzx eax, al
push eax
mov eax, dword [edx + 0x2c]
call eax
mov eax, dword [0x10142a3c]
push dword [ebp - 0x1c]
mov edx, dword [ebp + 0x28]
mov esi, dword [ebp + 0x24]
add edx, ebx
mov ecx, dword [eax + 0x68]
push edx
push esi
push ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov eax, dword [0x10142a3c]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + 0x68]
movss xmm0, dword [edx + 0x14]
push ecx
movss dword [esp], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x1b0]
call eax
mov edx, dword [0x10142a3c]
cmp dword [edx + 0x2d0], 0xf
lea ecx, [edx + 0x2bc]
jbe 0x10020b06
mov ecx, dword [ecx]
mov eax, dword [0x10142a5c]
mov esi, dword [ebp + 0x28]
push ecx
push str.OPTIGORE.LOL
mov eax, dword [eax + 0x2ac]
add esi, 0xfffffffb
mov dword [ebp - 0x10], eax
add esi, ebx
lea eax, [ebp - 0x10]
push eax
push dword [edx + 0xd8]
push 4
push edi
push esi
push dword [0x10142a60]
call fcn.10003e40
mov edx, dword [0x10142a3c]
add esp, 0x20
cmp dword [edx + 0x2d0], 0xf
lea ecx, [edx + 0x2bc]
jbe 0x10020b55
mov ecx, dword [ecx]
mov eax, dword [0x10142a5c]
push ecx
push str._________1.1.4
mov eax, dword [eax + 0x2b0]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push dword [edx + 0xd8]
push 4
push edi
push esi
push dword [0x10142a60]
call fcn.10003e40
mov ecx, dword [ebp + 0x1c]
add esp, 0x20
cmp ecx, 0xf
jbe 0x10020bbb
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10020bb1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10020bb1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005ea54
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