joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000172c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001776
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001776
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001776
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001776
cmp dword [rcx + 0x84], 0xe
jbe 0x140001776
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001778
xor al, al
add rsp, 0x28
ret

Function at 0x140004de8
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140004e57
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004e57
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004e57
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004e57
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004e57
cmp dword [rcx + 0x84], 0xe
jbe 0x140004e57
cmp dword [rcx + 0xf8], 0
je 0x140004e57
mov ecx, ebx
call fcn.140004f08
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140004ce4
nop
cmp dword [rbp + 0x20], 0
je 0x140004ea5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140004eb0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140004de8

Function at 0x140004fec
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140004de8
Function at 0x1400080ac
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400080dc
xor eax, eax
jmp 0x14000819f
mov rbp, rbx
cmp word [rax], si
je 0x140008101
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400080e8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400080e4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140007fcc
movsxd r14, eax
test eax, eax
jne 0x14000813f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400080d5
mov rcx, r14
call fcn.140008f88
mov rdi, rax
test rax, rax
jne 0x140008158
xor ecx, ecx
call fcn.14000662c
jmp 0x140008134
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140007fcc
test eax, eax
jne 0x140008189
mov rcx, rdi
call fcn.14000662c
jmp 0x140008193
xor ecx, ecx
call fcn.14000662c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000b690
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000709c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000b71a
cmp byte [rbp - 0x21], r15b
je 0x14000b715
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000b750
call fcn.140009798
test eax, eax
jne 0x14000b73c
cmp byte [rbp - 0x21], r15b
je 0x14000b734
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000b750
cmp byte [rbp - 0x21], r15b
je 0x14000b74d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000667c
test eax, eax
jne 0x14000b7f0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000709c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000b78f
cmp byte [rbp - 0x21], r15b
je 0x14000b7c4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000b7c4
call fcn.140009798
test eax, eax
jne 0x14000b7b0
cmp byte [rbp - 0x21], r15b
je 0x14000b7a9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000b7c4
cmp byte [rbp - 0x21], r15b
je 0x14000b7c1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000667c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000b7f0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000b7f3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000b801
mov rcx, rdi
call fcn.14000662c
cmp byte [rbp + 0x3f], r15b
je 0x14000b810
mov rcx, qword [rbp + 0x27]
call fcn.14000662c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000e640
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000e668
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000e668
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180001ce0
Capabilities:
Set current directory
Set environment variable

Disassembly:
push rbx
mov eax, 0x4060
call section..text
sub rsp, rax
mov rax, qword [0x180045020]
xor rax, rsp
mov qword [rsp + 0x4050], rax
lea rdx, str.InstallPythonAPI:_Checking_for_installed_Python_environment_s__...
mov ebx, ecx
call fcn.1800040a0
mov r9d, 0x1004
mov byte [rsp + 0x20], 1
lea r8, [rsp + 0x2040]
mov rdx, 0xffffffff80000002
mov ecx, ebx
call fcn.180003ab0
test eax, eax
je 0x180001d73
mov r9d, 0x1004
mov byte [rsp + 0x20], 1
lea r8, [rsp + 0x2040]
mov rdx, 0xffffffff80000001
mov ecx, ebx
call fcn.180003ab0
test eax, eax
je 0x180001d73
lea r8, [0x1800149f8]
mov ecx, ebx
lea rdx, str.VBOX_API_INSTALLED
call fcn.180004990
jmp 0x180001ecc
mov r9d, 0x1004
lea r8, [rsp + 0x30]
lea rdx, str.CustomActionData
mov ecx, ebx
call fcn.180004900
test eax, eax
jne 0x180001e95
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x180001e77
lea rdx, [rsp + 0x30]
lea rcx, str.VBOX_INSTALL_PATH
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
je 0x180001e5e
lea r8, [rsp + 0x30]
mov ecx, ebx
lea rdx, str.InstallPythonAPI:_Invoking_vboxapisetup.py_in___ls__...
call fcn.1800040a0
lea r8, str.vboxapisetup.py_install
mov ecx, ebx
lea rdx, [rsp + 0x2040]
call fcn.1800041a0
test eax, eax
jne 0x180001e55
lea rdx, str.InstallPythonAPI:_Installation_of_vboxapisetup.py_successful
mov ecx, ebx
call fcn.1800040a0
lea rdx, str.InstallPythonAPI:_Validating_VBox_API_...
mov ecx, ebx
call fcn.1800040a0
lea r8, str._c__from_vboxapi_import_VirtualBoxManager_
mov ecx, ebx
lea rdx, [rsp + 0x2040]
call fcn.1800041a0
test eax, eax
jne 0x180001e4c
lea rdx, str.InstallPythonAPI:_VBox_API_looks_good.
mov ecx, ebx
call fcn.1800040a0
lea r8, [0x1800148f4]
mov ecx, ebx
lea rdx, str.VBOX_API_INSTALLED
call fcn.180004990
jmp 0x180001ecc
lea rdx, str.InstallPythonAPI:_Validating_VBox_API_failed_with__u___x_
jmp 0x180001e9c
lea rdx, str.InstallPythonAPI:_Calling_vboxapisetup.py_failed_with__u___x_
jmp 0x180001e9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.InstallPythonAPI:_Could_set_environment_variable_VBOX_INSTALL_PATH:_LastError_u
mov ecx, ebx
mov r8d, eax
call fcn.1800040a0
jmp 0x180001ea9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, [rsp + 0x30]
mov ecx, ebx
mov r9d, eax
lea rdx, str.InstallPythonAPI:_Could_set_working_directory_to___ls_:_LastError_u
call fcn.1800040a0
jmp 0x180001ea9
lea rdx, str.InstallPythonAPI:_Unable_to_retrieve_VBox_installation_directory:_rcWin_u___x_
mov r9d, eax
mov r8d, eax
mov ecx, ebx
call fcn.1800040a0
lea r8, [0x1800149f8]
mov ecx, ebx
lea rdx, str.VBOX_API_INSTALLED
call fcn.180004990
lea rdx, str.InstallPythonAPI:_Installation_failed
mov ecx, ebx
call fcn.1800040a0
xor eax, eax
mov rcx, qword [rsp + 0x4050]
xor rcx, rsp
call fcn.180001140
add rsp, 0x4060
pop rbx
ret
Function at 0x180001ef0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
mov edi, ecx
lea rax, [rbp - 8]
xor esi, esi
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov qword [rbp - 8], rsi
mov r9d, 0x20019
lea rdx, str.SOFTWAREMicrosoftVisualStudio14.0VCRuntimesX64
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x180002092
mov rcx, qword [rbp - 8]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x10]
lea rax, [rbp - 0xc]
mov dword [rbp - 0xc], esi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Installed
mov dword [rbp + 0x38], 4
mov dword [rbp - 0x10], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x180002081
cmp dword [rbp - 0xc], 1
jb 0x18000206c
mov rcx, qword [rbp - 8]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x10]
lea rax, [rbp + 0x28]
mov dword [rbp + 0x28], esi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Major
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov ecx, edi
test eax, eax
jne 0x180002063
mov r8d, dword [rbp + 0x28]
lea rdx, str.VBOX_MSCRT_VER_MAJ
call fcn.1800049a0
mov rcx, qword [rbp - 8]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x10]
lea rax, [rbp + 0x30]
mov dword [rbp + 0x30], esi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Minor
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov ecx, edi
test eax, eax
jne 0x18000205a
mov r8d, dword [rbp + 0x30]
lea rdx, str.VBOX_MSCRT_VER_MIN
call fcn.1800049a0
mov r9d, dword [rbp + 0x30]
lea rdx, str.IsMSCRTInstalled:_Found_v_u._u_n
mov r8d, dword [rbp + 0x28]
mov ecx, edi
call fcn.1800040a0
cmp dword [rbp + 0x28], 0xe
jb 0x1800020a3
cmp dword [rbp + 0x30], 0x14
jb 0x1800020a3
lea r8, [0x1800148f4]
mov ecx, edi
lea rdx, str.VBOX_MSCRT_INSTALLED
call fcn.180004990
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.IsMSCRTInstalled:_Found__but_Minor_key_not_present__lrc_d_
jmp 0x18000208a
lea rdx, str.IsMSCRTInstalled:_Found__but_Major_key_not_present__lrc_d_
jmp 0x18000208a
lea rdx, str.IsMSCRTInstalled:_Found__but_not_marked_as_installed
mov ecx, edi
call fcn.1800040a0
mov ebx, 0xe0001000
jmp 0x180002092
lea rdx, str.IsMSCRTInstalled:_Found__but_Installed_key_not_present__lrc_d_
mov ecx, edi
mov r8d, eax
call fcn.1800040a0
mov r8d, ebx
lea rdx, str.IsMSCRTInstalled:_Failed_with_lrc_ld
mov ecx, edi
call fcn.1800040a0
mov rbx, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800021b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000002
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1800022a3
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x58], eax
lea rdx, str.CurrentMajorVersionNumber
lea rax, [rsp + 0x60]
mov dword [rsp + 0x60], 4
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x58]
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, ebx
test eax, eax
jne 0x180002281
mov r8d, dword [rsp + 0x58]
lea rdx, str.IsWindows10_CurrentMajorVersionNumber:__u
call fcn.1800040a0
cmp dword [rsp + 0x58], 0xa
lea rax, [0x1800148f4]
lea r8, [0x1800146d8]
mov ecx, ebx
cmovae r8, rax
lea rdx, str.VBOX_IS_WINDOWS_10
call fcn.180004990
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov r8d, eax
lea rdx, str.IsWindows10_RegOpenKeyExW:_Error_reading_CurrentMajorVersionNumber___ld_
call fcn.1800040a0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov r8d, eax
lea rdx, str.IsWindows10_RegOpenKeyExW:_Error_opening_CurrentVersion_key___ld_
mov ecx, ebx
call fcn.1800040a0
xor eax, eax
add rsp, 0x40
pop rbx
ret
Function at 0x1800022e0
Capabilities:
Check if file exists

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
Function at 0x180002800
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x180045020]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov ebx, ecx
lea rax, [rsp + 0x48]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
lea rdx, [0x180016cc0]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000299b
mov qword [rsp + 0x278], rsi
lea rdx, str.VBox_HostInterfaces:_Enumerating_interfaces_...
mov ecx, ebx
mov qword [rsp + 0x280], rdi
call fcn.1800040a0
xor esi, esi
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x200
mov edi, esi
call sym.VBoxInstallHelper.dll_nocrt_memset
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], rsi
xor edx, edx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x40], 0x200
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x18000294c
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.180003e00
test al, al
je 0x1800028fd
lea r8, [rsp + 0x50]
mov ecx, ebx
lea rdx, str.VBox_HostInterfaces:_Removing_interface___ls__...
call fcn.1800040a0
lea rdx, [rsp + 0x50]
mov ecx, ebx
call fcn.180004410
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x200
inc edi
call sym.VBoxInstallHelper.dll_nocrt_memset
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rsi
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], rsi
mov edx, edi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x40], 0x200
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1800028c0
mov rdi, qword [rsp + 0x280]
mov ecx, ebx
mov rsi, qword [rsp + 0x278]
cmp eax, 0x103
je 0x180002976
mov r8d, eax
lea rdx, str.VBox_HostInterfaces:_Enumeration_failed:__ld
call fcn.1800040a0
jmp 0x180002982
lea rdx, str.VBox_HostInterfaces:_No_interfaces_found.
call fcn.1800040a0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.VBox_HostInterfaces:_Removing_interfaces_done.
mov ecx, ebx
call fcn.1800040a0
xor eax, eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180001140
add rsp, 0x260
pop rbx
ret
Function at 0x180002c10
Capabilities:
Check if file exists

