joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180073350
Capabilities:
Get common file path

Disassembly:
jmp 0x180073350
sub rsp, 0x258
mov rax, qword [0x180135088]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1800733c6
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x1800733ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.NvFBCDLL::LoadNVFBCDll:_GetSystemDirectoryW_failed._gle___X_
lea rcx, vtable.CLogger.0
call fcn.1800024fa
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180002397
add rsp, 0x258
ret
cmp eax, 0x104
jbe 0x180073419
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x1800733ff
lfence
mov r9d, 0x104
lea rdx, str.NvFBCDLL::LoadNVFBCDll:_Given_string_buffer_size_is_insufficient._required__d__provided__d_
mov r8d, eax
lea rcx, vtable.CLogger.0
call fcn.1800024fa
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180002397
add rsp, 0x258
ret
lea rax, str.NvFBC64.dll
mov edx, 0x104
mov qword [rsp + 0x28], rax
lea r9, str._s_s
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.180002bfd
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180003b8e
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180002397
add rsp, 0x258
ret

Function at 0x1800734c0
Capabilities:
Get common file path

Disassembly:
jmp 0x1800734c0
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x180135088]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
xor edi, edi
mov qword [rcx], rdi
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.180003a85
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rax, str.NvFBC64.dll
mov edx, 0x104
mov qword [rsp + 0x28], rax
lea r9, str._s_s
lea rax, [rsp + 0x30]
lea r8, [rdi - 1]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x30]
call fcn.180002bfd
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180003b8e
test rax, rax
mov qword [rbx], rax
mov ecx, 0x80004005
cmove edi, ecx
mov eax, edi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180002397
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x180074270
Capabilities:
Get common file path

