Function at 0x1000b3e0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x10]
push ebx
sub esp, 0x34
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.secur32.dll_EnumerateSecurityPackagesW
mov dword [ebp - 0x14], eax
sub esp, 8
test eax, eax
jne 0x1000b6f8
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x1000b6f8
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x1000b6f8
lea edi, [eax + eax*4]
mov ebx, edx
lea esi, [edi*4]
lea edi, [edx + 0xc]
mov dword [ebp - 0x20], ebx
mov edx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], esi
lea eax, [edi + esi]
mov ebx, edi
mov dword [ebp - 0x18], edx
mov edi, eax
lea esi, [esi]
lea esi, [esi]
mov eax, dword [ebx]
test eax, eax
je 0x1000b49c
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub esp, 0x20
add esi, eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x1000b4e8
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0
call eax
sub esp, 0x20
add esi, eax
add ebx, 0x14
cmp edi, ebx
jne 0x1000b450
mov dword [esp + 8], esi
mov ebx, dword [ebp - 0x20]
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.ntdll.dll_RtlAllocateHeap]
mov dword [ebp - 0x20], eax
sub esp, 0xc
test eax, eax
je 0x1000b705
mov edi, dword [ebp - 0x1c]
mov esi, eax
add edi, eax
mov dword [ebp - 0x18], edi
jmp 0x1000b67e
mov dword [esi + 0xc], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub esp, 0x20
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub esp, 0x20
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_strlen]
lea edi, [edi + eax + 1]
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x1000b6b7
mov ecx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esi + 0x10], edi
add ebx, 0x14
add esi, 0x14
mov dword [esp + 0x1c], 0
mov dword [ebp - 0x1c], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call ecx
mov ecx, dword [ebp - 0x1c]
sub esp, 0x20
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
mov eax, dword [esi - 4]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], eax
mov eax, dword [ebx - 4]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], 0
call ecx
sub esp, 0x20
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_strlen]
lea edi, [edi + eax + 1]
cmp esi, dword [ebp - 0x18]
je 0x1000b6c9
mov eax, dword [ebx]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x1000b538
mov dword [esi + 0xc], 0
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x1000b5d9
mov dword [esi + 0x10], 0
add ebx, 0x14
add esi, 0x14
cmp esi, dword [ebp - 0x18]
jne 0x1000b67e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov edx, dword [ebp - 0x10]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
sub esp, 0xc
mov eax, dword [ebp - 0x14]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x1000b6d1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], 0x80090300
mov dword [eax], 0
jmp 0x1000b6d1