Function at 0x180003640
Capabilities:
Check if file exists
Get file attributes

Disassembly:
lea r8, [0x180016228]
lea rdx, str.VBoxNetAdp6.inf
jmp 0x180003640
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x180045020]
xor rax, rsp
mov qword [rsp + 0x240], rax
cmp dword [0x180045170], 0
mov rbp, r8
mov rsi, rdx
mov ebx, ecx
je 0x180003678
xor ecx, ecx
call fcn.180008d10
lea rcx, [0x180004180]
mov dword [0x180045170], ebx
call fcn.180008d10
lea rdx, str.UpdateHostOnlyInterfaces:_Updating_all_host_only_interfaces
mov ecx, ebx
call fcn.1800040a0
xor ecx, ecx
call qword [sym.imp.SETUPAPI.dll_SetupSetNonInteractiveMode]
mov rcx, rsi
mov edi, eax
call fcn.18000ae70
mov ecx, 0x102
lea r9, [rsp + 0x20]
sub ecx, eax
lea r8, [rsp + 0x30]
mov dword [rsp + 0x20], ecx
lea rdx, str.CustomActionData
mov ecx, ebx
call sub.msi.dll_MsiGetSummaryInformationW
xor r14d, r14d
test eax, eax
jne 0x1800037fe
mov ecx, ebx
cmp dword [rsp + 0x20], r14d
je 0x1800037f0
lea r8, [rsp + 0x30]
lea rdx, str.UpdateHostOnlyInterfaces:_NetAdpDir_property___ls
call fcn.1800040a0
mov edx, dword [rsp + 0x20]
lea eax, [rdx - 1]
cmp word [rsp + rax*2 + 0x30], 0x5c
je 0x18000372c
mov ecx, 0x5c
mov word [rsp + rdx*2 + 0x30], cx
inc edx
mov eax, edx
add rax, rax
mov dword [rsp + 0x20], edx
cmp rax, 0x208
jae 0x180003852
mov word [rsp + rax + 0x30], r14w
mov r8, rsi
lea rcx, [rsp + 0x30]
mov edx, 0x104
call fcn.18000b010
lea r8, [rsp + 0x30]
mov ecx, ebx
lea rdx, str.UpdateHostOnlyInterfaces:_Resulting_INF_path___ls
call fcn.1800040a0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x180003782
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [rsp + 0x30]
mov ecx, ebx
mov r9d, eax
lea rdx, str.UpdateHostOnlyInterfaces:_File___ls__not_found__dwErr_ld
call fcn.1800040a0
jmp 0x18000380f
lea r8, [rsp + 0x30]
mov ecx, ebx
lea rdx, str.UpdateHostOnlyInterfaces:_File___ls__exists
call fcn.1800040a0
mov r8, rbp
mov dword [rsp + 0x24], r14d
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x30]
call fcn.180008d20
test eax, eax
js 0x1800037e7
cmp dword [rsp + 0x24], r14d
je 0x18000380f
lea rdx, str.UpdateHostOnlyInterfaces:_Reboot_required__setting_REBOOT_property_to_force
mov ecx, ebx
call fcn.1800040a0
lea r8, str.Force
mov ecx, ebx
lea rdx, str.REBOOT
call sub.msi.dll_MsiSummaryInfoGetPropertyCount
test eax, eax
je 0x18000380f
lea rdx, str.UpdateHostOnlyInterfaces:_Failed_to_set_REBOOT_property__error___x
jmp 0x180003805
lea rdx, str.UpdateHostOnlyInterfaces:_VBoxNetCfgWinUpdateHostOnlyNetworkInterface_failed__hr___x
jmp 0x180003805
lea rdx, str.UpdateHostOnlyInterfaces:_VBox_installation_path_is_empty
call fcn.1800040a0
jmp 0x18000380f
lea rdx, str.UpdateHostOnlyInterfaces:_Unable_to_retrieve_VBox_installation_path__error___x
mov r8d, eax
mov ecx, ebx
call fcn.1800040a0
test edi, edi
je 0x18000381b
mov ecx, edi
call qword [sym.imp.SETUPAPI.dll_SetupSetNonInteractiveMode]
cmp dword [0x180045170], r14d
je 0x180003832
xor ecx, ecx
call fcn.180008d10
mov dword [0x180045170], r14d
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180001140
add rsp, 0x250
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.180001179
int3