Function at 0x61fd30
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x514fa3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
push edi
push 0x10
lea ebp, [eax + 1]
call 0x684672
add esp, 4
mov dword [esp + 0x40], eax
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x30], ecx
je 0x61fd78
mov ecx, eax
call fcn.00622bd0
mov dword [esp + 0x10], eax
jmp 0x61fd7c
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x30], 0xffffffff
cmp ebp, ebx
jae 0x61ff7f
mov edi, dword [esp + 0x38]
cmp byte [edi + ebp], 0x65
je 0x61ff7f
push ebp
push ebx
push edi
call fcn.00620040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x620017
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test al, al
je 0x620017
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov edx, dword [esi]
add ebp, eax
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call dword [edx + 0x20]
mov edx, dword [esi]
push 1
mov ecx, esi
mov dword [esp + 0x34], 1
call dword [edx]
cmp ebp, ebx
jae 0x61fe26
push ebp
push ebx
push edi
call fcn.00620040
mov esi, eax
add esp, 0xc
test esi, esi
je 0x61ff96
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
push esi
lea edx, [esp + 0x20]
sub esp, 0xc
add ebp, eax
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
call fcn.00620150
mov ecx, dword [esp + 0x20]
call 0x623e50
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
mov dword [esp + 0x30], 0xffffffff
test ecx, ecx
je 0x61ff77
test eax, eax
je 0x61ff77
cmp eax, 0x80
jbe 0x61fe5d
push ecx
call 0x67161e
add esp, 4
jmp 0x61ff77
add eax, 7
push 1
shr eax, 3
push 0x5ece1c
mov dword [esp + 0x20], ecx
lea eax, [eax*4 + 0x5ecdd8]
mov dword [esp + 0x1c], eax
call fcn.0061c500
add esp, 8
test eax, eax
je 0x61ff5f
mov edi, dword [0x5bc06c]
mov eax, dword [0x5ecdd8]
mov dword [esp + 0x40], 0x11
xor esi, esi
test edi, edi
jbe 0x61ff11
mov ebx, eax
shr ebx, 1
cmp esi, ebx
jb 0x61fecc
mov eax, dword [0x5ece1c]
test eax, eax
jne 0x61fecc
push 1
push 0x5ece1c
call fcn.0061c500
add esp, 8
test eax, eax
je 0x61ff4b
jmp 0x61ff08
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x40]
imul ecx, edx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
imul eax, ecx
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x40]
imul edx, eax
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x40]
imul ecx, edx
mov dword [esp + 0x40], ecx
inc esi
cmp esi, edi
jb 0x61fea6
mov ebx, dword [esp + 0x3c]
mov dword [0x5bc06c], 0x1e
mov esi, 6
cmp esi, 0x1b
mov edi, esi
jle 0x61ff2c
mov edi, 0x1b
push 1
push 0x5ece1c
call fcn.0061c500
add esp, 8
test eax, eax
je 0x61ff5f
push edi
call fcn.0061f2d0
add esp, 4
inc esi
jmp 0x61ff20
mov ebx, dword [esp + 0x3c]
mov dword [0x5ecdd8], esi
mov dword [0x5bc06c], 0x3e8
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov ecx, dword [esp + 0x18]
mov dword [ecx], edx
mov dword [eax], ecx
mov dword [0x5ece1c], 0
cmp ebp, ebx
jb 0x61fd90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x61ffa4
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
sub eax, edi
test edi, edi
je 0x620002
test eax, eax
je 0x620002
cmp eax, 0x80
jbe 0x61ffdb
push edi
call 0x67161e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
add eax, 7
mov ecx, 0x5ece1c
shr eax, 3
lea esi, [eax*4 + 0x5ecdd8]
call fcn.0061f300
mov ecx, dword [esi]
mov dword [edi], ecx
mov dword [esi], edi
mov dword [0x5ece1c], 0
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x620025
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret