Function at 0x6b6cf2b0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x20]
push ebx
sub esp, 0x4c
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.msctf.dll_TF_GetThreadMgr
sub esp, 4
test eax, eax
js 0x6b6cf645
mov dword [esp + 8], 0x48
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x30], eax
call eax
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x6b6cf609
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], str.I_ne
mov dword [esp], eax
call dword [edx]
mov eax, dword [ebp - 0x1c]
lea ecx, [ebx + 0x44]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0xc]
mov eax, dword [ebp - 0x1c]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov edx, dword [ebx + 0x44]
sub esp, 4
test edx, edx
je 0x6b6cf609
mov eax, dword [esi]
mov dword [ebx + 0x38], 0
lea edi, [ebx + 0x14]
mov dword [ebx + 0x40], 0
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x34], eax
lea eax, [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.6b6c2b60
test eax, eax
js 0x6b6cf550
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0x6b6d70a0
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x1c]
mov eax, dword [ebp - 0x24]
sub esp, 0x14
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [0x6b6e3788]
sub esp, 4
cmp dword [ebx + 0x14], eax
je 0x6b6cf58b
mov esi, dword [0x6b6d70ac]
mov eax, dword [esi]
cmp esi, 0x6b6d70ac
je 0x6b6cf4d8
mov ecx, dword [edi]
mov edx, dword [esi + 8]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ecx
mov ebx, dword [ebp - 0x2c]
cmp ebx, dword [edx + 0x14]
je 0x6b6cf45c
lea esi, [esi]
mov edx, dword [eax]
mov esi, eax
cmp eax, 0x6b6d70ac
je 0x6b6cf5d0
mov eax, edx
mov edx, dword [esi + 8]
mov ebx, dword [ebp - 0x2c]
cmp ebx, dword [edx + 0x14]
jne 0x6b6cf440
mov ebx, dword [edx + 0x18]
cmp dword [edi + 4], ebx
jne 0x6b6cf440
mov ebx, dword [edx + 0x1c]
cmp dword [edi + 8], ebx
jne 0x6b6cf440
mov ecx, dword [edx + 0x20]
cmp dword [edi + 0xc], ecx
jne 0x6b6cf440
mov eax, edx
mov ebx, dword [ebp - 0x34]
call fcn.6b6ce990
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [edx + 4], eax
mov edx, dword [esi]
mov dword [eax], edx
mov eax, dword [esi + 8]
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x2c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x2c]
sub esp, 0xc
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
lea esi, [esi]
mov eax, dword [0x6b6ec00c]
test eax, eax
jne 0x6b6cf5c0
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
call eax
sub esp, 0xc
test eax, eax
je 0x6b6cf609
mov edx, dword [0x6b6d70ac]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x6b6d70ac
mov dword [eax], edx
mov dword [0x6b6d70ac], eax
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
xor eax, eax
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x6b6d70b4], 2
jne 0x6b6cf5e0
mov eax, dword [0x6b6e3788]
mov dword [ebx + 0x14], eax
mov eax, dword [0x6b6e378c]
mov dword [ebx + 0x18], eax
mov eax, dword [0x6b6e3790]
mov dword [ebx + 0x1c], eax
mov eax, dword [0x6b6e3794]
mov dword [ebx + 0x20], eax
mov eax, dword [0x6b6e3788]
cmp dword [ebx + 0x14], eax
jne 0x6b6cf416
mov eax, dword [0x6b6e378c]
cmp dword [edi + 4], eax
jne 0x6b6cf416
mov eax, dword [0x6b6e3790]
cmp dword [edi + 8], eax
jne 0x6b6cf416
mov eax, dword [0x6b6e3794]
cmp dword [edi + 0xc], eax
jne 0x6b6cf416
jmp 0x6b6cf4d8
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.6b6ce6b0
jmp 0x6b6cf4e5
mov ebx, dword [ebp - 0x34]
jmp 0x6b6cf4d8
mov dword [esp + 0xc], str.CategoryMgr_construction_failed_n
mov dword [esp + 8], str.add_active_textservice
mov dword [esp + 4], 0x6b6d70b4
mov dword [esp], 1
call fcn.6b6cea40
jmp 0x6b6cf55d
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, 0x8007000e
sub esp, 0xc
jmp 0x6b6cf53e
mov eax, 0x8000ffff
jmp 0x6b6cf53e