joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002e7a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1401784a8]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor edi, edi
mov qword [rbp + 0x3f], rdi
lea esi, [rdi + 7]
mov qword [rbp + 0x47], rsi
mov word [rbp + 0x2f], di
lea rdx, str.PreserveUserIntegrationsOnLogin
lea rcx, [rbp + 0x2f]
call fcn.14000954c
nop
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x27], rsi
mov word [rbp + 0xf], di
lea rdx, str.SOFTWAREMicrosoftAppVClientIntegration
lea rcx, [rbp + 0xf]
call fcn.14000954c
nop
mov dword [rbp - 0x19], edi
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14002e8c2
mov rbx, qword [rbp - 0x11]
lea ecx, [rdi + 0x18]
call fcn.1400d2508
mov qword [rbp + 7], rax
lea rcx, vtable.appv::utility::scope_guard_func_impl_class_std::_Binder_struct_std::_Unforced__long_int____cdecl___struct_HKEY______ptr64___struct_HKEY______ptr64____ptr64__.0
mov qword [rax], rcx
mov rcx, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rbx
mov qword [rbp - 9], rax
mov dword [rbp - 0x15], 4
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae rdx, qword [rbp + 0x2f]
lea rax, [rbp - 0x15]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
lea rcx, [rbp - 9]
call fcn.140023434
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14002e8dd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
call fcn.14000c220
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x27], rsi
mov word [rbp + 0xf], di
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x14002e904
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
call fcn.14000c220
test ebx, ebx
je 0x14002e90c
xor al, al
jmp 0x14002e912
cmp dword [rbp - 0x19], edi
setne al
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400d24e0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14004ba2c
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x80
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rbp, r9
mov rbx, r8
mov rsi, rdx
mov r14, rcx
movabs rdi, 0x8000000000
mov byte [rax - 0x20], 0
and qword [rax - 0x18], 0
xor r8d, r8d
lea rcx, [rax - 0x18]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
nop dword [rax + rax]
test eax, eax
setne byte [rsp + 0x68]
test eax, eax
jne 0x14004baec
lea edx, [rax + 0x5c]
lea rsi, str.AdminAppManAppVclientintegration_notifier_process.hpp
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x14004bab0
inc rax
jmp 0x14004bab3
mov rax, rsi
mov rdx, rax
lea rcx, [0x14017bba0]
call fcn.140007964
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
or rdi, rbx
movabs rax, 0x132100000000
or rdi, rax
jmp 0x14004bc09
cmp qword [rbx + 0x18], 8
jb 0x14004baf6
mov rbx, qword [rbx]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], rbp
and qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x400
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
nop dword [rax + rax]
lea rsi, str.AdminAppManAppVclientintegration_notifier_process.hpp
movabs rbp, 0x142100000000
test eax, eax
jne 0x14004bb99
lea edx, [rax + 0x5c]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x14004bb6c
inc rax
jmp 0x14004bb6f
mov rax, rsi
mov rdx, rax
lea rcx, [0x14017bba0]
call fcn.140007964
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
or rdi, rbx
or rdi, rbp
mov al, byte [rsp + 0x68]
test al, al
je 0x14004bc0d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
nop dword [rax + rax]
test eax, eax
je 0x14004bbbe
xor al, al
mov byte [rsp + 0x68], al
jmp 0x14004bc0d
mov edx, MsiPreviewDialogW
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x14004bbdc
inc rax
jmp 0x14004bbdf
mov rax, rsi
mov rdx, rax
lea rcx, [0x14017bba0]
call fcn.140007964
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
or rdi, rbx
or rdi, rbp
mov al, byte [rsp + 0x68]
test al, al
je 0x14004bc22
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
nop dword [rax + rax]
mov rax, rdi
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14005c0e8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
and dword [rsp + 0x58], 0
mov ebx, edx
lea rdx, [rcx + 0x40]
mov dword [rsp + 0x40], r9d
cmp qword [rdx + 0x18], 8
jb 0x14005c10c
mov rdx, qword [rdx]
mov rcx, qword [rcx + 0x60]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x14005c187
mov edx, MsiPreviewDialogW
lea rcx, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x14005c15b
inc rax
jmp 0x14005c162
lea rax, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
mov rdx, rax
lea rcx, [0x14017bba0]
call fcn.140007964
shl rax, 0x34
movabs rcx, 0x342500000000
or rax, rdi
or rax, rcx
jmp 0x14005c1df
cmp ebx, dword [rsp + 0x58]
je 0x14005c1d5
mov edx, MsiPreviewDialogW
lea rcx, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x14005c1af
inc rax
jmp 0x14005c1b6
lea rax, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
mov rdx, rax
lea rcx, [0x14017bba0]
call fcn.140007964
shl rax, 0x34
movabs rcx, 0x350500040002
jmp 0x14005c182
movabs rax, 0x8000000000
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14005c320
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov dword [rax + 0x10], edx
push rdi
sub rsp, 0x30
and dword [rax + 8], 0
lea rdx, [rcx + 0x40]
and dword [rax + 0x10], 0
mov rdi, r8
cmp qword [rdx + 0x18], 8
jb 0x14005c348
mov rdx, qword [rdx]
mov rcx, qword [rcx + 0x60]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
and qword [rsp + 0x20], 0
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0xea
je 0x14005c3ce
test eax, eax
je 0x14005c3ce
mov edx, MsiPreviewDialogW
lea rcx, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x14005c39f
inc rax
jmp 0x14005c3a6
lea rax, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
mov rdx, rax
lea rcx, [0x14017bba0]
call fcn.140007964
shl rax, 0x34
movabs rcx, 0x312500000000
or rax, rbx
or rax, rcx
jmp 0x14005c47f
cmp dword [rsp + 0x48], 1
je 0x14005c41d
mov edx, MsiPreviewDialogW
lea rcx, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x14005c3f7
inc rax
jmp 0x14005c3fe
lea rax, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
mov rdx, rax
lea rcx, [0x14017bba0]
call fcn.140007964
shl rax, 0x34
movabs rcx, 0x320500040002
jmp 0x14005c3c6
mov eax, dword [rsp + 0x40]
cmp eax, 0x4000
jb 0x14005c473
mov edx, MsiPreviewDialogW
lea rcx, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x14005c44a
inc rax
jmp 0x14005c451
lea rax, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
mov rdx, rax
lea rcx, [0x14017bba0]
call fcn.140007964
shl rax, 0x34
movabs rcx, 0x330500040003
jmp 0x14005c3c6
mov dword [rdi], eax
movabs rax, 0x8000000000
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14005effc
Capabilities:
Get system information on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1401784a8]
xor rax, rsp
mov qword [rbp + 0x80], rax
cmp dword [0x14017ba64], 0
je 0x14005f032
mov eax, dword [0x14017ba60]
jmp 0x14005f0b9
xor edx, edx
lea rcx, [rsp + 0x64]
mov r8d, 0x118
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
nop dword [rax + rax]
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
nop dword [rax + rax]
movzx eax, word [rsp + 0x30]
mov r9b, byte [rbp + 0x7a]
mov edx, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x64]
mov r8d, dword [rsp + 0x70]
mov word [rsp + 0x28], ax
movzx eax, word [rbp + 0x78]
mov word [rsp + 0x20], ax
call fcn.14005f0d8
mov dword [0x14017ba60], eax
mov dword [0x14017ba64], 1
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400d24e0
add rsp, 0x190
pop rbp
ret

