Function at 0x5c8800
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x6c22e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7104c8]
mov ecx, dword [0x7104cc]
mov dx, word [0x7104d0]
mov dword [esp + 0x3c], eax
mov al, byte [0x7104d2]
xor edi, edi
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0xd8], edi
mov word [esp + 0x44], dx
mov byte [esp + 0x46], al
mov byte [esp + 0x28], 0x11
mov byte [esp + 0x29], 0x10
mov byte [esp + 0x2a], 0x22
mov byte [esp + 0x2b], 0x21
mov byte [esp + 0x2c], 0x17
mov byte [esp + 0x2d], 0x13
mov byte [esp + 0x2e], 0x16
mov byte [esp + 0x2f], 0x14
mov byte [esp + 0x30], 0x18
xor esi, esi
call fcn.0060d180
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], 1
call fcn.0060fe70
lea ecx, [esp + 0xac]
mov byte [esp + 0xd8], 2
call fcn.00546ec0
mov cl, byte [esp + 0x3b]
mov dword [esp + 0x18], edi
mov byte [esp + 0x14], cl
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
push 5
lea ecx, [esp + 0xe4]
mov byte [esp + 0xdc], 4
call fcn.00610190
push ecx
mov bl, al
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x703764
mov byte [esp + 0x40], bl
call fcn.0060ff10
lea edx, [esp + 0x4c]
push edx
call fcn.0060f170
add esp, 8
mov ecx, dword [0x6ce1fc]
mov byte [esp + 0xd8], 5
push ecx
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.004136a0
mov eax, dword [esp + 0x4c]
mov byte [esp + 0xd8], 4
cmp eax, edi
je 0x5c8947
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5c893e
cmp al, 0xff
je 0x5c893e
dec al
mov byte [ecx], al
jmp 0x5c8947
push ecx
call fcn.00697880
add esp, 4
cmp bl, 0xb
jb 0x5c8eb6
cmp bl, 0x13
ja 0x5c8eb6
mov ebx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0xe4]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0060fe80
mov ecx, dword [0x71b93c]
call fcn.006206f0
cmp si, di
je 0x5c8cd5
mov al, byte [0x71bb5c]
test al, al
je 0x5c8ab4
cmp si, 1
jne 0x5c8a23
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x703784
call fcn.0060ff10
lea eax, [esp + 0x5c]
push eax
call fcn.0060f170
add esp, 8
mov ecx, dword [0x6ce1fc]
mov byte [esp + 0xd8], 6
push ecx
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.004136a0
mov eax, dword [esp + 0x5c]
mov byte [esp + 0xd8], 4
cmp eax, edi
je 0x5c8a12
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5c8a09
cmp al, 0xff
je 0x5c8a09
dec al
mov byte [ecx], al
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
jmp 0x5c8cd5
push ecx
call fcn.00697880
add esp, 4
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
jmp 0x5c8cd5
cmp si, 2
jne 0x5c8cd5
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x70377c
call fcn.0060ff10
lea edx, [esp + 0x6c]
push edx
call fcn.0060f170
add esp, 8
mov ecx, dword [0x6ce1fc]
mov byte [esp + 0xd8], 7
push ecx
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.004136a0
mov eax, dword [esp + 0x6c]
mov byte [esp + 0xd8], 4
cmp eax, edi
je 0x5c8aa3
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5c8a9a
cmp al, 0xff
je 0x5c8a9a
dec al
mov byte [ecx], al
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
jmp 0x5c8cd5
push ecx
call fcn.00697880
add esp, 4
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
jmp 0x5c8cd5
sub esp, 0x24
lea eax, [esp + 0x60]
mov edx, esp
mov dword [esp + 0x34], esp
push 1
push eax
push edx
lea ecx, [esp + 0xdc]
call fcn.00547f90
lea ecx, [esp + 0xac]
call fcn.0060d330
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push ecx
lea ecx, [esp + 0x90]
call fcn.0060d6b0
lea ecx, [esp + 0x28]
call fcn.006101a0
lea ecx, [esp + 0x24]
call fcn.00610330
test ax, ax
jle 0x5c8dea
cmp si, 1
jne 0x5c8ba9
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x703784
call fcn.0060ff10
lea edx, [esp + 0x7c]
push edx
call fcn.0060f170
add esp, 8
mov ecx, dword [0x6ce1fc]
mov byte [esp + 0xd8], 8
push ecx
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.004136a0
mov eax, dword [esp + 0x7c]
mov byte [esp + 0xd8], 4
cmp eax, edi
je 0x5c8b92
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5c8b89
cmp al, 0xff
je 0x5c8b89
dec al
mov byte [ecx], al
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
jmp 0x5c8cd3
push ecx
call fcn.00697880
add esp, 4
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
jmp 0x5c8cd3
cmp si, 2
jne 0x5c8cd3
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x70377c
call fcn.0060ff10
lea edx, [esp + 0x4c]
push edx
call fcn.0060f170
add esp, 8
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [0x6ce1fc]
mov ebp, eax
mov byte [esp + 0xd8], 9
cmp ecx, ebp
jae 0x5c8bee
mov ebp, ecx
lea edx, [esp + 0x14]
cmp edx, esi
jne 0x5c8c11
push ecx
push ebp
lea ecx, [esp + 0x1c]
call fcn.004140d0
push edi
push edi
lea ecx, [esp + 0x1c]
call fcn.004140d0
jmp 0x5c8c9a
cmp ebp, edi
jbe 0x5c8c5e
cmp ebp, eax
jne 0x5c8c5e
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x5c8c25
mov eax, 0x6ce1f8
cmp byte [eax - 1], 0xfe
jae 0x5c8c5e
push 1
lea ecx, [esp + 0x18]
call fcn.004138a0
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x5c8c42
mov eax, 0x6ce1f8
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x1c], ecx
mov esi, dword [esi + 0xc]
mov dword [esp + 0x20], esi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x5c8c9a
push 1
push ebp
lea ecx, [esp + 0x1c]
call fcn.00414210
test al, al
je 0x5c8c9a
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x5c8c7a
mov esi, 0x6ce1f8
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov eax, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.004141f0
xor edi, edi
mov eax, dword [esp + 0x4c]
mov byte [esp + 0xd8], 4
cmp eax, edi
je 0x5c8cc7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5c8cbe
cmp al, 0xff
je 0x5c8cbe
dec al
mov byte [ecx], al
jmp 0x5c8cc7
push ecx
call fcn.00697880
add esp, 4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
xor esi, esi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x703784
call fcn.0060ff10
mov ecx, dword [0x71b93c]
call fcn.00620870
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x70377c
call fcn.0060ff10
mov ecx, dword [0x71b93c]
call fcn.00620870
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x703774
call fcn.0060ff10
mov ecx, dword [0x71b93c]
call fcn.00620870
mov dl, byte [esp + 0x14]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x20], esp
mov byte [ecx], dl
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov eax, dword [0x6ce1fc]
lea edx, [esp + 0x24]
push eax
push edi
push edx
call fcn.004136a0
push ecx
mov byte [esp + 0xec], 0xb
mov ecx, esp
mov dword [esp + 0x48], esp
push 6
push 0x70379c
call fcn.0060ff10
mov ecx, dword [0x71b93c]
mov byte [esp + 0xec], 4
call fcn.006208f0
mov ecx, dword [0x71b93c]
call fcn.00620cd0
movsx eax, ax
sub eax, edi
je 0x5c8dcb
dec eax
je 0x5c8dad
dec eax
je 0x5c8eb6
jmp 0x5c895d
mov eax, ebx
mov byte [esp + 0x44], 0
and eax, 0xff
mov esi, 2
mov cl, byte [esp + eax + 0x1d]
mov byte [esp + 0x42], cl
jmp 0x5c895d
mov edx, ebx
mov byte [esp + 0x44], 0xff
and edx, 0xff
mov esi, 1
mov al, byte [esp + edx + 0x1d]
mov byte [esp + 0x42], al
jmp 0x5c895d
push edi
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x7037f4
call fcn.0060ff10
push ecx
mov byte [esp + 0xe8], 0xa
mov ecx, esp
mov dword [esp + 0x44], esp
push 6
push 0x703840
call fcn.0060ff10
mov ecx, 0x71b930
mov byte [esp + 0xe8], 4
call fcn.006115e0
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x5c8e52
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5c8e49
cmp al, 0xff
je 0x5c8e49
dec al
mov byte [ecx], al
jmp 0x5c8e52
push ecx
call fcn.00697880
add esp, 4
lea ecx, [esp + 0xac]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov byte [esp + 0xd8], 2
call fcn.00546f80
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], 1
call fcn.0060ffb0
lea ecx, [esp + 0x88]
mov byte [esp + 0xd8], 0
call fcn.0060d280
lea ecx, [esp + 0xe0]
mov dword [esp + 0xd8], 0xffffffff
call fcn.0060ffb0
xor ax, ax
jmp 0x5c8f3b
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x5c8edb
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5c8ed2
cmp al, 0xff
je 0x5c8ed2
dec al
mov byte [ecx], al
jmp 0x5c8edb
push ecx
call fcn.00697880
add esp, 4
lea ecx, [esp + 0xac]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov byte [esp + 0xd8], 2
call fcn.00546f80
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], 1
call fcn.0060ffb0
lea ecx, [esp + 0x88]
mov byte [esp + 0xd8], 0
call fcn.0060d280
lea ecx, [esp + 0xe0]
mov dword [esp + 0xd8], 0xffffffff
call fcn.0060ffb0
mov ax, 1
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xcc
ret 4