Function at 0x58991c
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x589924
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x589ea2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0xa098
call fcn.0041252c
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf0]
mov ecx, 0x589eb8
mov edx, 0x589ed0
mov ebx, dword [eax]
call dword [ebx]
xor edx, edx
xor eax, eax
call fcn.0056e9e8
mov edx, dword [ebp - 4]
mov dword [edx + 0xa098], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa060], 0
je 0x589b37
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xec]
mov esi, dword [eax + 0xc]
dec esi
test esi, esi
jl 0x589c6a
inc esi
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp - 0x10]
lea ebx, [ebx + ebx*2]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ebx*4]
lea edx, [ebp - 0x18]
call fcn.0040bc64
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.00405d8c
jne 0x589b28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ebx*4 + 8]
xor ecx, ecx
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0x14]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.0040bc64
mov edx, dword [ebp - 0x1c]
mov eax, 0x589ee4
call fcn.00405f84
test eax, eax
jle 0x589adf
mov dl, 1
mov eax, dword [0x4d8480]
call fcn.004da3b8
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x589ad8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + ebx*4 + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa098]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xa098]
mov byte [ebx + 0x30], 1
mov eax, ebx
call fcn.00437fe0
cmp al, 7
jne 0x589a8c
push 0x1fffffff
mov edx, 0x589910
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa098]
mov ecx, 0xffff00ff
call fcn.0056288c
jmp 0x589ac2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa098]
mov dl, 7
call fcn.00438ee4
push 0xff00ff
push 0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xa098]
mov eax, ebx
call fcn.0057a538
lea edx, [ebp - 0x2c]
mov eax, ebx
mov cl, 0xff
call fcn.004b9c0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x589afd
mov eax, dword [ebp - 0x14]
call fcn.00404a08
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + ebx*4 + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa098]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa098]
call fcn.00437ef4
call fcn.0043377c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa098]
call fcn.00437ef4
call fcn.00433218
jmp 0x589c6a
inc dword [ebp - 0x10]
dec esi
jne 0x5899a8
jmp 0x589c6a
mov edx, dword [ebp - 8]
mov eax, 0x589ef4
call fcn.00405f84
test eax, eax
jg 0x589b5c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xa19c]
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 8]
call fcn.00405c8c
cmp dword [ebp - 0xc], 0
je 0x589c6a
mov eax, dword [ebp - 0xc]
call fcn.0040cc50
test al, al
je 0x589c6a
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 8]
call fcn.0040bc64
mov edx, dword [ebp - 0x30]
mov eax, 0x589ee4
call fcn.00405f84
test eax, eax
jle 0x589c59
mov dl, 1
mov eax, dword [0x4d8480]
call fcn.004da3b8
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x589c52
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa098]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xa098]
mov byte [ebx + 0x30], 1
mov eax, ebx
call fcn.00437fe0
cmp al, 7
jne 0x589c06
push 0x1fffffff
mov edx, 0x589910
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa098]
mov ecx, 0xffff00ff
call fcn.0056288c
jmp 0x589c3c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa098]
mov dl, 7
call fcn.00438ee4
push 0xff00ff
push 0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xa098]
mov eax, ebx
call fcn.0057a538
lea edx, [ebp - 0x2c]
mov eax, ebx
mov cl, 0xff
call fcn.004b9c0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x589c6a
mov eax, dword [ebp - 0x14]
call fcn.00404a08
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa098]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa098]
call fcn.00437fe0
cmp al, 7
je 0x589cb2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa098]
mov dl, 7
call fcn.00438ee4
push 0xff00ff
push 0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xa098]
mov eax, ebx
call fcn.0057a538
lea edx, [ebp - 0x2c]
mov eax, ebx
mov cl, 0xff
call fcn.004b9c0c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa098]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa098]
mov edx, 0xff00ff
call fcn.0043904c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa098]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov eax, dword [ebp - 4]
lea ebx, [eax + 0xa188]
push 0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf0]
mov edx, 0x589ed0
mov ecx, 0x589f00
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x10]
call fcn.004059b8
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf0]
mov edx, 0x589ed0
mov ecx, 0x589f10
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0x1c]
call fcn.004059b8
push 0
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf0]
mov edx, 0x589ed0
mov ecx, 0x589f24
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x3c]
lea eax, [ebx + 0x18]
call fcn.004059b8
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf0]
mov edx, 0x589ed0
mov ecx, 0x589f38
mov esi, dword [eax]
call dword [esi + 8]
test eax, eax
setne al
mov byte [ebx + 1], al
push 0xffffffffffffffce
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf0]
mov edx, 0x589ed0
mov ecx, 0x589f4c
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x3c], eax
push 0x32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf0]
mov edx, 0x589ed0
mov ecx, 0x589f60
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x40], eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf0]
mov edx, 0x589ed0
mov ecx, 0x589f74
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x34], eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf0]
mov edx, 0x589ed0
mov ecx, 0x589f88
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x38], eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf0]
mov edx, 0x589ed0
mov ecx, 0x589f9c
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x24], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf0]
mov edx, 0x589ed0
mov ecx, 0x589fb4
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x28], eax
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf0]
mov edx, 0x589ed0
mov ecx, 0x589fc8
mov esi, dword [eax]
call dword [esi + 8]
mov byte [ebx + 0x30], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf0]
call fcn.00585814
fstp qword [ebx + 8]
wait
mov eax, dword [ebp - 4]
call fcn.0058e0a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x589ea9
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.00405988
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405988
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00405988
ret