Function at 0x14005f7f8
Capabilities:
Get file attributes

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rax, qword [0x1401784a8]
xor rax, rsp
mov qword [rsp + 0x50], rax
and dword [rsp + 0x20], 0
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.14000f280
mov rbx, rax
mov edi, 1
mov dword [rsp + 0x20], edi
lea rcx, [rsp + 0x30]
call fcn.14005f568
cmp qword [rbx + 0x18], 8
jb 0x14005f84d
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14005f87b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
call fcn.14000c220
cmp ebx, 0xffffffff
je 0x14005f885
test bl, 0x10
jne 0x14005f888
xor dil, dil
mov al, dil
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400d24e0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x14005f8ac
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401784a8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdx, rcx
lea rcx, [rbp - 0x48]
call fcn.14000f280
nop
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
xor edi, edi
test eax, eax
jne 0x14005f96c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 2
je 0x14005f96c
test eax, eax
je 0x14005f96c
lea edx, [rdi + 0x5c]
lea rcx, str.admin_appman_appv_shared_system_file_utils.cpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x14005f93d
inc rax
jmp 0x14005f944
lea rax, str.admin_appman_appv_shared_system_file_utils.cpp
mov rdx, rax
lea rcx, [0x14017bba0]
call fcn.140007964
shl rax, 0x34
or rbx, rax
movabs rax, 0xf2500000000
or rbx, rax
jmp 0x14005fa38
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.14005f6c4
mov esi, 7
jmp 0x14005f9bc
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14005f9af
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 3
jne 0x14005fa2e
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.14005f6c4
mov rbx, rax
lea rax, [rbp - 0x48]
cmp rax, rbx
je 0x14005fa09
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x14005f9e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14000c220
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rsi
mov word [rbp - 0x48], di
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rbx + 0x10], rdi
mov word [rbx], di
mov qword [rbx + 0x18], rsi
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x14005fa24
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
call fcn.14000c220
cmp qword [rbp - 0x38], rdi
jne 0x14005f980
movabs rbx, 0x8000000000
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x14005fa53
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14000c220
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400d24e0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14005fc28
Capabilities:
Move file

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x50
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1401784a8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rdx
mov rsi, rcx
lea rcx, [r11 - 0x30]
call fcn.14005f6c4
nop
cmp qword [rsp + 0x38], 0
je 0x14005fc82
lea rcx, [rsp + 0x28]
call fcn.14005fa80
mov rdi, rax
shr rax, 0x27
not eax
test al, 1
jne 0x14005fd19
cmp qword [rbx + 0x18], 8
jb 0x14005fc8c
mov rbx, qword [rbx]
cmp qword [rsi + 0x18], 8
jb 0x14005fc96
mov rsi, qword [rsi]
mov r8d, 3
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
nop dword [rax + rax]
test eax, eax
jne 0x14005fd0f
lea edx, [rax + 0x5c]
lea rcx, str.admin_appman_appv_shared_system_file_utils.cpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x14005fcd2
inc rax
jmp 0x14005fcd9
lea rax, str.admin_appman_appv_shared_system_file_utils.cpp
mov rdx, rax
lea rcx, [0x14017bba0]
call fcn.140007964
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
or rdi, rbx
movabs rax, 0x172500000000
or rdi, rax
jmp 0x14005fd19
movabs rdi, 0x8000000000
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14005fd36
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.14000c220
mov rax, rdi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400d24e0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14005fe08
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1401784a8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov rbx, rcx
xor esi, esi
mov byte [rdx], sil
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], si
lea rdx, [0x14011eadc]
lea rcx, [rbp - 0x48]
call fcn.14000954c
nop
lea r8, [rbp - 0x48]
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.14005f384
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x14005fe87
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14000c220
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], si
lea rcx, [rbp - 0x28]
call fcn.1400395b0
cmp qword [rbp - 0x18], rsi
je 0x14005ff30
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14005ff2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
lea ecx, [rbx - 2]
cmp ecx, 1
jbe 0x14005ff30
mov edx, MsiPreviewDialogW
lea rcx, str.admin_appman_appv_shared_system_file_utils.cpp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x14005ff01
inc rax
jmp 0x14005ff08
lea rax, str.admin_appman_appv_shared_system_file_utils.cpp
mov rdx, rax
lea rcx, [0x14017bba0]
call fcn.140007964
shl rax, 0x34
or rbx, rax
movabs rax, 0x1c2500000000
or rbx, rax
jmp 0x14005ff3a
mov byte [rdi], 1
movabs rbx, 0x8000000000
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x14005ff55
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
call fcn.14000c220
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400d24e0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x140060ce4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov rsi, r8
mov r14, rcx
and dword [rbp - 0x30], 0
and dword [rbp + 0x38], 0
lea rdi, [0x14017bd10]
mov rdx, rdi
cmp qword [0x14017bd28], 8
cmovae rdx, qword [0x14017bd10]
lea rax, [rbp + 0x38]
mov qword [r11 - 0x50], rax
and qword [r11 - 0x58], 0
lea r9, [rbp - 0x30]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140060deb
mov ecx, dword [rbp + 0x38]
test ecx, ecx
je 0x140060de6
mov eax, dword [rbp - 0x30]
dec eax
cmp eax, 1
ja 0x140060de6
mov byte [rbp + 0x28], 0
lea rdx, [rcx + 2]
lea r8, [rbp + 0x28]
lea rcx, [rbp - 0x20]
call fcn.140043b84
nop
cmp qword [0x14017bd28], 8
cmovae rdi, qword [0x14017bd10]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
mov rbx, qword [rbp - 0x20]
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x30]
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140060dce
mov rdx, rbx
mov rcx, rsi
call fcn.14000954c
nop
test rbx, rbx
je 0x140060de2
mov rdx, qword [rbp - 0x10]
sub rdx, rbx
mov rcx, rbx
call fcn.14000c220
mov eax, edi
jmp 0x140060deb
mov eax, 0x65e
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140073214
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14017bf00], eax
jg 0x140073258
mov al, byte [0x14017bef0]
add rsp, 0x58
ret
cmp eax, 2
lea rcx, [0x14017bf00]
sete byte [0x14017bef0]
call fcn.1400d2958
jmp 0x140073234
lea rcx, [0x14017bf00]
call fcn.1400d29c0
cmp dword [0x14017bf00], 0xffffffff
jne 0x140073234
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
nop dword [rax + rax]
movzx ecx, word [rsp + 0x20]
xor edx, edx
test ecx, ecx
je 0x1400732a6
cmp ecx, 9
lea eax, [rdx + 2]
cmovne eax, edx
jmp 0x140073240
mov eax, 1
jmp 0x140073240
Function at 0x1400a6d28
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1401784a8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdx, qword [rcx + 8]
mov r9d, 2
cmp qword [rdx + 0x10], r9
jb 0x1400a6dc7
cmp qword [rdx + 0x18], 8
mov rax, rdx
jb 0x1400a6d5a
mov rax, qword [rdx]
cmp word [rax + 2], 0x3a
jne 0x1400a6dc7
xor eax, eax
mov qword [rsp + 0x38], 7
xor r8d, r8d
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
mov word [rsp + 0x20], ax
call fcn.14000f3cc
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
nop dword [rax + rax]
mov rdx, qword [rsp + 0x38]
cmp eax, 4
sete bl
cmp rdx, 8
jb 0x1400a6dc3
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
call fcn.14000c220
mov al, bl
jmp 0x1400a6dc9
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400d24e0
add rsp, 0x50
pop rbx
ret

