joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e120
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 0x14000e1ff
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 0x14000e157
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 0x14000e202
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 0x14000e1a6
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 0x14000e1b0
test rax, rax
je 0x14000e1ff
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 0x14000e1f0
cmp rdx, rax
jb 0x14000e1d0
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 0x140014ba0
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 0x140014c02
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140014bf7
cmp edi, eax
jb 0x140014bf7
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 0x1400151e0
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 0x140015357
movzx eax, word [rbx]
cmp eax, 0x5c
je 0x140015243
cmp eax, 0x2f
je 0x140015243
mov ecx, eax
call fcn.140072000
test eax, eax
je 0x140015357
cmp word [rbx + 2], 0x3a
jne 0x140015357
movzx eax, word [rbx + 4]
cmp ax, 0x5c
je 0x140015243
cmp ax, 0x2f
jne 0x140015357
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001533b
test al, 0x50
jne 0x14001533b
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 0x1400152b0
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.140015c50
test eax, eax
je 0x1400152e2
test r14d, r14d
je 0x1400152f6
cmp dword [rsp + 0x60], edi
jne 0x1400152f6
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.140011500
test eax, eax
je 0x14001530d
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 0x14001532b
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 0x14001529a
xor ecx, ecx
jmp 0x140015294
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 0x1400168a0
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 0x140016930
Capabilities:
Query environment variable

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
je 0x1400169b8
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 0x1400169ab
mov qword [rsp + 0x30], rbx
lfence
mov rcx, 0xffffffffffffffff
mov eax, 2
mul rsi
lea rdx, [0x1400a8600]
cmovo rax, rcx
mov rcx, rax
call fcn.140036be4
mov rbx, rax
test rax, rax
je 0x14001699b
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 0x140016cf0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400c7338]
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 0x140016d7c
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x234
call fcn.140037a40
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rbx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140016d73
cmp dword [rsp + 0x28], edi
je 0x140016d6f
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140016d56
jmp 0x140016d73
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.140035de0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140016de0
Capabilities:
Get session user name

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x140016e08
test rdx, rdx
je 0x140016e08
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 0x140016e10
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 0x140016e3b
mov ebx, eax
shr ebx, 4
and bl, 1
jmp 0x140016e43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
movzx eax, bl
test rdi, rdi
je 0x140016e4d
mov dword [rdi], esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140016e60
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 0x140016e8b
mov ebx, eax
shr ebx, 0xa
and bl, 1
jmp 0x140016e93
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
movzx eax, bl
test rdi, rdi
je 0x140016e9d
mov dword [rdi], esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400170f0
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 0x14001ba20
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400c7338]
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.14001cb30
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 0x14001ba8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14001bb41
cmp qword [rbx + 0x18], 8
mov rax, rbx
jb 0x14001ba9b
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 0x14001bafe
test rcx, rcx
je 0x14001bb99
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x14001bafe
sub r9, rax
cmp dx, r8w
ja 0x14001bafe
cmp rcx, 1
je 0x14001bb99
movzx edx, word [r9 + rax + 2]
add rax, 2
dec rcx
movzx r8d, word [rax]
cmp dx, r8w
jae 0x14001badb
cmp r11, 8
jb 0x14001bb39
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x14001bb31
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001bbd4
mov rcx, r10
call fcn.140035d3c
inc rdi
jmp 0x14001ba50
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14001bb7f
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bb7a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001bbd4
call fcn.140035d3c
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140035de0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
cmp r11, 8
jb 0x14001bbd0
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x14001bbc8
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001bbd4
mov rcx, r10
call fcn.140035d3c
mov al, 1
jmp 0x14001bb81
call fcn.140074d78
int3
Function at 0x140021450
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x210], 0
mov rbx, rcx
jne 0x140021495
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.14001c5c0
xor al, al
add rsp, 0x30
pop rbx
ret
cmp qword [rcx + 0x230], 0
je 0x1400214ae
lea rax, str.Directory_listener_is_already_running.
mov r8d, 0xb6
jmp 0x14002146f
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 0x1400214e0
mov rcx, qword [rbx + 0x218]
lea rax, str.Failed_to_start_directory_listener__no_start_event_.
mov r8d, 0xbd
jmp 0x140021476
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 0x140021514
mov rcx, qword [rbx + 0x218]
lea rax, str.Failed_to_start_directory_listener__no_quit_event_.
mov r8d, 0xc4
jmp 0x140021476
xor eax, eax
lea r8, [0x1400217b0]
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 0x140021558
mov rcx, qword [rbx + 0x218]
lea rax, str.Failed_to_create_directory_listener_thread.
mov r8d, 0xcb
jmp 0x140021476
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 0x14002158e
lea rax, str.Failed_to_start_directory_listener_thread.
mov r8d, 0xd1
jmp 0x14002147d
lea rax, str.Directory_listener_thread_started.
mov r9d, 4
mov r8d, 0xd5
mov qword [rsp + 0x20], rax
call fcn.14001c5c0
mov al, 1
add rsp, 0x30
pop rbx
ret
Function at 0x1400232f0
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 [0x1400c7338]
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 0x140023444
mov ecx, esi
lea rdx, [0x1400a8600]
call fcn.140036be4
mov rdi, rax
test rax, rax
je 0x140023444
lea rdx, [0x1400a8600]
mov ecx, 4
call fcn.140035ffc
mov rbx, rax
test rax, rax
je 0x14002343c
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 0x140023420
xor eax, eax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
mov qword [rsp + 0x58], rax
lea rdx, [0x1400a697c]
mov dword [rsp + 0x50], eax
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140023420
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.14000d4f0
sub dword [rbx], 1
jne 0x140023444
mov rcx, rdi
call fcn.140035d44
mov edx, 4
mov rcx, rbx
call fcn.140035d3c
jmp 0x140023444
mov rcx, rdi
call fcn.140035d44
call fcn.140016db0
mov edx, 0x800
mov r8d, 1
mov rcx, rbp
mov rbx, rax
call fcn.1400151e0
mov rdi, rax
call fcn.140016db0
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 + 0x4e]
lea rax, str.Secure_loading__ls____ls_at__p_took__lu_microseconds
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call fcn.14001c5c0
test rdi, rdi
je 0x1400234bf
test r15b, r15b
je 0x1400234bf
mov rax, qword [r14 + 0x10]
test rax, rax
je 0x1400234bf
mov dword [rax + 0x40], esi
mov rax, rdi
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140035de0
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400244d0
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r14
sub rsp, 0xc8
mov rax, qword [0x1400c7338]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, qword gs:[0x58]
mov ebp, ecx
mov ecx, dword [0x1400ca6f0]
mov r14, rdx
mov edx, 0x390
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1400ca610], ecx
jg 0x1400246ce
mov rdx, qword [0x1400ca608]
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.140035de0
add rsp, 0xc8
pop r14
pop rbp
ret
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r12 + rcx*2 - 2]
jne 0x140024577
cmp rcx, 5
je 0x1400245cb
jmp 0x140024560
xor ecx, ecx
nop dword [rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r13 + rcx*2 - 2]
jne 0x140024597
cmp rcx, 5
jne 0x140024580
jmp 0x1400245cb
xor eax, eax
nop dword [rax]
movzx ecx, word [rdx + rax*2]
cmp cx, word [r15 + rax*2]
jne 0x1400245fa
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r15 + rax*2 + 2]
jne 0x1400245fa
add rax, 2
cmp rax, 0x10
je 0x1400245cb
jmp 0x1400245a0
mov rdx, qword [rdi]
xor ecx, ecx
jmp 0x140024560
lea eax, [r8 - 1]
cmp ebx, eax
jge 0x1400245fa
mov r8, qword [rdi + 8]
lea rcx, [0x1400ca400]
add rdi, 8
inc ebx
mov r9, 0xffffffffffffffff
mov edx, 0x104
call fcn.140072e78
mov r8d, dword [rsp + 0x30]
inc ebx
add rdi, 8
cmp ebx, r8d
jl 0x1400245c4
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 [0x1400ca400], 0
lea rbx, str.SOFTWARENVIDIA_CorporationNvContainer
mov rsi, qword [rsp + 0xc0]
je 0x1400246ae
movaps xmm0, xmmword [str.SYSTEMCurrentControlSetServices_ls]
lea r9, [0x1400ca400]
movaps xmm1, xmmword [0x1400a7ef0]
lea r8, [rsp + 0x40]
mov eax, dword [0x1400a7f28]
mov edx, 0x104
movaps xmmword [rsp + 0x40], xmm0
mov rcx, rbx
movaps xmm0, xmmword [0x1400a7f00]
movaps xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [0x1400a7f20]
movaps xmmword [rsp + 0x50], xmm1
movaps xmm1, xmmword [0x1400a7f10]
movsd qword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm1
mov dword [rsp + 0x88], eax
call fcn.14000d4f0
lea rcx, [0x1400ca610]
mov qword [0x1400ca608], rbx
call fcn.140036738
mov rbx, qword [rsp + 0xf0]
jmp 0x140024519
lea rcx, [0x1400ca610]
call fcn.140036798
cmp dword [0x1400ca610], 0xffffffff
jne 0x140024519
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 0x14002462e
mov r8d, dword [rsp + 0x30]
xor ebx, ebx
test r8d, r8d
jle 0x140024625
mov qword [rsp + 0xb8], rdi
mov rdi, rax
mov qword [rsp + 0xb0], r12
lea r12, [0x1400a3520]
mov qword [rsp + 0xa8], r13
lea r13, str._cfg
mov qword [rsp + 0xa0], r15
lea r15, str.__configuration
jmp 0x1400245c4
Function at 0x140024ae0
Capabilities:
Delete registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x1400c7338]
xor rax, rsp
mov qword [rsp + 0x460], rax
cmp qword [rcx + 0x20], 0
mov rsi, rdx
mov rbp, rcx
mov edi, 4
je 0x140024c4a
cmp dword [rcx + 0x18], 0
jne 0x140024c4a
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.140037a40
xor edx, edx
lea rcx, [rsp + 0x250]
mov r8d, 0x208
call fcn.140037a40
test rsi, rsi
je 0x140024c4a
mov qword [rsp + 0x4a0], rbx
lea rdx, [0x1400a697c]
mov rcx, rsi
mov rbx, rsi
call fcn.140038fe0
test rax, rax
je 0x140024bab
nop dword [rax]
lea rbx, [rax + 2]
mov rcx, rbx
lea rdx, [0x1400a697c]
call fcn.140038fe0
test rax, rax
jne 0x140024b70
cmp rbx, rsi
je 0x140024bab
mov r9, rbx
lea rcx, [rsp + 0x40]
sub r9, rsi
mov r8, rsi
sar r9, 1
mov edx, 0x104
dec r9
call fcn.140072e78
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x250]
mov r8, rbx
mov edx, 0x104
call fcn.140072e78
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 0x140024c1d
lea eax, [rsi + 1]
mov rbx, qword [rsp + 0x4a0]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140035de0
add rsp, 0x470
pop rdi
pop rsi
pop rbp
ret
test eax, eax
jne 0x140024c46
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 0x140024bfa
mov eax, edi
jmp 0x140024c02
Function at 0x140024e60
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x488
mov rax, qword [0x1400c7338]
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 0x140024fbe
test rdx, rdx
je 0x140024fbe
xor edx, edx
mov qword [rsp + 0x480], rbx
mov r8d, 0x208
lea rcx, [rsp + 0x260]
call fcn.140037a40
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.140037a40
lea rdx, [0x1400a697c]
mov rcx, rsi
mov rbx, rsi
call fcn.140038fe0
test rax, rax
je 0x140024f2e
nop word [rax + rax]
lea rbx, [rax + 2]
mov rcx, rbx
lea rdx, [0x1400a697c]
call fcn.140038fe0
test rax, rax
jne 0x140024ef0
cmp rbx, rsi
je 0x140024f2e
mov r9, rbx
lea rcx, [rsp + 0x260]
sub r9, rsi
mov r8, rsi
sar r9, 1
mov edx, 0x104
dec r9
call fcn.140072e78
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rbx
mov edx, 0x104
call fcn.140072e78
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 0x140024fa9
lea eax, [rbx + 2]
mov rbx, qword [rsp + 0x480]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140035de0
add rsp, 0x488
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp eax, 2
jne 0x140024fb5
mov eax, 1
jmp 0x140024f84
test eax, eax
cmove edi, ebx
mov eax, edi
jmp 0x140024f84
mov eax, edi
jmp 0x140024f8c
Function at 0x140024fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x488
mov rax, qword [0x1400c7338]
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 0x140025133
test rdx, rdx
je 0x140025133
xor edx, edx
mov qword [rsp + 0x480], rbx
mov r8d, 0x208
lea rcx, [rsp + 0x260]
call fcn.140037a40
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.140037a40
lea rdx, [0x1400a697c]
mov rcx, rdi
mov rbx, rdi
call fcn.140038fe0
test rax, rax
je 0x14002509e
nop word [rax + rax]
lea rbx, [rax + 2]
mov rcx, rbx
lea rdx, [0x1400a697c]
call fcn.140038fe0
test rax, rax
jne 0x140025060
cmp rbx, rdi
je 0x14002509e
mov r9, rbx
lea rcx, [rsp + 0x260]
sub r9, rdi
mov r8, rdi
sar r9, 1
mov edx, 0x104
dec r9
call fcn.140072e78
mov r9, 0xffffffffffffffff
lea rcx, [rsp + 0x50]
mov r8, rbx
mov edx, 0x104
call fcn.140072e78
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 0x140025125
test eax, eax
jne 0x14002510d
test rsi, rsi
je 0x140025125
jmp 0x140025138
cmp eax, 0x57
jne 0x140025119
mov eax, 2
jmp 0x140025138
cmp eax, 2
jne 0x140025133
mov eax, 1
jmp 0x140025138
mov ecx, dword [rsp + 0x40]
mov eax, 3
mov qword [r14], rcx
jmp 0x140025138
mov eax, 4
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140035de0
add rsp, 0x488
pop r14
pop rdi
pop rsi
pop rbp
ret