Disassembly:
lea r8, [0x180016228]
lea rdx, str.VBoxNetAdp.inf
jmp 0x180003640
Function at 0x180004cb0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x180045020]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov rcx, rbx
mov edi, eax
call fcn.18000ae70
lea ecx, [rdi + 1]
mov edx, ecx
lea r8, [rax + 1]
add rcx, r8
cmp rcx, 0x104
jbe 0x180004d05
xor eax, eax
jmp 0x180004d2e
mov ecx, 0x5c
add r8, r8
mov word [rsp + rdi*2 + 0x20], cx
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rdx*2]
mov rdx, rbx
call sym.VBoxInstallHelper.dll_nocrt_memcpy
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180001140
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret

Function at 0x180005010
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
xor esi, esi
lea rax, [rsp + 0x78]
mov rdi, rcx
mov qword [rsp + 0x78], rsi
lea r9, [0x18001a138]
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [0x18001a128]
lea r8d, [rsi + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
js 0x180005167
mov rax, qword [rsp + 0x78]
lea rdx, str.ROOTCIMV2
mov qword [rsp + 0x80], rsi
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x18]
lea rcx, [rsp + 0x88]
call fcn.180008f80
mov rcx, qword [rsp + 0x88]
lea rax, [rsp + 0x80]
mov rdx, qword [0x1800193f0]
test rcx, rcx
mov qword [rsp + 0x40], rax
mov rax, rbx
cmovne rdx, rcx
mov qword [rsp + 0x38], rsi
mov rcx, qword [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call qword [case.0x1800127d5.0]
lea rcx, [rsp + 0x88]
mov ebx, eax
call fcn.180008d40
test ebx, ebx
js 0x18000513d
mov rcx, qword [rsp + 0x80]
lea edx, [rsi + 0xa]
mov dword [rsp + 0x38], esi
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test eax, eax
js 0x180005118
mov rax, qword [rsp + 0x80]
mov qword [rdi], rax
jmp 0x18000514b
mov edx, ebx
lea rcx, str.CoSetProxyBlanket_failed:__Rhrc_n
call fcn.180004ad0
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1800127d5.0]
jmp 0x18000514b
mov edx, ebx
lea rcx, str.ConnectServer_failed:__Rhrc_n
call fcn.180004ad0
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1800127d5.0]
mov eax, ebx
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
mov edx, eax
lea rcx, str.CoCreateInstance_failed:__Rhrc_n
call fcn.180004ad0
mov eax, ebx
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret