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

Disassembly:
push 0xffffffffffffffff
push 0x5c4fd4
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x669f00]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
lea ecx, [edi + 4]
call 0xbdc1e4
xor ebp, ebp
lea ecx, [edi + 8]
mov dword [esp + 0x28], ebp
call 0xbdc1e4
lea ecx, [edi + 0x10]
mov byte [esp + 0x28], 1
call 0xbdc1e4
lea ecx, [edi + 0x14]
mov byte [esp + 0x28], 2
call 0xbdc1e4
lea ecx, [edi + 0x18]
mov byte [esp + 0x28], 3
call 0xbdc1e4
lea ecx, [edi + 0x1c]
mov byte [esp + 0x28], 4
call 0xbdc1e4
lea ecx, [edi + 0x20]
mov byte [esp + 0x28], 5
call 0xbdc1e4
mov dword [edi + 0x24], ebp
mov dword [edi + 0x28], ebp
mov dword [edi + 0x2c], ebp
mov dword [edi + 0x30], ebp
lea ecx, [edi + 0x38]
mov byte [esp + 0x28], 8
call fcn.00b10594
lea esi, [edi + 0x58]
mov ecx, esi
mov byte [esp + 0x28], 9
call fcn.00b15204
mov dword [esi + 4], eax
mov byte [eax + 0x11], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0xa
mov dword [edi + 0x34], ebp
call 0xbdc1e4
mov bl, 0xb
push 0x6c
mov byte [esp + 0x2c], bl
call 0xc75d08
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0x28], 0xc
je 0xb16262
mov ecx, eax
call fcn.00b29584
jmp 0xb16264
xor eax, eax
push 0x5f0920
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
mov dword [edi + 0xc], eax
call 0xbdc1f4
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 0xd
call 0xbdd6b4
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call 0xbdc714
call 0xbdff84
mov ecx, eax
call 0xbdff94
mov esi, eax
mov eax, dword [esi + 0x18]
push 0x5f0910
push eax
call 0xbee904
mov ebp, dword [esi + 0x18]
push 8
push ebp
call 0xbef0f4
push 1
push 0x42b860
push ebp
mov dword [eax], edi
mov dword [eax + 4], 0x42aa40
call 0xbee9a4
mov eax, dword [esi + 0x18]
push 0xffffd8ef
push eax
call 0xbeece4
mov eax, dword [esi + 0x18]
push 0x5f0900
push eax
call 0xbee904
mov ebp, dword [esi + 0x18]
push 8
push ebp
call 0xbef0f4
push 1
push 0x42b8b0
push ebp
mov dword [eax], edi
mov dword [eax + 4], 0x42ad50
call 0xbee9a4
mov eax, dword [esi + 0x18]
add esp, 0x40
push 0xffffd8ef
push eax
call 0xbeece4
mov eax, dword [esi + 0x18]
push 0x5f08ec
push eax
call 0xbee904
mov ebp, dword [esi + 0x18]
push 8
push ebp
call 0xbef0f4
push 1
push 0x42b8b0
push ebp
mov dword [eax], edi
mov dword [eax + 4], 0x42a5f0
call 0xbee9a4
mov eax, dword [esi + 0x18]
push 0xffffd8ef
push eax
call 0xbeece4
mov eax, dword [esi + 0x18]
push 0x5f08d8
push eax
call 0xbee904
mov ebp, dword [esi + 0x18]
push 8
push ebp
call 0xbef0f4
push 1
push 0x42b8b0
push ebp
mov dword [eax], edi
mov dword [eax + 4], 0x42a7d0
call 0xbee9a4
mov eax, dword [esi + 0x18]
add esp, 0x48
push 0xffffd8ef
push eax
call 0xbeece4
mov eax, dword [esi + 0x18]
push 0x5f08c8
push eax
call 0xbee904
mov ebp, dword [esi + 0x18]
push 8
push ebp
call 0xbef0f4
push 1
push 0x42b8b0
push ebp
mov dword [eax], edi
mov dword [eax + 4], 0x42a9b0
call 0xbee9a4
mov eax, dword [esi + 0x18]
push 0xffffd8ef
push eax
call 0xbeece4
mov eax, dword [esi + 0x18]
push 0x5f08b8
push eax
call 0xbee904
mov ebp, dword [esi + 0x18]
mov ecx, dword [edi + 0xc]
mov ebx, dword [ecx + 8]
push 8
push ebp
call 0xbef0f4
push 1
push 0x42b8e0
push ebp
mov dword [eax], ebx
mov dword [eax + 4], 0x443e80
call 0xbee9a4
mov eax, dword [esi + 0x18]
add esp, 0x48
push 0xffffd8ef
push eax
call 0xbeece4
mov eax, dword [esi + 0x18]
push 0x5f08a4
push eax
call 0xbee904
mov ebp, dword [esi + 0x18]
push 8
push ebp
call 0xbef0f4
push 1
push 0x42b8b0
push ebp
mov dword [eax], edi
mov dword [eax + 4], 0x42aa00
call 0xbee9a4
mov eax, dword [esi + 0x18]
push 0xffffd8ef
push eax
call 0xbeece4
mov eax, dword [esi + 0x18]
push 0x5f0894
push eax
call 0xbee904
mov ebp, dword [esi + 0x18]
push 8
push ebp
call 0xbef0f4
push 1
push 0x42b910
mov dword [eax], edi
mov dword [eax + 4], 0x42b110
push ebp
call 0xbee9a4
mov eax, dword [esi + 0x18]
add esp, 0x48
push 0xffffd8ef
push eax
call 0xbeece4
mov eax, dword [esi + 0x18]
push 0x5f088c
push eax
call 0xbee904
mov ebp, dword [esi + 0x18]
push 8
push ebp
call 0xbef0f4
push 1
push 0x42b940
push ebp
mov dword [eax], edi
mov dword [eax + 4], 0x42c360
call 0xbee9a4
mov eax, dword [esi + 0x18]
push 0xffffd8ef
push eax
call 0xbeece4
mov eax, dword [esi + 0x18]
push 0x5f0884
push eax
call 0xbee904
mov ebp, dword [esi + 0x18]
push 8
push ebp
call 0xbef0f4
push 1
push 0x42b9a0
push ebp
mov dword [eax], edi
mov dword [eax + 4], 0x42b680
call 0xbee9a4
mov eax, dword [esi + 0x18]
add esp, 0x48
push 0xffffd8ef
push eax
call 0xbeece4
mov eax, dword [esi + 0x18]
push 0x5f0874
push eax
call 0xbee904
mov ebp, dword [esi + 0x18]
push 8
push ebp
call 0xbef0f4
push 1
push 0x42b9a0
push ebp
mov dword [eax], edi
mov dword [eax + 4], 0x42b0f0
call 0xbee9a4
mov eax, dword [esi + 0x18]
push 0xffffd8ef
push eax
call 0xbeece4
mov eax, dword [esi + 0x18]
push 0x5f0854
push eax
call 0xbee904
mov ebp, dword [esi + 0x18]
push 8
push ebp
call 0xbef0f4
push 1
push 0x42b9a0
push ebp
mov dword [eax], edi
mov dword [eax + 4], 0x42b130
call 0xbee9a4
mov eax, dword [esi + 0x18]
add esp, 0x48
push 0xffffd8ef
push eax
call 0xbeece4
mov eax, dword [esi + 0x18]
push 0x5f084c
push eax
call 0xbee904
mov ebp, dword [esi + 0x18]
push 8
push ebp
call 0xbef0f4
push 1
push 0x42b9c0
push ebp
mov dword [eax], edi
mov dword [eax + 4], 0x42b1c0
call 0xbee9a4
mov eax, dword [esi + 0x18]
push 0xffffd8ef
push eax
call 0xbeece4
mov eax, dword [esi + 0x18]
push 0x5ed984
push eax
call 0xbee904
mov ebp, dword [esi + 0x18]
push 8
push ebp
call 0xbef0f4
push 1
push 0x42b9a0
push ebp
mov dword [eax], edi
mov dword [eax + 4], 0x42b240
call 0xbee9a4
mov eax, dword [esi + 0x18]
add esp, 0x48
push 0xffffd8ef
push eax
call 0xbeece4
mov eax, dword [esi + 0x18]
push 0x5f0834
push eax
call 0xbee904
mov ebp, dword [esi + 0x18]
push 8
push ebp
call 0xbef0f4
push 1
push 0x42b9a0
push ebp
mov dword [eax], edi
mov dword [eax + 4], 0x42d340
call 0xbee9a4
mov eax, dword [esi + 0x18]
push 0xffffd8ef
push eax
call 0xbeece4
mov eax, dword [esi + 0x18]
push 0x5f0824
push eax
call 0xbee904
mov ebp, dword [esi + 0x18]
push 8
push ebp
call 0xbef0f4
push 1
push 0x42ba00
push ebp
mov dword [eax], edi
mov dword [eax + 4], 0x42b250
call 0xbee9a4
mov esi, dword [esi + 0x18]
add esp, 0x48
push 0xffffd8ef
push esi
call 0xbeece4
add esp, 8
lea ecx, [esp + 0x18]
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], 1
mov byte [esp + 0x28], 0xa
call 0xbdc714
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret