Function at 0x1000b5c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062112
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
push esi
push edi
mov eax, dword [0x100ad040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x28], edi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi + 4], xmm0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 7
mov word [edi + 4], ax
mov dword [ebp - 4], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov byte [ebp - 4], 1
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov byte [ebp - 4], 2
lea eax, [edi + 0x34]
mov dword [ebp - 0x24], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 3
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 5
mov dword [edi + 0x50], 0
mov byte [ebp - 4], 6
lea esi, [edi + 0x58]
push 0x40
mov dword [ebp - 0x20], esi
push 0x40
mov dword [esi], 0
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 8
mov ecx, edi
call fcn.1000ba00
mov esi, dword [ebx + 8]
push esi
call dword [sym.imp.msi.dll_MsiGetFeatureInfoW]
cmp eax, 0xffffffff
jne 0x1000b6d4
push esi
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
mov dword [edi], eax
mov eax, 1
jmp 0x1000b6d8
mov dword [edi], esi
xor eax, eax
mov dword [edi + 0x4c], eax
cmp dword [edi], 0
jne 0x1000b80d
call fcn.1001cd60
cmp byte [eax + 0x1c], 0
je 0x1000b806
call fcn.1001cd60
mov dword [ebp - 0x20], eax
call fcn.1000a220
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1000b82c
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x1006e578]
mov ecx, dword [ebp - 0x18]
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
push 0x39
push str.MsiTableReader:_Error_opening_the_MSI_database___ERROR_
call fcn.100117e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x14]
call fcn.1001d2a0
mov dword [ebp - 0x24], eax
call fcn.1000a220
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1000b82c
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x1006e578]
mov ecx, dword [ebp - 0x18]
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x18]
push 0
push 0x10093cf4
call fcn.100117e0
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x1000b7a8
push str.AiEmbeddedDirectCall
push eax
call dword [sym.imp.msi.dll_MsiGetComponentStateW]
cmp eax, 1
je 0x1000b7a8
push dword [ebp - 0x24]
mov ecx, esi
call fcn.1001cf80
mov byte [ebp - 4], 0xb
or ecx, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, ecx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b7db
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1006e578]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x1c]
or ecx, 0xffffffff
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1000b806
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1006e578]
mov ecx, edi
call esi
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x54], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push 0x80004005
call fcn.10005390
int3