Function at 0x1400a6e4c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [r8 + 0x18], 8
mov rbx, r8
mov r10, qword [r8 + 0x10]
mov rdi, rdx
mov rsi, rcx
mov r9, r8
jb 0x1400a6e7a
mov r9, qword [r8]
xor r8d, r8d
movabs rdx, 0xcbf29ce484222325
add r10, r10
je 0x1400a6eaa
movzx eax, byte [r8 + r9]
movabs rcx, 0x100000001b3
xor rdx, rax
inc r8
imul rdx, rcx
cmp r8, r10
jb 0x1400a6e8c
mov rax, qword [rsi + 0x30]
mov rcx, qword [rsi + 0x18]
and rax, rdx
add rax, rax
mov r11, qword [rcx + rax*8 + 8]
cmp r11, qword [rsi + 8]
je 0x1400a6ee7
mov rbp, qword [rcx + rax*8]
jmp 0x1400a6ed2
cmp r11, rbp
je 0x1400a6ee7
mov r11, qword [r11 + 8]
lea rdx, [r11 + 0x10]
mov rcx, rbx
call fcn.140011a8c
test al, al
je 0x1400a6ec9
test r11, r11
jne 0x1400a6eeb
mov r11, qword [rsi + 8]
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov qword [rdi], r11
add rsp, 0x20
pop rdi
ret
Function at 0x1400b7068
Capabilities:
Copy file

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x90
mov qword [r11 - 0x78], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x1401784a8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [r11 - 0x50]
call fcn.1400c3050
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x1400b70aa
mov rbx, qword [rax]
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.1400c3050
cmp qword [rax + 0x18], 8
jb 0x1400b70c1
mov rax, qword [rax]
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
nop dword [rax + rax]
xor edi, edi
test eax, eax
sete bl
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400b70fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.14000c220
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], di
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400b712a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
call fcn.14000c220
test bl, bl
jne 0x1400b7150
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400d24e0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
ret
call fcn.1400b6d78
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, eax
or rdx, rbx
movabs rax, 0x62a00000000
or rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14000df28
lea rdx, [0x14016b5e8]
lea rcx, [rsp + 0x48]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3
Function at 0x1400c2360
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x1401784a8]
xor rax, rsp
mov qword [rbp - 8], rax
xor eax, eax
test rcx, rcx
jne 0x1400c23a2
lea ecx, [rax + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x1400c2427
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], ax
mov rdx, rcx
lea rcx, [rbp - 0x48]
call fcn.14000954c
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.1400c3168
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400c23e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
call fcn.14000c220
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
nop dword [rax + rax]
mov ebx, eax
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x1400c2425
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
call fcn.14000c220
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400d24e0
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret