Function at 0x5ff2f0
Capabilities:
Get process heap flags

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x77cca6
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
call fcn.004089d0
mov esi, eax
xor ebp, ebp
cmp esi, ebp
je 0x5ff5b5
cmp byte [0x992082], 0
je 0x5ff331
push 0x1b16358
call dword [0x794290]
cmp byte [0x992082], 0
mov esi, dword [esi + 0x2714]
je 0x5ff34b
push 0x1b16358
call dword [0x79428c]
cmp esi, ebp
je 0x5ff5b5
cmp dword [esi + 0xd90], ebp
jne 0x5ff5b5
mov ecx, dword [0x9922cc]
push ebp
call fcn.0041d360
push 0x14
call fcn.0074caae
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov dword [esp + 0x38], ebp
je 0x5ff38a
mov ecx, eax
call fcn.004173d0
jmp 0x5ff38c
xor eax, eax
mov ecx, dword [0x9922cc]
or esi, 0xffffffff
push eax
mov dword [esp + 0x3c], esi
call fcn.0041cdf0
push 0x1c
call fcn.0074caae
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov dword [esp + 0x38], 1
je 0x5ff3c2
mov ecx, eax
call fcn.0041b560
jmp 0x5ff3c4
xor eax, eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, dword [0x9922cc]
push eax
mov dword [esp + 0x3c], esi
call fcn.0041ce90
mov ecx, dword [0x9922cc]
call fcn.0041d3a0
mov ebx, eax
cmp ebx, ebp
je 0x5ff5b5
mov edx, dword [0x9922cc]
cmp byte [edx + 0x30c], 0
je 0x5ff5b5
mov byte [0x1b0db2a], 1
cmp byte [ebx + 0x5734], 0
je 0x5ff428
mov byte [ebx + 0x5734], 0
push ebp
push 0x97eb7c
push 0x97128c
push ebp
push 0x89b96c
xor edi, edi
call fcn.00664fc0
add esp, 4
push eax
call fcn.0074d229
mov esi, eax
add esp, 0x14
test esi, esi
je 0x5ff480
fld dword [esp + 0x40]
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x1c], esp
fstp dword [eax]
fld dword [esp + 0x50]
mov ecx, esi
fstp dword [eax + 4]
fld dword [esp + 0x54]
fstp dword [eax + 8]
lea eax, [esp + 0x1c]
push eax
call fcn.005beb50
mov edi, dword [eax]
mov ebp, dword [eax + 4]
push edi
push 0x79a808
lea ecx, [esp + 0x2c]
push 0xb
push ecx
call fcn.0067ad00
push ebp
push 0x79a808
lea edx, [esp + 0x30]
push 0xb
push edx
call fcn.0067ad00
mov edi, dword [esp + 0x74]
add esp, 0x20
push 0x8bc334
push 1
call fcn.00678ac0
test edi, edi
je 0x5ff4c8
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
push edi
jmp 0x5ff4d7
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x30]
push eax
push 0x7958c8
push 0x8bc328
push 4
call fcn.00678ac0
add esp, 0x1c
cmp byte [esp + 0x4c], 0
setne cl
cmp byte [esp + 0x50], 0
mov byte [ebx + 0x6139], cl
je 0x5ff5ae
test esi, esi
mov byte [ebx + 0x6160], 1
je 0x5ff54d
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x58], esp
push edx
mov ecx, ebx
mov byte [esi + 0x2c4], 1
call fcn.0057eab0
mov ecx, esi
call fcn.005fc1a0
fld dword [esp + 0x40]
sub esp, 0xc
mov eax, esp
fstp dword [eax]
mov ecx, esi
fld dword [esp + 0x50]
mov dword [esp + 0x58], esp
fstp dword [eax + 4]
fld dword [esp + 0x54]
fstp dword [eax + 8]
call fcn.005fc1d0
push 0
push 0x97ebc8
push 0x97128c
push 0
push 0x8bc314
call fcn.00664fc0
add esp, 4
push eax
call fcn.0074d229
add esp, 0x14
test eax, eax
je 0x5ff5b5
fld dword [esp + 0x40]
sub esp, 0xc
mov edx, esp
fstp dword [edx]
mov ecx, eax
fld dword [esp + 0x50]
mov dword [esp + 0x58], esp
fstp dword [edx + 4]
fld dword [esp + 0x54]
fstp dword [edx + 8]
call fcn.005fc200
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x18
mov byte [ebx + 0x6160], 0
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 0x18