Disassembly:
jmp 0x180074270
push rbx
push rbp
push rdi
push r14
sub rsp, 0x258
mov rax, qword [0x180135088]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov r14, r8
mov ebp, r9d
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.180003a85
test rbx, rbx
je 0x180074492
test r14, r14
je 0x180074492
test ebp, ebp
je 0x180074492
mov edx, 0x104
mov qword [rsp + 0x250], rsi
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
mov r8, rbx
lea r9, str._s_s
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.180002bfd
xor edx, edx
lea rcx, [rsp + 0x30]
xor esi, esi
call fcn.180003b8e
mov qword [rdi], rax
test rax, rax
jne 0x1800743c4
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x18007435c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [rsp + 0x30]
lea rdx, str.CDllWrapper::Initialize:_Could_not_locate__S._Error_0x_08X
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov rcx, rdi
mov esi, 0x80004005
call fcn.180003d23
test esi, esi
jns 0x18007448a
lfence
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x18007439d
mov r8d, esi
lea rdx, str.CDllWrapper::InitializeSystemDll:_Initialize_failed_0x_08X_
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov eax, esi
mov rsi, qword [rsp + 0x250]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180002397
add rsp, 0x258
pop r14
pop rdi
pop rbp
pop rbx
ret
mov eax, 8
mul rbp
cmovo rax, rbx
mov rcx, rax
call fcn.1800051a5
mov qword [rdi + 8], rax
test rax, rax
jne 0x180074411
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x180074407
lea rdx, str.CDllWrapper::Initialize:_E_OUTOFMEMORY
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov esi, 0x8007000e
jmp 0x180074371
mov dword [rdi + 0x10], ebp
mov ebx, esi
test ebp, ebp
je 0x180074369
nop
mov rcx, qword [rdi]
mov ebp, ebx
mov rdx, qword [r14 + rbp*8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rdi + 8]
mov qword [rcx + rbp*8], rax
mov rax, qword [rdi + 8]
cmp qword [rax + rbp*8], rsi
je 0x18007444d
inc ebx
cmp ebx, dword [rdi + 0x10]
jb 0x180074420
jmp 0x180074369
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x180074480
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [r14 + rbp*8]
lea rdx, str.CDllWrapper::Initialize:_Entrypoint__s__not_found__0x_08X
mov r9d, eax
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov esi, 0x80004005
jmp 0x180074371
lfence
jmp 0x18007439d
cmp dword [0x18013218c], 7
mov dword [0x180132050], 7
jg 0x1800744b8
lea rdx, str.CDllWrapper::InitializeSystemDll:_E_INVALIDARG
lea rcx, vtable.CLogger.0
call fcn.1800024fa
mov eax, 0x80070057
jmp 0x1800743a7
Function at 0x1400081dc
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x14004b138]
xor rax, rsp
mov qword [rsp + 0x270], rax
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
and qword [rsp + 0x60], 0
mov rdi, rcx
mov rcx, qword [rcx]
lea rax, [rsp + 0x60]
mov r9d, 0x2001f
xor r8d, r8d
mov rsi, rdx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x1400082e0
test rcx, rcx
je 0x140008256
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
test ebx, ebx
mov qword [rsp + 0x48], rcx
jmp 0x14000827c
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400081dc
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
jne 0x1400082e0
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor edx, edx
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140008264
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400082ce
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x48], 0
mov rdx, rsi
mov rcx, rdi
call fcn.1400080a8
mov rcx, qword [rsp + 0x48]
mov ebx, eax
test rcx, rcx
je 0x1400082eb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14003a6d0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000889c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x14004b138]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r12, r9
mov rdi, r8
mov rax, rdx
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x70], rbx
xor edx, edx
lea r8d, [rbx + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
cmp rax, rbx
jne 0x140008910
call fcn.140007cb0
mov ebx, eax
jmp 0x140008a51
mov r8, r12
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
cmp rax, rbx
jne 0x140008933
call fcn.140007cb0
mov ebx, eax
jmp 0x140008a47
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r12, rax
mov qword [rsp + 0x40], rax
cmp rax, rbx
jne 0x140008958
call fcn.140007cb0
mov ebx, eax
jmp 0x140008a47
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, edi
jae 0x140008991
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x140008987
lea rcx, [rsp + 0x70]
call fcn.14000e9bc
nop
mov eax, 0x8007000e
jmp 0x140008a6a
mov ecx, eax
cmp rcx, rbx
je 0x1400089cf
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1400089c5
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x1400089cf
lea rcx, [rsp + 0x70]
call fcn.14000ee1c
mov rax, qword [rsp + 0x70]
jmp 0x1400089d9
mov ecx, 0x80070057
call fcn.140007c44
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x1400089f0
cmp rax, rbx
jne 0x1400089fc
mov ebx, 0x8007000e
jmp 0x140008a47
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, edi
mov r8, r12
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x140008a23
call fcn.140007cb0
mov ebx, eax
jmp 0x140008a47
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], bx
mov r8d, dword [rsp + 0x4d0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14000957c
mov ebx, eax
mov rcx, rsi
Function at 0x1400118d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0xa0
mov rax, qword [0x14004b138]
xor rax, rsp
mov qword [rsp + 0x90], rax
xor esi, esi
mov rdi, r8
mov rbp, rdx
xor r12d, r12d
inc r12d
lea r8, [0x140003a90]
lea rcx, [rsp + 0x50]
mov r9d, r12d
mov edx, 0x20
call fcn.140011670
lea r11, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], r11
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea rdx, [0x140001ef0]
mov r9d, 2
mov rcx, 0xffffffff80000001
call qword [sym.imp.KERNEL32.dll_RegGetValueW]
test eax, eax
jne 0x1400119c7
mov edx, dword [rsp + 0x40]
xor ecx, ecx
shr edx, 1
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rbx, rax
test rax, rax
je 0x1400119c7
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x50]
lea rdx, [0x140001ef0]
mov qword [rsp + 0x30], rax
mov r9d, 2
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x28], rbx
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_RegGetValueW]
test eax, eax
jne 0x1400119be
cmp qword [rdi], rbx
je 0x1400119b6
mov rcx, qword [rdi]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbx
inc esi
add rdi, 8
jmp 0x1400119c7
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp r12d, 5
jb 0x140011902
mov dword [rbp], esi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14003a6d0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret

