Function at 0x1000b250
Capabilities:
Access peb ldr_data

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 0x1005a59f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x10088020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov dword [ebp - 4], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov byte [ebp - 4], 1
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov byte [ebp - 4], 2
lea eax, [edi + 0x30]
mov dword [ebp - 0x1c], 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 - 0x18], 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.1000b640
mov esi, dword [ebx + 8]
push esi
call dword [sym.imp.msi.dll_MsiGetFeatureInfoW]
cmp eax, 0xffffffff
jne 0x1000b36d
push esi
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
mov esi, eax
mov eax, 1
jmp 0x1000b36f
xor eax, eax
mov dword [edi + 0x48], esi
mov dword [edi + 0x4c], eax
cmp dword [edi + 0x48], 0
jne 0x1000b457
call fcn.1001af00
cmp byte [eax + 0x1c], 0
je 0x1000b450
call fcn.1001af00
mov esi, eax
call fcn.10009f40
test eax, eax
je 0x1000b476
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0xc]
call edx
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.10010b90
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x14]
call fcn.1001b3b0
mov dword [ebp - 0x1c], eax
call fcn.10009f40
test eax, eax
je 0x1000b476
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x18]
push 0
push 0x100707ac
call fcn.10010b90
push ecx
push dword [ebp - 0x1c]
mov ecx, esi
sub esp, 8
call fcn.1001b0f0
mov byte [ebp - 4], 0xb
or esi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000b434
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1000b450
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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