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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400c7368]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov ebx, edx
mov rdi, rcx
xor esi, esi
lea rdx, [rsp + 0x58]
mov ecx, 0x20019
mov qword [rsp + 0x58], rsi
call fcn.1400244f0
test eax, eax
jne 0x14000b184
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rsi
lea rdx, [rdi + 0x7f8]
mov qword [rsp + 0x38], rax
or ebx, 0x2001f
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14000b184
movzx eax, word [0x1400a5800]
lea r9d, [rsi + 0x10]
movups xmm0, xmmword [str.Recovery]
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x68]
mov word [rsp + 0x78], ax
xor edx, edx
lea rax, [rsp + 0x58]
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
movups xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x58], 4
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x50], esi
je 0x14000b184
mov rcx, qword [rdi + 8]
lea rax, str.Safe_mode_is_ON._Optional_plugins_will_not_be_loaded
lea r9d, [rsi + 2]
mov qword [rsp + 0x20], rax
mov r8d, 0x145
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
call fcn.14001c5e0
mov al, 1
jmp 0x14000b186
xor al, al
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140035e00
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000b5c0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400c7368]
xor rax, rsp
mov qword [rsp + 0x88], rax
movups xmm0, xmmword [str.ServiceAutoStart]
movzx eax, word [0x1400a5860]
mov ebx, edx
movups xmm1, xmmword [0x1400a5850]
mov rsi, rcx
mov word [rsp + 0x80], ax
lea rdi, [rcx + 0x7f8]
xor ebp, ebp
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], rbp
mov ecx, 0x20019
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm1
call fcn.1400244f0
test eax, eax
jne 0x14000b6bd
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rbp
or ebx, 0x20006
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rbp
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov rdx, rdi
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14000b6c2
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 4
lea r9d, [rbp + 4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x50], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x14000b716
jmp 0x14000b6c2
mov ebx, 5
mov rcx, qword [rsi + 8]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x38], ebx
lea rbp, str.Failed_to_save_auto_start_flag__ls_to_registry_for_service__ls._Error__ld
mov qword [rsp + 0x30], rdi
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
mov qword [rsp + 0x28], rax
mov r9d, 1
mov r8d, 0x169
mov qword [rsp + 0x20], rbp
call fcn.14001c5e0
mov r9, rdi
mov dword [rsp + 0x20], ebx
lea r8, [rsp + 0x60]
mov rdx, rbp
mov ecx, 0x13
call fcn.140005720
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140035e00
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000e140
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
mov esi, edi
test rcx, rcx
je 0x14000e21f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebp, eax
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rbx + rdx*2], si
jne 0x14000e177
lea ecx, [rax + 1]
add rdx, rcx
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
test rax, rax
je 0x14000e222
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r8d, eax
lea ecx, [r8 - 1]
cmp word [rsi + rcx*2], 0x5c
je 0x14000e1c6
mov eax, 0x5c
mov word [rsi + r8*2], ax
inc r8d
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], di
jne 0x14000e1d0
test rax, rax
je 0x14000e21f
lfence
mov rdx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rbx + rdx*2]
lea ecx, [rdi + r8]
inc edi
mov word [rsi + rcx*2], ax
mov edx, edi
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14000e210
cmp rdx, rax
jb 0x14000e1f0
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140014bc0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov ecx, 0x40
add rdx, rdx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140014c22
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140014c17
cmp edi, eax
jb 0x140014c17
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x40
mov rbx, rcx
mov r14d, r8d
xor ecx, ecx
mov ebp, edx
xor edi, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x140015377
movzx eax, word [rbx]
cmp eax, 0x5c
je 0x140015263
cmp eax, 0x2f
je 0x140015263
mov ecx, eax
call fcn.140072020
test eax, eax
je 0x140015377
cmp word [rbx + 2], 0x3a
jne 0x140015377
movzx eax, word [rbx + 4]
cmp ax, 0x5c
je 0x140015263
cmp ax, 0x2f
jne 0x140015377
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001535b
test al, 0x50
jne 0x14001535b
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov edx, 0x80000000
mov rcx, rbx
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400152d0
lea ecx, [rax + 0x21]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rsi, qword [rsp + 0x68]
mov rax, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
test r14d, r14d
mov dword [rsp + 0x60], edi
lea rdx, [rsp + 0x60]
mov rcx, rbx
cmove rdx, rdi
call fcn.140015c70
test eax, eax
je 0x140015302
test r14d, r14d
je 0x140015316
cmp dword [rsp + 0x60], edi
jne 0x140015316
mov ecx, 0x80092009
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140011520
test eax, eax
je 0x14001532d
and ebp, 0xffffe8f7
xor edx, edx
mov r8d, ebp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rsi, rsi
je 0x14001534b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x1400152ba
xor ecx, ecx
jmp 0x1400152b4
mov ecx, 0x7e
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x70]
mov rax, rdi
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
Function at 0x1400168c0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x140016950
Capabilities:
Query environment variable

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
je 0x1400169d8
xor r8d, r8d
mov qword [rsp + 0x38], rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
test eax, eax
je 0x1400169cb
mov qword [rsp + 0x30], rbx
lfence
mov rcx, 0xffffffffffffffff
mov eax, 2
mul rsi
lea rdx, [0x1400a86a0]
cmovo rax, rcx
mov rcx, rax
call fcn.140036c04
mov rbx, rax
test rax, rax
je 0x1400169bb
lfence
mov r8d, esi
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x140016d10
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400c7368]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov edi, ecx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140016d9c
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call fcn.140037a60
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rbx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140016d93
cmp dword [rsp + 0x28], edi
je 0x140016d8f
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140016d76
jmp 0x140016d93
mov esi, dword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140035e00
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140016e00
Capabilities:
Get session user name

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x140016e28
test rdx, rdx
je 0x140016e28
mov dword [rsp + 0x30], edx
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp eax, 1
sete al
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
xor bl, bl
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140016e5b
mov ebx, eax
shr ebx, 4
and bl, 1
jmp 0x140016e63
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
movzx eax, bl
test rdi, rdi
je 0x140016e6d
mov dword [rdi], esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140016e80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
xor bl, bl
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140016eab
mov ebx, eax
shr ebx, 0xa
and bl, 1
jmp 0x140016eb3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
movzx eax, bl
test rdi, rdi
je 0x140016ebd
mov dword [rdi], esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140017110
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x14001ba40
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400c7368]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov edi, 1
nop dword [rax]
nop word [rax + rax]
mov r8, rdi
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.14001cb50
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14001baae
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14001bb61
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x14001babb
mov rax, qword [rbx]
mov r11, qword [rsp + 0x38]
lea r9, [rsp + 0x20]
mov r10, qword [rsp + 0x20]
cmp r11, 8
mov rcx, qword [rsp + 0x30]
cmovae r9, r10
cmp rcx, qword [rbx + 0x10]
jne 0x14001bb1e
test rcx, rcx
je 0x14001bbb9
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x14001bb1e
sub r9, rax
cmp dx, r8w
ja 0x14001bb1e
cmp rcx, 1
je 0x14001bbb9
movzx edx, word [r9 + rax + 2]
add rax, 2
dec rcx
movzx r8d, word [rax]
cmp dx, r8w
jae 0x14001bafb
cmp r11, 8
jb 0x14001bb59
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x14001bb51
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001bbf4
mov rcx, r10
call fcn.140035d5c
inc rdi
jmp 0x14001ba70
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14001bb9f
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bb9a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001bbf4
call fcn.140035d5c
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140035e00
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
cmp r11, 8
jb 0x14001bbf0
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x14001bbe8
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001bbf4
mov rcx, r10
call fcn.140035d5c
mov al, 1
jmp 0x14001bba1
call fcn.140074d98
int3
Function at 0x140021470
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x210], 0
mov rbx, rcx
jne 0x1400214b5
lea rax, str.Directory_listener_has_not_been_configured.
mov r8d, 0xb0
mov rcx, qword [rcx + 0x218]
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercommonwindowsDirectoryListenerWin32.cpp
mov r9d, 1
mov qword [rsp + 0x20], rax
call fcn.14001c5e0
xor al, al
add rsp, 0x30
pop rbx
ret
cmp qword [rcx + 0x230], 0
je 0x1400214ce
lea rax, str.Directory_listener_is_already_running.
mov r8d, 0xb6
jmp 0x14002148f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x230], rax
test rax, rax
jne 0x140021500
mov rcx, qword [rbx + 0x218]
lea rax, str.Failed_to_start_directory_listener__no_start_event_.
mov r8d, 0xbd
jmp 0x140021496
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 8], rax
test rax, rax
jne 0x140021534
mov rcx, qword [rbx + 0x218]
lea rax, str.Failed_to_start_directory_listener__no_quit_event_.
mov r8d, 0xc4
jmp 0x140021496
xor eax, eax
lea r8, [0x1400217d0]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x228], rax
test rax, rax
jne 0x140021578
mov rcx, qword [rbx + 0x218]
lea rax, str.Failed_to_create_directory_listener_thread.
mov r8d, 0xcb
jmp 0x140021496
mov rcx, qword [rbx + 0x230]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x218]
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercommonwindowsDirectoryListenerWin32.cpp
test eax, eax
je 0x1400215ae
lea rax, str.Failed_to_start_directory_listener_thread.
mov r8d, 0xd1
jmp 0x14002149d
lea rax, str.Directory_listener_thread_started.
mov r9d, 4
mov r8d, 0xd5
mov qword [rsp + 0x20], rax
call fcn.14001c5e0
mov al, 1
add rsp, 0x30
pop rbx
ret
Function at 0x1400244f0
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r14
sub rsp, 0xc8
mov rax, qword [0x1400c7368]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, qword gs:[0x58]
mov ebp, ecx
mov ecx, dword [0x1400ca720]
mov r14, rdx
mov edx, 0x390
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1400ca640], ecx
jg 0x1400246ee
mov rdx, qword [0x1400ca638]
mov r9d, ebp
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140035e00
add rsp, 0xc8
pop r14
pop rbp
ret
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r12 + rcx*2 - 2]
jne 0x140024597
cmp rcx, 5
je 0x1400245eb
jmp 0x140024580
xor ecx, ecx
nop dword [rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r13 + rcx*2 - 2]
jne 0x1400245b7
cmp rcx, 5
jne 0x1400245a0
jmp 0x1400245eb
xor eax, eax
nop dword [rax]
movzx ecx, word [rdx + rax*2]
cmp cx, word [r15 + rax*2]
jne 0x14002461a
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r15 + rax*2 + 2]
jne 0x14002461a
add rax, 2
cmp rax, 0x10
je 0x1400245eb
jmp 0x1400245c0
mov rdx, qword [rdi]
xor ecx, ecx
jmp 0x140024580
lea eax, [r8 - 1]
cmp ebx, eax
jge 0x14002461a
mov r8, qword [rdi + 8]
lea rcx, [0x1400ca430]
add rdi, 8
inc ebx
mov r9, 0xffffffffffffffff
mov edx, 0x104
call fcn.140072e98
mov r8d, dword [rsp + 0x30]
inc ebx
add rdi, 8
cmp ebx, r8d
jl 0x1400245e4
mov r15, qword [rsp + 0xa0]
mov r13, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xb8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp word [0x1400ca430], 0
lea rbx, str.SOFTWARENVIDIA_CorporationNvContainer
mov rsi, qword [rsp + 0xc0]
je 0x1400246ce
movaps xmm0, xmmword [str.SYSTEMCurrentControlSetServices_ls]
lea r9, [0x1400ca430]
movaps xmm1, xmmword [0x1400a7f90]
lea r8, [rsp + 0x40]
mov eax, dword [0x1400a7fc8]
mov edx, 0x104
movaps xmmword [rsp + 0x40], xmm0
mov rcx, rbx
movaps xmm0, xmmword [0x1400a7fa0]
movaps xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [0x1400a7fc0]
movaps xmmword [rsp + 0x50], xmm1
movaps xmm1, xmmword [0x1400a7fb0]
movsd qword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm1
mov dword [rsp + 0x88], eax
call fcn.14000d510
lea rcx, [0x1400ca640]
mov qword [0x1400ca638], rbx
call fcn.140036758
mov rbx, qword [rsp + 0xf0]
jmp 0x140024539
lea rcx, [0x1400ca640]
call fcn.1400367b8
cmp dword [0x1400ca640], 0xffffffff
jne 0x140024539
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0xc0], rsi
mov dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rsi, rax
test rax, rax
je 0x14002464e
mov r8d, dword [rsp + 0x30]
xor ebx, ebx
test r8d, r8d
jle 0x140024645
mov qword [rsp + 0xb8], rdi
mov rdi, rax
mov qword [rsp + 0xb0], r12
lea r12, [0x1400a35b0]
mov qword [rsp + 0xa8], r13
lea r13, str._cfg
mov qword [rsp + 0xa0], r15
lea r15, str.__configuration
jmp 0x1400245e4
Function at 0x140024b00
Capabilities:
Delete registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x1400c7368]
xor rax, rsp
mov qword [rsp + 0x460], rax
cmp qword [rcx + 0x20], 0
mov rsi, rdx
mov rbp, rcx
mov edi, 4
je 0x140024c6a
cmp dword [rcx + 0x18], 0
jne 0x140024c6a
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.140037a60
xor edx, edx
lea rcx, [rsp + 0x250]
mov r8d, 0x208
call fcn.140037a60
test rsi, rsi
je 0x140024c6a
mov qword [rsp + 0x4a0], rbx
lea rdx, [0x1400a6a1c]
mov rcx, rsi
mov rbx, rsi
call fcn.140039000
test rax, rax
je 0x140024bcb
nop dword [rax]
lea rbx, [rax + 2]
mov rcx, rbx
lea rdx, [0x1400a6a1c]
call fcn.140039000
test rax, rax
jne 0x140024b90
cmp rbx, rsi
je 0x140024bcb
mov r9, rbx
lea rcx, [rsp + 0x40]
sub r9, rsi
mov r8, rsi
sar r9, 1
mov edx, 0x104
dec r9
call fcn.140072e98
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x250]
mov r8, rbx
mov edx, 0x104
call fcn.140072e98
mov rcx, qword [rbp + 0x20]
lea rax, [rsp + 0x30]
xor esi, esi
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
mov qword [rsp + 0x30], rsi
xor r8d, r8d
lea rdx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 0x490
jne 0x140024c3d
lea eax, [rsi + 1]
mov rbx, qword [rsp + 0x4a0]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140035e00
add rsp, 0x470
pop rdi
pop rsi
pop rbp
ret
test eax, eax
jne 0x140024c66
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x250]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
cmove edi, esi
mov eax, edi
jmp 0x140024c1a
mov eax, edi
jmp 0x140024c22
Function at 0x140024e80
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x488
mov rax, qword [0x1400c7368]
xor rax, rsp
mov qword [rsp + 0x470], rax
cmp qword [rcx + 0x20], 0
mov r14, r8
mov rsi, rdx
mov rbp, rcx
mov edi, 4
je 0x140024fde
test rdx, rdx
je 0x140024fde
xor edx, edx
mov qword [rsp + 0x480], rbx
mov r8d, 0x208
lea rcx, [rsp + 0x260]
call fcn.140037a60
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.140037a60
lea rdx, [0x1400a6a1c]
mov rcx, rsi
mov rbx, rsi
call fcn.140039000
test rax, rax
je 0x140024f4e
nop word [rax + rax]
lea rbx, [rax + 2]
mov rcx, rbx
lea rdx, [0x1400a6a1c]
call fcn.140039000
test rax, rax
jne 0x140024f10
cmp rbx, rsi
je 0x140024f4e
mov r9, rbx
lea rcx, [rsp + 0x260]
sub r9, rsi
mov r8, rsi
sar r9, 1
mov edx, 0x104
dec r9
call fcn.140072e98
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rbx
mov edx, 0x104
call fcn.140072e98
mov rcx, qword [rbp + 0x20]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x50]
xor ebx, ebx
mov qword [rsp + 0x28], r14
lea rdx, [rsp + 0x260]
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp eax, 0x57
jne 0x140024fc9
lea eax, [rbx + 2]
mov rbx, qword [rsp + 0x480]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140035e00
add rsp, 0x488
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp eax, 2
jne 0x140024fd5
mov eax, 1
jmp 0x140024fa4
test eax, eax
cmove edi, ebx
mov eax, edi
jmp 0x140024fa4
mov eax, edi
jmp 0x140024fac
Function at 0x140024ff0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x488
mov rax, qword [0x1400c7368]
xor rax, rsp
mov qword [rsp + 0x470], rax
cmp qword [rcx + 0x20], 0
mov r14, r9
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
je 0x140025153
test rdx, rdx
je 0x140025153
xor edx, edx
mov qword [rsp + 0x480], rbx
mov r8d, 0x208
lea rcx, [rsp + 0x260]
call fcn.140037a60
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.140037a60
lea rdx, [0x1400a6a1c]
mov rcx, rdi
mov rbx, rdi
call fcn.140039000
test rax, rax
je 0x1400250be
nop word [rax + rax]
lea rbx, [rax + 2]
mov rcx, rbx
lea rdx, [0x1400a6a1c]
call fcn.140039000
test rax, rax
jne 0x140025080
cmp rbx, rdi
je 0x1400250be
mov r9, rbx
lea rcx, [rsp + 0x260]
sub r9, rdi
mov r8, rdi
sar r9, 1
mov edx, 0x104
dec r9
call fcn.140072e98
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rbx
mov edx, 0x104
call fcn.140072e98
mov eax, dword [r14]
lea r8, [rsp + 0x50]
mov rcx, qword [rbp + 0x20]
lea rdx, [rsp + 0x260]
mov dword [rsp + 0x40], eax
mov r9d, 2
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov rbx, qword [rsp + 0x480]
cmp eax, 0xea
je 0x140025145
test eax, eax
jne 0x14002512d
test rsi, rsi
je 0x140025145
jmp 0x140025158
cmp eax, 0x57
jne 0x140025139
mov eax, 2
jmp 0x140025158
cmp eax, 2
jne 0x140025153
mov eax, 1
jmp 0x140025158
mov ecx, dword [rsp + 0x40]
mov eax, 3
mov qword [r14], rcx
jmp 0x140025158
mov eax, 4
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140035e00
add rsp, 0x488
pop r14
pop rdi
pop rsi
pop rbp
ret