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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x5a0cdc
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404fa0
xor eax, eax
push ebp
push 0x5a108b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x5a10a0
call fcn.00404db8
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x5a10a0
call fcn.004050f4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405010
mov edx, dword [ebp - 4]
mov eax, 0x5a10a0
call fcn.004050f4
mov ecx, eax
inc ecx
lea eax, [ebp - 4]
mov edx, 1
call fcn.00405050
lea eax, [ebx + 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x5a10ac
call fcn.004050f4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00405010
mov edx, dword [ebp - 0xc]
mov eax, 0x5a10ac
call fcn.004050f4
mov ecx, eax
lea eax, [ebp - 0xc]
mov edx, 1
call fcn.00405050
lea eax, [ebx + 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x5a10b8
call fcn.004050f4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00405010
cmp dword [ebx + 0x14], 0
jne 0x5a0dbb
lea eax, [ebx + 0x14]
mov edx, 0x5a10c8
call fcn.00404b44
mov edx, dword [ebx + 0x14]
mov eax, 0x5a10c8
call fcn.004050f4
dec eax
je 0x5a0ddb
lea eax, [ebx + 0x14]
mov ecx, dword [ebx + 0x14]
mov edx, 0x5a10c8
call fcn.00404dfc
mov edx, dword [ebp - 0xc]
mov eax, 0x5a10b8
call fcn.004050f4
mov ecx, eax
add ecx, 5
lea eax, [ebp - 0xc]
mov edx, 1
call fcn.00405050
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00404b44
jmp 0x5a0ed6
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x5a10a0
call fcn.004050f4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405010
cmp dword [ebp - 0xc], 0
je 0x5a0eeb
mov edx, dword [ebp - 4]
mov eax, 0x5a10a0
call fcn.004050f4
mov ecx, eax
inc ecx
lea eax, [ebp - 4]
mov edx, 1
call fcn.00405050
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x5a10d4
call fcn.004050f4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00405010
mov edx, dword [ebp - 0xc]
mov eax, 0x5a10d4
call fcn.004050f4
mov ecx, eax
lea eax, [ebp - 0xc]
mov edx, 1
call fcn.00405050
jmp 0x5a0ea3
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, 1
call fcn.00405050
mov edx, dword [ebp - 0xc]
mov eax, 0x5a10ac
call fcn.004050f4
dec eax
je 0x5a0e91
push dword [ebp - 8]
push 0x5a10e0
push dword [ebp - 0xc]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404e70
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, dword [ebp - 4]
mov eax, 0x5a10a0
call fcn.004050f4
test eax, eax
jg 0x5a0e0a
lea ecx, [ebp - 0x14]
mov edx, 0x5a10ec
mov eax, ebx
call fcn.005a11d8
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x24]
call fcn.00404b44
lea ecx, [ebp - 0x18]
mov edx, 0x5a1104
mov eax, ebx
call fcn.005a11d8
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x28]
call fcn.00404b44
lea ecx, [ebp - 0x1c]
mov edx, 0x5a1120
mov eax, ebx
call fcn.005a11d8
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x2c]
call fcn.00404b44
lea ecx, [ebp - 0x20]
mov edx, 0x5a1138
mov eax, ebx
call fcn.005a11d8
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x30]
call fcn.00404b44
lea ecx, [ebp - 0x24]
mov edx, 0x5a1150
mov eax, ebx
call fcn.005a11d8
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0x34]
call fcn.00404b44
lea ecx, [ebp - 0x28]
mov edx, 0x5a1160
mov eax, ebx
call fcn.005a11d8
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0x38]
call fcn.00404b44
lea ecx, [ebp - 0x2c]
mov edx, 0x5a117c
mov eax, ebx
call fcn.005a11d8
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 0x3c]
call fcn.00404b44
lea ecx, [ebp - 0x30]
mov edx, 0x5a118c
mov eax, ebx
call fcn.005a11d8
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x40]
call fcn.00404b44
lea ecx, [ebp - 0x34]
mov edx, 0x5a11a0
mov eax, ebx
call fcn.005a11d8
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x44]
call fcn.00404b44
lea eax, [ebx + 0x18]
mov edx, dword [ebx + 0x24]
call fcn.00404b44
lea eax, [ebx + 0x20]
push eax
mov edx, dword [ebx + 0x18]
mov eax, 0x5a10ac
call fcn.004050f4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebx + 0x18]
call fcn.00405010
mov edx, dword [ebx + 0x18]
mov eax, 0x5a10ac
call fcn.004050f4
mov ecx, eax
lea eax, [ebx + 0x18]
mov edx, 1
call fcn.00405050
lea edx, [ebp - 0x38]
mov eax, dword [ebx + 0x18]
call fcn.0059fba0
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0x18]
call fcn.00404b44
lea eax, [ebx + 0x1c]
push eax
mov edx, dword [ebx + 0x18]
mov eax, 0x5a10d4
call fcn.004050f4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebx + 0x18]
call fcn.00405010
mov edx, dword [ebx + 0x18]
mov eax, 0x5a10d4
call fcn.004050f4
mov ecx, eax
lea eax, [ebx + 0x18]
mov edx, 1
call fcn.00405050
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a1092
lea eax, [ebp - 0x38]
mov edx, 0xe
call fcn.00404b14
ret