joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400183d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x30
mov rbx, rcx
xor ebp, ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x140018603
xor edx, edx
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rbx + rax*2], dx
jne 0x140018400
test rax, rax
je 0x140018434
xor ecx, ecx
movzx r8d, word [rbx + rcx*2]
cmp r8w, 0x5c
je 0x140018603
cmp r8w, 0x2f
je 0x140018603
inc edx
mov ecx, edx
cmp rcx, rax
jb 0x140018410
mov qword [rsp + 0x40], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rdi
call fcn.140018620
mov rsi, rax
test rax, rax
je 0x14001852e
mov qword [rsp + 0x50], r14
call fcn.140019410
mov r14, rax
test rax, rax
je 0x14001851b
mov rcx, rsi
call fcn.1400133f0
test eax, eax
je 0x140018504
lea rax, str.system32_
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x20]
lea rax, str.SystemRoot_system32_
mov qword [rsp + 0x28], rax
nop word [rax + rax]
mov rdx, qword [rdi]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rdx + rbx*2], bp
jne 0x1400184b0
mov r8, rbx
mov rcx, rsi
call fcn.14005e2f4
test eax, eax
je 0x1400184d8
add rdi, 8
lea rax, [rsp + 0x30]
cmp rdi, rax
jb 0x1400184a0
jmp 0x1400184e7
lea rdx, [rsi + rbx*2]
mov rcx, r14
call fcn.140017010
mov rbp, rax
lea rax, [rsp + 0x30]
cmp rdi, rax
jne 0x140018512
mov rcx, rsi
call fcn.1400133a0
test eax, eax
je 0x140018512
mov rbp, rsi
xor esi, esi
jmp 0x140018512
mov rdx, rsi
mov rcx, r14
call fcn.140017010
mov rbp, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r14, qword [rsp + 0x50]
jmp 0x1400185cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
jne 0x1400185d8
mov rcx, rbx
call fcn.1400132a0
mov rdi, rax
test rax, rax
je 0x1400185d8
mov ecx, 0x37e4
call fcn.140016240
test eax, eax
je 0x14001856d
lea rcx, [0x14008e228]
call fcn.140019110
jmp 0x140018572
call fcn.140019410
mov rbx, rax
test rax, rax
je 0x1400185c6
mov rdx, rdi
mov rcx, rax
call fcn.140017010
mov rbp, rax
test rax, rax
je 0x1400185bd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001859f
test al, 0x50
je 0x1400185bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400185b2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor ebp, ebp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbp, rbp
je 0x1400185d8
xor ecx, ecx
jmp 0x1400185e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400185eb
lea ecx, [rax + 0x7e]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdi, qword [rsp + 0x48]
mov rax, rbp
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x58]
xor eax, eax
add rsp, 0x30
pop rbp
ret
Function at 0x140019410
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 0x140019472
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140019467
cmp edi, eax
jb 0x140019467
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 0x140019810
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rbx, rcx
mov ebp, r8d
xor ecx, ecx
mov r14d, edx
xor esi, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x14001996e
movzx eax, word [rbx]
cmp eax, 0x5c
je 0x140019879
cmp eax, 0x2f
je 0x140019879
mov ecx, eax
call fcn.14005dc68
test eax, eax
je 0x14001996e
cmp word [rbx + 2], 0x3a
jne 0x14001996e
movzx eax, word [rbx + 4]
cmp ax, 0x5c
je 0x140019879
cmp ax, 0x2f
jne 0x14001996e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140019967
test al, 0x50
jne 0x140019967
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov edx, 0x80000000
mov rcx, rbx
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400198ca
lea ecx, [rax + 0x21]
jmp 0x140019973
mov rcx, rbx
call fcn.140015f70
test eax, eax
jne 0x14001993c
test ebp, ebp
mov dword [rsp + 0x60], esi
lea rdx, [rsp + 0x60]
mov rcx, rbx
cmove rdx, rsi
call fcn.14001a620
test eax, eax
je 0x140019906
test ebp, ebp
je 0x14001993c
cmp dword [rsp + 0x60], esi
jne 0x14001993c
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.1400165b0
test eax, eax
jne 0x14001993c
test rdi, rdi
je 0x140019938
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14001997c
mov r8d, r14d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
test rdi, rdi
je 0x140019979
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
jmp 0x140019973
mov ecx, 0x7e
jmp 0x140019973
mov ecx, 0xa0
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140019c20
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 0x140019d86
movzx eax, word [rbx]
cmp eax, 0x5c
je 0x140019c83
cmp eax, 0x2f
je 0x140019c83
mov ecx, eax
call fcn.14005dc68
test eax, eax
je 0x140019d86
cmp word [rbx + 2], 0x3a
jne 0x140019d86
movzx eax, word [rbx + 4]
cmp ax, 0x5c
je 0x140019c83
cmp ax, 0x2f
jne 0x140019d86
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140019d6a
test al, 0x50
jne 0x140019d6a
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 0x140019cf0
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.14001a620
test eax, eax
je 0x140019d22
test r14d, r14d
je 0x140019d36
cmp dword [rsp + 0x60], edi
jne 0x140019d36
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.1400165b0
test eax, eax
je 0x140019d4d
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 0x140019cda
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
jmp 0x140019cd4
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 0x14001b280
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 0x14001b310
Capabilities:
Query environment variable

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
je 0x14001b398
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 0x14001b38b
mov qword [rsp + 0x30], rbx
lfence
mov rcx, 0xffffffffffffffff
mov eax, 2
mul rsi
lea rdx, [0x1400ac864]
cmovo rax, rcx
mov rcx, rax
call fcn.1400245e4
mov rbx, rax
test rax, rax
je 0x14001b37b
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 0x14001b6e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400a9538]
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 0x14001b76c
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call fcn.140024ec0
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rbx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14001b763
cmp dword [rsp + 0x28], edi
je 0x14001b75f
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14001b746
jmp 0x14001b763
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.140023340
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14001b7d0
Capabilities:
Get session user name

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x14001b7f8
test rdx, rdx
je 0x14001b7f8
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 0x14001b800
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 0x14001b82b
mov ebx, eax
shr ebx, 4
and bl, 1
jmp 0x14001b833
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
movzx eax, bl
test rdi, rdi
je 0x14001b83d
mov dword [rdi], esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14001b850
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 0x14001b87b
mov ebx, eax
shr ebx, 0xa
and bl, 1
jmp 0x14001b883
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
movzx eax, bl
test rdi, rdi
je 0x14001b88d
mov dword [rdi], esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14001bae0
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 0x14001e050
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x210], 0
mov rbx, rcx
jne 0x14001e095
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.14001c6b0
xor al, al
add rsp, 0x30
pop rbx
ret
cmp qword [rcx + 0x228], 0
je 0x14001e0ae
lea rax, str.Directory_listener_is_already_running.
mov r8d, 0xb6
jmp 0x14001e06f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0x228], rax
test rax, rax
jne 0x14001e0e0
mov rcx, qword [rbx + 0x218]
lea rax, str.Failed_to_start_directory_listener__no_start_event_.
mov r8d, 0xbd
jmp 0x14001e076
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 0x14001e114
mov rcx, qword [rbx + 0x218]
lea rax, str.Failed_to_start_directory_listener__no_quit_event_.
mov r8d, 0xc4
jmp 0x14001e076
xor eax, eax
lea r8, [0x14001e3b0]
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 + 0x220], rax
test rax, rax
jne 0x14001e158
mov rcx, qword [rbx + 0x218]
lea rax, str.Failed_to_create_directory_listener_thread.
mov r8d, 0xcb
jmp 0x14001e076
mov rcx, qword [rbx + 0x228]
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 0x14001e18e
lea rax, str.Failed_to_start_directory_listener_thread.
mov r8d, 0xd1
jmp 0x14001e07d
lea rax, str.Directory_listener_thread_started.
mov r9d, 4
mov r8d, 0xd5
mov qword [rsp + 0x20], rax
call fcn.14001c6b0
mov al, 1
add rsp, 0x30
pop rbx
ret
Function at 0x14001f480
Capabilities:
Get file version info

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xf0
mov rax, qword [0x1400a9538]
xor rax, rsp
mov qword [rsp + 0xe0], rax
movups xmm0, xmmword [str.Unknown]
mov rbp, rdx
mov r14, rcx
xorps xmm1, xmm1
xor edx, edx
movaps xmmword [rsp + 0x60], xmm0
mov rcx, rbp
movups xmmword [rsp + 0x70], xmm1
movzx r15d, r8b
movups xmmword [rsp + 0x80], xmm1
movups xmmword [rsp + 0x90], xmm1
movups xmmword [r11 - 0x78], xmm1
movups xmmword [r11 - 0x68], xmm1
movups xmmword [r11 - 0x58], xmm1
movups xmmword [r11 - 0x48], xmm1
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test eax, eax
je 0x14001f5d4
mov ecx, esi
lea rdx, [0x1400ac864]
call fcn.1400245e4
mov rdi, rax
test rax, rax
je 0x14001f5d4
lea rdx, [0x1400ac864]
mov ecx, 4
call fcn.1400233a0
mov rbx, rax
test rax, rax
je 0x14001f5cc
mov r9, rdi
mov dword [rax], 1
mov r8d, esi
xor edx, edx
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14001f5b0
xor eax, eax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
mov qword [rsp + 0x58], rax
lea rdx, [0x14008e33c]
mov dword [rsp + 0x50], eax
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14001f5b0
mov rdx, qword [rsp + 0x58]
movzx ecx, word [rdx + 0xc]
movzx r8d, word [rdx + 0xe]
movzx eax, word [rdx + 8]
movzx r9d, word [rdx + 0xa]
mov edx, 0x40
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x28], r8d
lea r8, str._u._u._u._u
mov dword [rsp + 0x20], eax
call fcn.140012b80
sub dword [rbx], 1
jne 0x14001f5d4
mov rcx, rdi
call fcn.1400232a8
mov edx, 4
mov rcx, rbx
call fcn.140023398
jmp 0x14001f5d4
mov rcx, rdi
call fcn.1400232a8
call fcn.14001b7a0
mov edx, 0x800
mov r8d, 1
mov rcx, rbp
mov rbx, rax
call fcn.140019c20
mov rdi, rax
call fcn.14001b7a0
mov rcx, qword [r14]
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercommonwindowsNvcPluginLoadHelperWin32.cpp
mov rsi, rax
mov r9d, 3
lea rax, [rsp + 0x60]
sub esi, ebx
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rax
lea r8d, [r9 + 0x4d]
lea rax, str.Secure_loading__ls____ls_at__p_took__lu_microseconds
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call fcn.14001c6b0
test rdi, rdi
je 0x14001f64f
test r15b, r15b
je 0x14001f64f
mov rax, qword [r14 + 8]
test rax, rax
je 0x14001f64f
mov dword [rax + 0x40], esi
mov rax, rdi
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140023340
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001fe70
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r14
sub rsp, 0xc8
mov rax, qword [0x1400a9538]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, qword gs:[0x58]
mov ebp, ecx
mov ecx, dword [0x1400ac8f8]
mov r14, rdx
mov edx, 0x390
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1400ac820], ecx
jg 0x14002006e
mov rdx, qword [0x1400ac818]
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.140023340
add rsp, 0xc8
pop r14
pop rbp
ret
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r12 + rcx*2 - 2]
jne 0x14001ff17
cmp rcx, 5
je 0x14001ff6b
jmp 0x14001ff00
xor ecx, ecx
nop dword [rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r13 + rcx*2 - 2]
jne 0x14001ff37
cmp rcx, 5
jne 0x14001ff20
jmp 0x14001ff6b
xor eax, eax
nop dword [rax]
movzx ecx, word [rdx + rax*2]
cmp cx, word [r15 + rax*2]
jne 0x14001ff9a
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r15 + rax*2 + 2]
jne 0x14001ff9a
add rax, 2
cmp rax, 0x10
je 0x14001ff6b
jmp 0x14001ff40
mov rdx, qword [rdi]
xor ecx, ecx
jmp 0x14001ff00
lea eax, [r8 - 1]
cmp ebx, eax
jge 0x14001ff9a
mov r8, qword [rdi + 8]
lea rcx, [0x1400ac610]
add rdi, 8
inc ebx
mov r9, 0xffffffffffffffff
mov edx, 0x104
call fcn.14005e8f0
mov r8d, dword [rsp + 0x30]
inc ebx
add rdi, 8
cmp ebx, r8d
jl 0x14001ff64
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 [0x1400ac610], 0
lea rbx, str.SOFTWARENVIDIA_CorporationNvContainer
mov rsi, qword [rsp + 0xc0]
je 0x14002004e
movaps xmm0, xmmword [str.SYSTEMCurrentControlSetServices_ls]
lea r9, [0x1400ac610]
movaps xmm1, xmmword [0x14008faa0]
lea r8, [rsp + 0x40]
mov eax, dword [0x14008fad8]
mov edx, 0x104
movaps xmmword [rsp + 0x40], xmm0
mov rcx, rbx
movaps xmm0, xmmword [0x14008fab0]
movaps xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [0x14008fad0]
movaps xmmword [rsp + 0x50], xmm1
movaps xmm1, xmmword [0x14008fac0]
movsd qword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm1
mov dword [rsp + 0x88], eax
call fcn.140012b80
lea rcx, [0x1400ac820]
mov qword [0x1400ac818], rbx
call fcn.140023d28
mov rbx, qword [rsp + 0xf0]
jmp 0x14001feb9
lea rcx, [0x1400ac820]
call fcn.140023d88
cmp dword [0x1400ac820], 0xffffffff
jne 0x14001feb9
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 0x14001ffce
mov r8d, dword [rsp + 0x30]
xor ebx, ebx
test r8d, r8d
jle 0x14001ffc5
mov qword [rsp + 0xb8], rdi
mov rdi, rax
mov qword [rsp + 0xb0], r12
lea r12, [0x14008b0b0]
mov qword [rsp + 0xa8], r13
lea r13, str._cfg
mov qword [rsp + 0xa0], r15
lea r15, str.__configuration
jmp 0x14001ff64
Function at 0x1400217c0
Capabilities:
Delete registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x1400a9538]
xor rax, rsp
mov qword [rsp + 0x460], rax
cmp qword [rcx + 0x18], 0
mov rsi, rdx
mov rbp, rcx
mov edi, 4
je 0x14002192a
cmp dword [rcx + 0x10], 0
jne 0x14002192a
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.140024ec0
xor edx, edx
lea rcx, [rsp + 0x250]
mov r8d, 0x208
call fcn.140024ec0
test rsi, rsi
je 0x14002192a
mov qword [rsp + 0x4a0], rbx
lea rdx, [0x14008e33c]
mov rcx, rsi
mov rbx, rsi
call fcn.140026490
test rax, rax
je 0x14002188b
nop dword [rax]
lea rbx, [rax + 2]
mov rcx, rbx
lea rdx, [0x14008e33c]
call fcn.140026490
test rax, rax
jne 0x140021850
cmp rbx, rsi
je 0x14002188b
mov r9, rbx
lea rcx, [rsp + 0x40]
sub r9, rsi
mov r8, rsi
sar r9, 1
mov edx, 0x104
dec r9
call fcn.14005e8f0
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x250]
mov r8, rbx
mov edx, 0x104
call fcn.14005e8f0
mov rcx, qword [rbp + 0x18]
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 0x1400218fd
lea eax, [rsi + 1]
mov rbx, qword [rsp + 0x4a0]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140023340
add rsp, 0x470
pop rdi
pop rsi
pop rbp
ret
test eax, eax
jne 0x140021926
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 0x1400218da
mov eax, edi
jmp 0x1400218e2
Function at 0x140021b30
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x488
mov rax, qword [0x1400a9538]
xor rax, rsp
mov qword [rsp + 0x470], rax
cmp qword [rcx + 0x18], 0
mov r14, r8
mov rsi, rdx
mov rbp, rcx
mov edi, 4
je 0x140021c8e
test rdx, rdx
je 0x140021c8e
xor edx, edx
mov qword [rsp + 0x480], rbx
mov r8d, 0x208
lea rcx, [rsp + 0x260]
call fcn.140024ec0
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.140024ec0
lea rdx, [0x14008e33c]
mov rcx, rsi
mov rbx, rsi
call fcn.140026490
test rax, rax
je 0x140021bfe
nop word [rax + rax]
lea rbx, [rax + 2]
mov rcx, rbx
lea rdx, [0x14008e33c]
call fcn.140026490
test rax, rax
jne 0x140021bc0
cmp rbx, rsi
je 0x140021bfe
mov r9, rbx
lea rcx, [rsp + 0x260]
sub r9, rsi
mov r8, rsi
sar r9, 1
mov edx, 0x104
dec r9
call fcn.14005e8f0
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rbx
mov edx, 0x104
call fcn.14005e8f0
mov rcx, qword [rbp + 0x18]
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 0x140021c79
lea eax, [rbx + 2]
mov rbx, qword [rsp + 0x480]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140023340
add rsp, 0x488
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp eax, 2
jne 0x140021c85
mov eax, 1
jmp 0x140021c54
test eax, eax
cmove edi, ebx
mov eax, edi
jmp 0x140021c54
mov eax, edi
jmp 0x140021c5c
Function at 0x140021ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x488
mov rax, qword [0x1400a9538]
xor rax, rsp
mov qword [rsp + 0x470], rax
cmp qword [rcx + 0x18], 0
mov r14, r9
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
je 0x140021e03
test rdx, rdx
je 0x140021e03
xor edx, edx
mov qword [rsp + 0x480], rbx
mov r8d, 0x208
lea rcx, [rsp + 0x260]
call fcn.140024ec0
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.140024ec0
lea rdx, [0x14008e33c]
mov rcx, rdi
mov rbx, rdi
call fcn.140026490
test rax, rax
je 0x140021d6e
nop word [rax + rax]
lea rbx, [rax + 2]
mov rcx, rbx
lea rdx, [0x14008e33c]
call fcn.140026490
test rax, rax
jne 0x140021d30
cmp rbx, rdi
je 0x140021d6e
mov r9, rbx
lea rcx, [rsp + 0x260]
sub r9, rdi
mov r8, rdi
sar r9, 1
mov edx, 0x104
dec r9
call fcn.14005e8f0
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rbx
mov edx, 0x104
call fcn.14005e8f0
mov eax, dword [r14]
lea r8, [rsp + 0x50]
mov rcx, qword [rbp + 0x18]
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 0x140021df5
test eax, eax
jne 0x140021ddd
test rsi, rsi
je 0x140021df5
jmp 0x140021e08
cmp eax, 0x57
jne 0x140021de9
mov eax, 2
jmp 0x140021e08
cmp eax, 2
jne 0x140021e03
mov eax, 1
jmp 0x140021e08
mov ecx, dword [rsp + 0x40]
mov eax, 3
mov qword [r14], rcx
jmp 0x140021e08
mov eax, 4
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140023340
add rsp, 0x488
pop r14
pop rdi
pop rsi
pop rbp
ret