Function at 0x6b6c6e50
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov esi, dword fs:[0x18]
sub esp, 0x3c
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 8], 0x70
mov dword [esp + 4], 8
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
test eax, eax
je 0x6b6c70ca
mov dword [esp + 8], 8
mov ebx, eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x6b6c70a2
test byte [0x6b6d7038], 8
jne 0x6b6c7020
mov eax, dword [ebp + 8]
mov dword [ebx], 0x6b6da1a0
mov dword [ebx + 4], 0x6b6da180
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 8], str._Elk_Elk
mov dword [ebx + 0x38], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0xc], 0x6b6da140
mov dword [ebx + 0x10], 0x6b6da12c
mov dword [ebx + 0x14], str.pllk
mov dword [ebx + 0x18], str._Glk
mov dword [ebx + 0x1c], 1
mov dword [ebx + 0x20], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6b6e3778
mov dword [esp], ebx
call fcn.6b6c4300
mov ecx, dword [ebp + 0xc]
mov dword [edi], 2
mov dword [edi + 4], ebx
test ecx, ecx
je 0x6b6c6f79
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
lea ecx, [ebx + 0x3c]
mov eax, dword [eax]
mov dword [esp], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x6b6de368
call dword [eax]
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + 0x40]
sub esp, 0xc
mov eax, dword [eax]
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], 0x6b6de178
mov dword [esp], ecx
call dword [eax]
mov edx, dword [ebx + 0x3c]
sub esp, 0xc
test edx, edx
je 0x6b6c6fe0
mov dword [esp + 4], edi
xor esi, esi
mov dword [esp], 0x50
call fcn.6b6cee80
mov edx, dword [ebp + 0x18]
mov dword [ebx + 0x2c], eax
mov dword [edx], eax
lea eax, [ebx + 0x48]
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x48], eax
lea eax, [ebx + 0x50]
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x50], eax
lea eax, [ebx + 0x58]
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x58], eax
lea eax, [ebx + 0x60]
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x60], eax
lea eax, [ebx + 0x68]
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x68], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
test byte [0x6b6d7038], 8
jne 0x6b6c7070
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0x40]
test eax, eax
jne 0x6b6c6f79
test byte [0x6b6d7038], 1
je 0x6b6c6f79
mov dword [esp + 0xc], str.Unhandled_pUnk_n
mov dword [esp + 8], str.Context_Constructor
mov dword [esp + 4], 0x6b6d7038
mov dword [esp], 0
call fcn.6b6c4b30
jmp 0x6b6c6f79
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p___lx__p__p__p_n
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], str.Context_Constructor
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0x6b6d7038
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [esp], 3
mov dword [esp + 0x14], eax
call fcn.6b6c4b30
jmp 0x6b6c6ec3
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x6b6d9a8e
mov dword [esp + 8], str.Context_Constructor
mov dword [esp + 4], 0x6b6d7038
mov dword [esp], 3
call fcn.6b6c4b30
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov esi, 0x8007000e
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x6b6c6fd2
mov esi, 0x8007000e
jmp 0x6b6c6fd2