Function at 0x140011ef8
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x60
and qword [r11 - 0x28], 0
lea rax, [r11 - 0x18]
mov rbx, r9
mov qword [r11 - 0x30], rax
and qword [r11 - 0x38], 0
mov rdi, r8
lea rdx, [0x140001ef0]
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20106
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140011f81
mov rcx, qword [rsp + 0x50]
lea r9d, [rax + 4]
xor r8d, r8d
mov dword [rsp + 0x28], r9d
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
test eax, eax
je 0x140011f7b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x140011f81
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x140011f94
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x40
and qword [rax - 0x10], 0
mov dword [rax - 0x18], 4
lea rax, [rax - 0x10]
mov rbx, r9
mov rdi, r8
mov r9d, 0x20119
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001201a
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14001200d
cmp dword [rsp + 0x34], 4
jne 0x14001200d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001201a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14001202c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
sub rsp, 0x40
mov rbx, qword [rsp + 0x70]
mov rsi, r8
lea rax, [r11 - 0x18]
mov r12, rcx
mov rcx, qword [rbx]
mov qword [r11 - 0x20], rax
mov rdi, r9
mov qword [r11 - 0x28], r9
mov rbp, rdx
lea r9, [r11 - 0x14]
xor r8d, r8d
mov rdx, rsi
mov dword [rsp + 0x30], 4
call qword [sym.imp.KERNEL32.dll_RegQueryValueExW]
test eax, eax
jne 0x140012088
cmp dword [rsp + 0x34], 4
je 0x1400120d8
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rbp
mov rcx, r12
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400120b5
and qword [rbx], 0
jmp 0x1400120d8
mov rcx, qword [rbx]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_RegQueryValueExW]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret
Function at 0x1400133c4
Capabilities:
Get keyboard layout

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov r13, r8
mov r14, rdx
mov qword [rdx], rbx
mov rbp, rcx
or r15, 0xffffffffffffffff
mov dword [r8], ebx
mov r12d, ebx
cmp qword [rbp + 0xe8], rbx
je 0x140013414
mov rcx, qword [rbp + 0xe8]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax]
jmp 0x14001341e
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayoutList]
movsxd rcx, eax
mov edi, eax
mov eax, 8
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.140039c90
mov rsi, rax
cmp rax, rbx
je 0x14001347a
cmp edi, ebx
je 0x14001346f
cmp qword [rbp + 0xe8], rbx
je 0x140013460
mov rcx, qword [rbp + 0xe8]
mov r8, rax
mov edx, edi
mov r9, qword [rcx]
call qword [r9]
jmp 0x14001346b
mov rdx, rax
mov ecx, edi
call qword [sym.imp.USER32.dll_GetKeyboardLayoutList]
cmp edi, eax
je 0x140013492
mov rcx, rsi
call fcn.140039c9c
mov rsi, rbx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
inc r12d
cmp r12d, 5
jl 0x1400133f8
cmp edi, ebx
jle 0x1400134d0
movsxd rbp, edi
mov eax, 2
mul rbp
cmovo rax, r15
mov rcx, rax
call fcn.140039c90
cmp rax, rbx
je 0x1400134d0
cmp rbp, rbx
jle 0x1400134c7
movzx ecx, word [rsi + rbx*8]
mov word [rax + rbx*2], cx
inc rbx
cmp rbx, rbp
jl 0x1400134b7
mov qword [r14], rax
mov bl, 1
mov dword [r13], edi
mov rcx, rsi
call fcn.140039c9c
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140015a10
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xf0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14004b138]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rbx, rdx
and qword [rsp + 0x38], 0
and qword [rsp + 0x40], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x30], 0
lea rax, [0x140002840]
lea rdx, [0x1400027b0]
test cl, cl
cmovne rdx, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140015afb
mov rsi, qword [rsp + 0x30]
mov qword [rsp + 0x38], rsi
lea r8d, [rax + 0x40]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea rcx, [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
test rax, rax
jne 0x140015acb
mov ecx, 0x8007000e
call fcn.140007c44
int3
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
xor ebx, ebx
test edi, edi
setne bl
test rsi, rsi
je 0x140015af7
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x140015b00
mov eax, 0x80004005
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14003a6d0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140015b2c
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x110
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x14004b138]
xor rax, rsp
mov qword [rsp + 0x108], rax
mov edi, r8d
mov rbx, rdx
and qword [rsp + 0x40], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
lea rax, [0x140002840]
lea r8, [0x1400027b0]
test cl, cl
cmovne r8, rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
and dword [rsp + 0x20], 0
xor r9d, r9d
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x40]
call fcn.140008158
test eax, eax
jne 0x140015c81
lea rcx, [rsp + 0x60]
mov eax, dword [0x140003d28]
mov dword [rcx], eax
movzx eax, word [0x140003d2c]
mov word [rcx + 4], ax
xor eax, eax
mov qword [rsp + 0x66], rax
mov qword [rsp + 0x6e], rax
lea r8d, [rax + 0x10]
lea rdx, [rsp + 0x64]
mov ecx, edi
call qword [sym.imp.msvcrt.dll__itow]
mov r8d, 0x40
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea rcx, [rsp + 0x80]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
test rax, rax
jne 0x140015c24
mov ecx, 0x8007000e
call fcn.140007c44
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
xor ebx, ebx
test edi, edi
setne bl
cmp qword [rsp + 0x40], 0
je 0x140015c7d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x140015c96
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140015c91
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80004005
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.14003a6d0
mov rbx, qword [rsp + 0x138]
add rsp, 0x110
pop rdi
ret
Function at 0x140015e30
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x4a0
mov rax, qword [0x14004b138]
xor rax, rsp
mov qword [rsp + 0x490], rax
xor r14d, r14d
mov rdi, r8
mov rsi, rdx
mov bpl, cl
cmp rdx, r14
je 0x140015e71
movdqu xmm0, xmmword [0x140001a40]
movdqu xmmword [rdx], xmm0
cmp r8, r14
je 0x140015e79
mov dword [r8], r14d
mov r12d, 0x206
lea rcx, [rsp + 0x72]
xor edx, edx
mov r8, r12
mov rbx, r14
mov word [rsp + 0x70], r14w
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x282]
mov r8, r12
xor edx, edx
mov word [rsp + 0x280], r14w
call sub.msvcrt.dll_memset
lea rax, [0x140002840]
lea rdx, [0x1400027b0]
movdqu xmm5, xmmword [0x140001a40]
cmp bpl, r14b
mov r9d, 0x20019
mov rcx, 0xffffffff80000001
movdqu xmmword [rsp + 0x58], xmm5
cmovne rdx, rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov r13d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r12d, eax
cmp eax, r14d
jne 0x140015f0d
mov rbx, qword [rsp + 0x50]
mov r12d, r14d
mov ebp, r14d
cmp r12d, r14d
jne 0x140015f9b
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x280]
mov edx, ebp
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov rcx, rbx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x48], 0x104
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x44], 0x208
call qword [sym.imp.KERNEL32.dll_RegEnumValueW]
mov r12d, eax
cmp eax, r14d
jne 0x140015f92
inc ebp
cmp dword [rsp + 0x40], 1
jne 0x140015f92
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ole32.dll_CLSIDFromString]
cmp eax, r14d
mov r13d, eax
jge 0x140015fd0
cmp r13d, r14d
jge 0x140015f10
cmp rbx, r14
je 0x140015fa9
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.14003a6d0
add rsp, 0x4a0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp rsi, r14
je 0x140015fdf
movdqu xmm0, xmmword [rsp + 0x58]
movdqu xmmword [rsi], xmm0
cmp rdi, r14
je 0x140015ff9
lea rcx, [rsp + 0x280]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.msvcrt.dll_wcstol]
mov dword [rdi], eax
cmp rbx, r14
je 0x140016007
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x140015fae
Function at 0x1400164d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0xa0], rax
test rax, rax
jne 0x140016508
mov eax, 0x80004005
jmp 0x1400165e2
lea rax, [rbx + 0x90]
lea r8, [0x140019ad4]
mov r9, rbx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x88], rax
test rax, rax
jne 0x140016542
mov esi, 0x80004005
mov edi, esi
jmp 0x14001657d
mov edx, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [rbx + 0xa0]
mov edx, 0x9c4
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0x88]
xor edi, edi
test eax, eax
mov esi, 0x80004005
cmovne edi, esi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [rbx + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx + 0xa0], 0
test edi, edi
js 0x1400165d8
cmp qword [rbx + 0x58], 0
je 0x1400165b9
mov rcx, qword [rbx + 0x58]
and qword [rbx + 0x58], 0
lea r8, [rbx + 0x60]
lea rdx, [0x140002988]
call qword [sym.imp.ole32.dll_CoGetInterfaceAndReleaseStream]
mov edi, eax
mov rcx, qword [rbx + 0x60]
test rcx, rcx
jne 0x1400165c8
test edi, edi
js 0x1400165d8
mov edi, esi
test edi, edi
js 0x1400165d8
mov rax, qword [rcx]
call qword [rax + 0x18]
mov edi, eax
test eax, eax
jns 0x1400165e0
mov rcx, rbx
call fcn.140016324
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret