Function at 0x598b84
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x598b8c
push ecx
push ebx
push esi
push edi
mov ebx, 0x5d542c
xor edx, edx
push ebp
push 0x598fa1
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [0x5d5430], 0
jle 0x598f5d
cmp dword [0x5d5448], 0
jle 0x598f5d
cmp dword [0x5d5434], 0
jl 0x598f5d
cmp dword [0x5d5438], 0
jle 0x598f5d
cmp dword [0x5d543c], 0
jle 0x598f5d
cmp dword [ebx], 0
je 0x598f64
xor eax, eax
push ebp
push 0x598f51
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebx]
call fcn.005adbf0
xor edx, edx
mov eax, dword [ebx]
call fcn.005adbf4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x5cfbd8]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0xaa
call fcn.005321cc
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.00404f5c
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x5cfbd8]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x9d
call fcn.005321cc
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
call fcn.00404f5c
cmp dword [ebp - 8], 0
je 0x598c7d
push dword [ebp - 0xc]
push 0x598fb8
push dword [ebp - 8]
push 0x598fc4
lea eax, [ebp - 4]
mov edx, 4
call fcn.00405054
jmp 0x598c88
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404d6c
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x5cfbd8]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x9a
call fcn.005321cc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx]
add eax, 0x18
call fcn.00404f5c
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0x5cfbd8]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x9b
call fcn.005321cc
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx]
add eax, 0x28
call fcn.00404f5c
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x5cfbd8]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x9f
call fcn.005321cc
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx]
add eax, 0x24
call fcn.00404f5c
mov eax, dword [ebx]
add eax, 0x30
mov edx, dword [ebp - 4]
call fcn.00404d28
lea eax, [ebp - 0x24]
push eax
mov eax, dword [0x5cfbd8]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0xa0
call fcn.005321cc
mov edx, dword [ebp - 0x24]
mov eax, dword [ebx]
add eax, 0x2c
call fcn.00404f5c
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x5cfbd8]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x9e
call fcn.005321cc
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx]
add eax, 0x20
call fcn.00404f5c
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [0x5cfbd8]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0xa1
call fcn.005321cc
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx]
add eax, 0x1c
call fcn.00404f5c
lea eax, [ebp - 0x30]
push eax
mov eax, dword [0x5cfbd8]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x98
call fcn.005321cc
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx]
add eax, 0x48
call fcn.00404f5c
lea eax, [ebp - 0x34]
push eax
mov eax, dword [0x5cfbd8]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0xa7
call fcn.005321cc
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx]
add eax, 0x60
call fcn.00404f5c
lea eax, [ebp - 0x38]
push eax
mov eax, dword [0x5cfe30]
mov eax, dword [eax]
mov dl, 1
call fcn.0055f250
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x598fd0
call fcn.0040d608
mov edx, dword [ebp - 0x38]
mov eax, dword [ebx]
add eax, 0x4c
call fcn.00404d28
lea eax, [ebp - 0x44]
push eax
mov eax, dword [0x5cfe30]
mov eax, dword [eax]
mov dl, 2
call fcn.0055f250
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x598fd0
call fcn.0040d608
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx]
add eax, 0x50
call fcn.00404d28
lea eax, [ebp - 0x48]
push eax
mov eax, dword [0x5cfe30]
mov eax, dword [eax]
mov dl, 3
call fcn.0055f250
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x598fd0
call fcn.0040d608
mov edx, dword [ebp - 0x48]
mov eax, dword [ebx]
add eax, 0x58
call fcn.00404d28
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [0x5cfe30]
mov eax, dword [eax]
mov dl, 4
call fcn.0055f250
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x598fd0
call fcn.0040d608
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebx]
add eax, 0x54
call fcn.00404d28
lea eax, [ebp - 0x50]
push eax
mov eax, dword [0x5cfe30]
mov eax, dword [eax]
mov dl, 6
call fcn.0055f250
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0
lea edx, [ebp - 0x40]
xor ecx, ecx
mov eax, 0x598fd0
call fcn.0040d608
mov edx, dword [ebp - 0x50]
mov eax, dword [ebx]
add eax, 0x5c
call fcn.00404d28
lea edx, [ebp - 0x54]
mov eax, dword [0x5d5430]
call fcn.0040c534
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx]
add eax, 0x34
call fcn.00404d28
lea edx, [ebp - 0x58]
mov eax, dword [0x5d5448]
call fcn.0040c534
mov edx, dword [ebp - 0x58]
mov eax, dword [ebx]
add eax, 0x38
call fcn.00404d28
lea edx, [ebp - 0x5c]
mov eax, dword [0x5d5434]
call fcn.0040c534
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebx]
add eax, 0x3c
call fcn.00404d28
lea edx, [ebp - 0x60]
mov eax, dword [0x5d5438]
call fcn.0040c534
mov edx, dword [ebp - 0x60]
mov eax, dword [ebx]
add eax, 0x40
call fcn.00404d28
lea edx, [ebp - 0x64]
mov eax, dword [0x5d543c]
call fcn.0040c534
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx]
add eax, 0x44
call fcn.00404d28
mov eax, dword [ebx]
call fcn.005acec4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x598f64
xor edx, edx
call fcn.0059a118
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x598fa8
lea eax, [ebp - 0x64]
mov edx, 9
call fcn.00404cf8
lea eax, [ebp - 0x38]
call fcn.00404cd4
lea eax, [ebp - 0x34]
mov edx, 0xa
call fcn.004053cc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404cf8
ret