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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x16d752
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov eax, ebx
call fcn.0016b478
lea edx, [ebx + 0x18]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebx + 0x1c]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebx + 0x20]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebx + 0x24]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebx + 0x28]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebx + 0x2c]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebx + 0x7c]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebx + 0x90]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebx + 0x94]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebx + 0x98]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebx + 0x9c]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebx + 0x80]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebx + 0x84]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebx + 0x88]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebx + 0x8c]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebx + 0xa0]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebx + 0x30]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebx + 0x38]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebx + 0x40]
mov ecx, 0x10
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebx + 0x74]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov edx, dword [ebx + 0x78]
mov eax, esi
call fcn.000c5a40
mov edx, dword [ebx + 0x50]
mov eax, esi
call fcn.000c5a40
mov edx, dword [ebx + 0x54]
mov eax, esi
call fcn.000c5a40
mov edx, dword [ebx + 0x58]
mov eax, esi
call fcn.000c5a40
mov edx, dword [ebx + 0x5c]
mov eax, esi
call fcn.000c5a40
mov edx, dword [ebx + 0x60]
mov eax, esi
call fcn.000c5a40
mov edx, dword [ebx + 0x64]
mov eax, esi
call fcn.000c5a40
mov edx, dword [ebx + 0x68]
mov eax, esi
call fcn.000c5a40
mov edx, dword [ebx + 0x6c]
mov eax, esi
call fcn.000c5a40
mov edx, dword [ebx + 0x70]
mov eax, esi
call fcn.000c5a40
mov dl, byte [ebx + 0xa1]
mov eax, esi
call fcn.000c5abc
mov edx, dword [ebx + 0xa4]
mov eax, esi
call fcn.000c5a40
mov edx, dword [ebx + 0xa8]
mov eax, esi
call fcn.000c5a40
mov edx, dword [ebx + 0xac]
mov eax, esi
call fcn.000c5a40
mov edx, dword [ebx + 0xb0]
mov eax, esi
call fcn.000c5a40
mov edx, dword [ebx + 0xb4]
mov eax, esi
call fcn.000c5a40
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x34]
dec eax
test eax, eax
jl 0x16d66f
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x30]
call fcn.0016a82c
test al, al
jne 0x16d667
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax]
call dword [edx + 0xc]
test al, al
je 0x16d667
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 0x18]
call fcn.0016a3f0
mov eax, dword [ebp - 0x18]
mov ecx, 1
mov edx, 1
call fcn.000141b4
mov eax, dword [ebp - 0x14]
mov edx, 0x16d768
call fcn.000140bc
je 0x16d667
inc dword [ebp - 8]
inc dword [ebp - 4]
dec dword [ebp - 0x10]
jne 0x16d607
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x34]
dec eax
test eax, eax
jl 0x16d737
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x30]
call fcn.0016a82c
test al, al
jne 0x16d72b
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax]
call dword [edx + 0xc]
test al, al
je 0x16d72b
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 0x20]
call fcn.0016a3f0
mov eax, dword [ebp - 0x20]
mov ecx, 1
mov edx, 1
call fcn.000141b4
mov eax, dword [ebp - 0x1c]
mov edx, 0x16d768
call fcn.000140bc
je 0x16d72b
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax]
call dword [edx + 0xc]
mov byte [ebp - 9], al
lea edx, [ebp - 9]
mov ecx, 1
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x620]
inc dword [ebp - 4]
dec dword [ebp - 0x10]
jne 0x16d699
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x16d759
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00013d50
ret