Function at 0x4162f0
Capabilities:
Get common file path

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 0x5970e4
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb20
mov eax, dword [0x60dfd4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x200
lea eax, [ebp - 0x288]
push 0
push eax
call fcn.0056eeb0
add esp, 0xc
lea eax, [ebp - 0x288]
push 0x100
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
call fcn.0041b520
mov eax, dword [esi + 0x68]
test eax, eax
je 0x4166d5
mov eax, dword [eax]
test eax, eax
je 0x4166d5
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x4166d5
push 0
push 4
push 3
push 0
push 1
push 0x80000000
push str.Intel_Bluetooth.msi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4163bc
push str.Open_MSI_failed
call fcn.0041c4c0
add esp, 4
mov eax, 0x654
jmp 0x4166e4
mov edx, edi
mov ecx, str.Intel_Bluetooth.msi
call fcn.0041c6f0
test eax, eax
jne 0x4163ea
push str.VerifyEmbeddedSignature_failed
call fcn.0041c4c0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x654
jmp 0x4166e4
mov ecx, str.Intel_Bluetooth.msi
call fcn.0041c800
test eax, eax
jne 0x416416
push str.VerifyIntelCertificate_failed
call fcn.0041c4c0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x654
jmp 0x4166e4
mov ecx, esi
call fcn.0041a6a0
test eax, eax
je 0x416428
mov ecx, esi
call fcn.004191d0
mov eax, dword [esi + 0x50]
cmp dword [eax - 0xc], 0
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0xb2c], eax
mov eax, dword [esi + 0x68]
jne 0x41657d
movups xmm0, xmmword [str._sMsiexec.exe__I___s_s___s]
movups xmmword [ebp - 0x4c], xmm0
movups xmm0, xmmword [0x5eb6d8]
movups xmmword [ebp - 0x3c], xmm0
movups xmm0, xmmword [0x5eb6e8]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [0x5eb6f8]
movq qword [ebp - 0x1c], xmm0
test eax, eax
jne 0x4164bf
push 0xc
call fcn.0041d1b5
add esp, 4
mov dword [ebp - 0xb30], eax
test eax, eax
je 0x4164ab
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 1
mov dword [eax], 0
jmp 0x4164ad
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x68], eax
test eax, eax
je 0x416702
push dword [ebp - 0xb2c]
push dword [eax]
lea eax, [esi + 0xabc]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x6d8]
push 0x225
push eax
call fcn.0041c350
add esp, 0x1c
cmp dword [esi + 0x7c], 0
je 0x41650c
push str._FCODE1
lea eax, [ebp - 0x6d8]
push 0x226
push eax
call fcn.00575aeb
add esp, 0xc
push str._SETUP_SOURCE_
lea eax, [ebp - 0x6d8]
push 0x226
push eax
call fcn.00575aeb
add esp, 0xc
lea eax, [esi + 0xcc8]
push eax
lea eax, [ebp - 0x6d8]
push 0x226
push eax
call fcn.00575aeb
add esp, 0xc
lea eax, [ebp - 0x6d8]
push 0x5ea36c
push 0x226
push eax
call fcn.00575aeb
add esp, 0xc
lea eax, [ebp - 0x6d8]
push eax
call fcn.0041c4c0
add esp, 4
push 0x5eb734
call fcn.0041c4c0
lea eax, [ebp - 0x6d8]
jmp 0x4166bd
movups xmm0, xmmword [0x5eb738]
movups xmmword [ebp - 0x84], xmm0
movups xmm0, xmmword [0x5eb748]
movups xmmword [ebp - 0x74], xmm0
movups xmm0, xmmword [0x5eb758]
movups xmmword [ebp - 0x64], xmm0
movq xmm0, qword [0x5eb768]
movq qword [ebp - 0x54], xmm0
test eax, eax
jne 0x4165fe
push 0xc
call fcn.0041d1b5
add esp, 4
mov dword [ebp - 0xb30], eax
test eax, eax
je 0x4165ea
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 1
mov dword [eax], 0
jmp 0x4165ec
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x68], eax
test eax, eax
je 0x41670c
push dword [ebp - 0xb2c]
push dword [eax]
lea eax, [esi + 0xabc]
push eax
push dword [esi + 0x50]
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xb28]
push 0x225
push eax
call fcn.0041c350
add esp, 0x20
cmp dword [esi + 0x7c], 0
je 0x416651
push str._FCODE1
lea eax, [ebp - 0xb28]
push 0x226
push eax
call fcn.00575aeb
add esp, 0xc
push str._SETUP_SOURCE_
lea eax, [ebp - 0xb28]
push 0x226
push eax
call fcn.00575aeb
add esp, 0xc
lea eax, [esi + 0xcc8]
push eax
lea eax, [ebp - 0xb28]
push 0x226
push eax
call fcn.00575aeb
add esp, 0xc
lea eax, [ebp - 0xb28]
push 0x5ea36c
push 0x226
push eax
call fcn.00575aeb
add esp, 0xc
lea eax, [ebp - 0xb28]
push eax
call fcn.0041c4c0
add esp, 4
push 0x5eb734
call fcn.0041c4c0
lea eax, [ebp - 0xb28]
add esp, 4
mov ecx, esi
push eax
call fcn.00416120
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x4166e4
push str.Setup___LaunchInstallSuiteMSI_MSI_name_was_not_found__n
call fcn.0041c4c0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0056a6fa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x8007000e
call fcn.0056db90
push 0x8007000e
call fcn.0056db90
int3