joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140079a80
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
mov qword [rbp - 0x19], rcx
xor r12d, r12d
mov qword [rbp + 7], r12
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], r12b
mov r14, qword [rdx + 8]
test r14, r14
jne 0x140079ae7
movups xmm0, xmmword [rbp + 7]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rbp + 0x17]
movups xmmword [rcx + 0x10], xmm1
jmp 0x140079c06
mov r15, qword [rdx]
mov dword [rbp - 0x19], r12d
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x40000001
mov edx, r14d
mov rcx, r15
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
je 0x140079c37
xorps xmm0, xmm0
mov esi, dword [rbp - 0x19]
movdqu xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r12
test rsi, rsi
je 0x140079b88
cmp rsi, 0x1000
jb 0x140079b60
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x140079c52
lfence
call fcn.1400adcb8
mov rcx, rax
test rax, rax
je 0x140079c31
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140079b6b
lfence
mov rcx, rsi
call fcn.1400adcb8
mov qword [rbp - 0x11], rax
lea rbx, [rax + rsi]
mov qword [rbp - 1], rbx
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.1400d41f0
mov qword [rbp - 9], rbx
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x11]
mov r8d, 0x40000001
mov edx, r14d
mov rcx, r15
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
je 0x140079c58
mov r8d, dword [rbp - 0x19]
mov rdx, qword [rbp - 0x11]
lea rcx, [rbp + 7]
call fcn.14000bab0
movups xmm0, xmmword [rbp + 7]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x17]
movups xmmword [rdi + 0x10], xmm1
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x140079c06
mov rdx, qword [rbp - 1]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079c00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140079c31
call fcn.1400ada10
nop
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400ad9f0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400e39e0
nop
lea rdx, [0x1401397d8]
lea rcx, [rbp - 0x59]
call fcn.14000a4a0
nop
lea rcx, [rbp - 0x59]
call fcn.140010760
nop
call fcn.1400067c0
nop
lea rdx, str.CryptBinaryToStringA_2_
lea rcx, [rbp - 0x39]
call fcn.14000a4a0
nop
lea rcx, [rbp - 0x39]
call fcn.140010760
int3
Function at 0x140079c80
Capabilities:
Hash data via wincrypt

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x2030
call fcn.1401033f0
sub rsp, rax
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov rax, qword [rdx]
mov rdi, rdx
mov rsi, rcx
movsxd r8, dword [rax + 4]
test byte [r8 + rdx + 0x10], 6
jne 0x140079d84
mov qword [rsp + 0x2050], rbx
nop word [rax + rax]
mov r8d, 0x2000
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14001e930
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140079d6a
mov rcx, qword [rsi]
movsxd rax, ebx
add qword [rsi + 8], rax
cmp byte [rcx], 0
je 0x140079d13
mov rcx, qword [rcx + 0x10]
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov r8d, ebx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsi]
cmp byte [rcx + 0x18], 0
je 0x140079d31
mov rcx, qword [rcx + 0x28]
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov r8d, ebx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsi]
cmp byte [rcx + 0x30], 0
je 0x140079d4f
mov rcx, qword [rcx + 0x40]
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov r8d, ebx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rcx, qword [rsi]
cmp byte [rcx + 0x48], 0
je 0x140079d6a
mov rcx, qword [rcx + 0x58]
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov r8d, ebx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
test byte [rcx + rdi + 0x10], 6
je 0x140079cd0
mov rbx, qword [rsp + 0x2050]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.1400ad9f0
mov rsi, qword [rsp + 0x2058]
add rsp, 0x2030
pop rdi
ret
Function at 0x14007a170
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor eax, eax
mov qword [rcx + 8], rax
lea rsi, [rcx + 0x10]
mov qword [rsi], rax
and edx, r8d
setne al
mov byte [rcx], al
test r8d, edx
je 0x14007a239
mov dword [rsp + 0x20], 0xf0000000
xor r8d, r8d
xor edx, edx
add rcx, 8
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
cmp eax, 1
je 0x14007a239
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x40]
call fcn.1400d41f0
call fcn.140089150
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 3
lea rcx, [rsp + 0x50]
call fcn.140018320
nop
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140032886.0]
cmp dword [rsp + 0x48], eax
setl byte [rbp + 0x48]
jl 0x14007a2e0
lea rdx, str.CryptAcquireContextW_failed:
lea rcx, [rsp + 0x40]
call fcn.14001a2d0
jmp 0x14007a2c2
cmp byte [rdi], 0
je 0x14007a2ed
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rbp + 0xa0]
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp eax, 1
je 0x14007a2ed
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x40]
call fcn.1400d41f0
call fcn.140089150
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 3
lea rcx, [rsp + 0x50]
call fcn.140018320
nop
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140032886.0]
cmp dword [rsp + 0x48], eax
setl byte [rbp + 0x48]
jl 0x14007a2e0
lea rdx, str.CryptCreateHash_failed:
lea rcx, [rsp + 0x40]
call fcn.14002ce10
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14002cee0
mov byte [rbp + 0x48], 1
lea rcx, [rsp + 0x40]
call fcn.140014330
mov byte [rdi], 0
mov rax, rdi
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400ad9f0
mov rbx, qword [rsp + 0x188]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
Function at 0x140080340
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xf0
movaps xmmword [rsp + 0xe0], xmm6
mov rbx, r8
mov rax, rdx
mov dword [rsp + 0x20], 0
lea rcx, [0x140162ce0]
mov qword [rsp + 0x28], rcx
movaps xmm6, xmmword [rsp + 0x20]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x140080381
mov rdx, qword [r8]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1400803b0
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x1400803ab
mov dword [rsp + 0x20], eax
lea rax, [0x140166f50]
mov qword [rsp + 0x28], rax
movaps xmm6, xmmword [rsp + 0x20]
xor dil, dil
jmp 0x1400803b3
mov dil, 1
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov r8d, 0xb
lea rdx, str.DeleteValue
lea rcx, [rsp + 0x30]
call fcn.14000bab0
nop
movd eax, xmm6
test eax, eax
jne 0x14008044f
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14008042c
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140080427
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140080449
call fcn.1400ada10
movzx eax, dil
mov rbx, qword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop rdi
ret
call fcn.1400e39e0
nop
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14000a200
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.14008c040
mov rbx, rax
lea r8, [0x140139e98]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x80]
call fcn.14002cb80
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.140018b80
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.140010460
nop
movdqa xmmword [rsp + 0x20], xmm6
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140082250
int3
Function at 0x140080f70
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x110
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rbx, r8
mov rax, rdx
mov dword [r11 - 0x28], r9d
mov dword [rsp + 0x30], 0
lea rcx, [0x140162ce0]
mov qword [rsp + 0x38], rcx
movaps xmm6, xmmword [rsp + 0x30]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x140080fc2
mov rdx, qword [r8]
mov dword [rsp + 0x28], 4
lea rcx, [rsp + 0xf0]
mov qword [rsp + 0x20], rcx
mov r9d, 4
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140081002
mov dword [rsp + 0x30], eax
lea rax, [0x140166f50]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r8d, 0xd
lea rdx, str.SetDwordValue
lea rcx, [rsp + 0x40]
call fcn.14000bab0
nop
movd eax, xmm6
test eax, eax
jne 0x1400810a2
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14008107b
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081076
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008109c
call fcn.1400ada10
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1400ad9f0
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
ret
call fcn.1400e39e0
nop
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14000a200
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14008c040
mov rbx, rax
lea r8, [0x140139e98]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x90]
call fcn.14002cb80
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140018b80
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.140010460
nop
movdqa xmmword [rsp + 0x30], xmm6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140082250
int3
Function at 0x1400812e0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x110
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rbx, r8
mov rax, rdx
mov qword [r11 - 0x38], r9
mov dword [rsp + 0x30], 0
lea rcx, [0x140162ce0]
mov qword [rsp + 0x38], rcx
movaps xmm6, xmmword [rsp + 0x30]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x140081332
mov rdx, qword [r8]
mov dword [rsp + 0x28], 8
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x20], rcx
mov r9d, 0xb
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140081372
mov dword [rsp + 0x30], eax
lea rax, [0x140166f50]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r8d, 0xd
lea rdx, str.SetQwordValue
lea rcx, [rsp + 0x40]
call fcn.14000bab0
nop
movd eax, xmm6
test eax, eax
jne 0x140081412
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400813eb
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400813e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008140c
call fcn.1400ada10
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400ad9f0
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
ret
call fcn.1400e39e0
nop
lea rdx, [rsp + 0xe0]
mov rcx, rbx
call fcn.14000a200
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14008c040
mov rbx, rax
lea r8, [0x140139e98]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x80]
call fcn.14002cb80
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.140018b80
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.140010460
nop
movdqa xmmword [rsp + 0x30], xmm6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140082250
int3
Function at 0x140082d40
Capabilities:
Query or enumerate registry value

Disassembly:
mov rcx, rdx
mov rdx, r8
jmp 0x140082d40
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x100
movaps xmmword [rsp + 0xf0], xmm6
mov rbx, rdx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rax, [0x140162ce0]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
cmp qword [rdx + 0x18], 8
jb 0x140082d7e
mov rdx, qword [rdx]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140082dba
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x140082db5
mov dword [rsp + 0x30], eax
lea rax, [0x140166f50]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
xor dil, dil
jmp 0x140082dbd
mov dil, 1
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r8d, 0xb
lea rdx, str.ValueExists
lea rcx, [rsp + 0x40]
call fcn.14000bab0
nop
movd eax, xmm6
test eax, eax
jne 0x140082e52
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140082e2e
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082e29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082e4c
call fcn.1400ada10
movzx eax, dil
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rdi
ret
call fcn.1400e39e0
nop
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14000a200
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14008c040
mov rbx, rax
lea r8, [0x140139e98]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x90]
call fcn.14002cb80
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140018b80
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.140010460
nop
movdqa xmmword [rsp + 0x30], xmm6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140082250
int3
Function at 0x1400830b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rax, [0x140162ce0]
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], rax
mov rbx, r8
movups xmm0, xmmword [rsp + 0x30]
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x44], 4
movups xmmword [r8], xmm0
cmp qword [rdx + 0x18], 8
mov dword [rsp + 0x40], 0
jb 0x140083107
mov rdx, qword [rdx]
lea rax, [rsp + 0x44]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14008315a
mov dword [rsp + 0x30], eax
lea rax, [0x140166f50]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400ad9f0
add rsp, 0x60
pop rbx
ret
cmp dword [rsp + 0x40], 4
je 0x14008316b
mov dword [rsp + 0x30], 0x65d
jmp 0x140083131
cmp dword [rsp + 0x44], 4
je 0x140083181
mov edx, 1
mov rcx, rbx
call fcn.1400868f0
jmp 0x140083145
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400ad9f0
add rsp, 0x60
pop rbx
ret

Function at 0x140083340
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], 0
lea rax, [0x140162ce0]
mov qword [rsp + 0x40], rax
mov rbx, r8
movups xmm0, xmmword [rsp + 0x38]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x34], 8
movups xmmword [r8], xmm0
cmp qword [rdx + 0x18], 8
mov dword [rsp + 0x30], 0
jb 0x140083398
mov rdx, qword [rdx]
lea rax, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400833eb
mov dword [rsp + 0x38], eax
lea rax, [0x140166f50]
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx], xmm0
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400ad9f0
add rsp, 0x50
pop rbx
ret
cmp dword [rsp + 0x30], 0xb
je 0x1400833fc
mov dword [rsp + 0x38], 0x65d
jmp 0x1400833c2
cmp dword [rsp + 0x34], 8
je 0x140083412
mov edx, 1
mov rcx, rbx
call fcn.1400868f0
jmp 0x1400833d6
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400ad9f0
add rsp, 0x50
pop rbx
ret
Function at 0x140083b20
Capabilities:
Set registry value

Disassembly:
mov r10, r8
mov rcx, rdx
mov rdx, r10
mov r8, r9
jmp 0x140083b20
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rbp + 8], rax
mov rdi, rdx
mov rbx, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
mov rdx, r8
lea rcx, [rbp - 0x10]
call fcn.1400854a0
nop
mov dword [rsp + 0x30], 0
lea rax, [0x140162ce0]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
mov rcx, qword [rbp - 8]
mov r8, qword [rbp - 0x10]
sub rcx, r8
mov eax, ecx
cmp rax, rcx
jne 0x140083cbc
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140083ba5
mov rdx, qword [rdi]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r8
mov r9d, 7
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140083bd9
mov dword [rsp + 0x30], eax
lea rax, [0x140166f50]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140083c13
mov rdx, qword [rbp]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083c0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140083ce7
call fcn.1400ada10
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov r8d, 0x1e
lea rdx, str.SetMultistringFilterEmptyValue
lea rcx, [rsp + 0x50]
call fcn.14000bab0
nop
movd eax, xmm6
test eax, eax
jne 0x140083ced
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140083c90
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083c8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140083cb6
call fcn.1400ada10
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.1400ad9f0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
call fcn.1400e39e0
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
call fcn.140079930
lea rdx, [0x1401602a0]
lea rcx, [rsp + 0x30]
call fcn.1400d4390
nop
call fcn.1400e39e0
nop
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.14000a200
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14008c040
mov rbx, rax
lea r8, [0x140139e98]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.14002cb80
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140018b80
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140010460
nop
movdqa xmmword [rsp + 0x30], xmm6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140082250
int3
Function at 0x140083fc0
Capabilities:
Set registry value

Disassembly:
mov r10, r8
mov rcx, rdx
mov rdx, r10
mov r8, r9
jmp 0x140083fc0
push rbx
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
mov rbx, rdx
mov dword [rsp + 0x30], 0
lea rax, [0x140162ce0]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
mov r10, qword [r8]
mov r9, qword [r8 + 8]
sub r9, r10
mov eax, r9d
cmp rax, r9
jne 0x1400840cf
cmp qword [rdx + 0x18], 8
jb 0x14008400d
mov rdx, qword [rdx]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r10
mov r9d, 3
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14008403f
mov dword [rsp + 0x30], eax
lea rax, [0x140166f50]
mov qword [rsp + 0x38], rax
movaps xmm6, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r8d, 0xe
lea rdx, str.SetBinaryValue
lea rcx, [rsp + 0x40]
call fcn.14000bab0
nop
movd eax, xmm6
test eax, eax
jne 0x1400840fa
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400840b8
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400840b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400840c9
call fcn.1400ada10
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
ret
call fcn.1400e39e0
int3
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x60]
call fcn.140079930
lea rdx, [0x1401602a0]
lea rcx, [rsp + 0x60]
call fcn.1400d4390
nop
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14000a200
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.14008c040
mov rbx, rax
lea r8, [0x140139e98]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x98]
call fcn.14002cb80
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.140018b80
nop
lea r8, str.__failed
mov rdx, rax
lea rcx, [rsp + 0xd8]
call fcn.140010460
nop
movdqa xmmword [rsp + 0x30], xmm6
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140082250
int3

Function at 0x1400845d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov rax, qword [rcx + 0x58]
lea r15, [rcx + 0x60]
mov qword [rsp + 0x88], rsi
mov r13, r9
mov qword [rsp + 0x40], rdi
mov r14, r8
mov rbx, rdx
mov rbp, rcx
cmp qword [r14 + 0x18], 8
mov rdx, r14
jb 0x14008460d
mov rdx, qword [r14]
mov qword [rsp + 0x28], r15
lea r9, [rbp + 0x64]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140084667
cmp eax, 0xea
jne 0x14008464d
mov esi, dword [rbp + 0x60]
lea rcx, [rbp + 0x40]
mov edx, esi
call fcn.14001db60
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x60], esi
jmp 0x140084600
mov dword [rsp + 0x30], eax
lea rax, [0x140166f50]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [r13], xmm0
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x88]
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rbp
pop rbx
ret
Function at 0x140084b60
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, r8
mov dword [rsp + 0x20], 0
lea r8, [0x140162ce0]
mov eax, r9d
mov qword [rsp + 0x28], r8
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp qword [rdx + 0x18], 8
jb 0x140084b92
mov rdx, qword [rdx]
xor r9d, r9d
mov r8d, eax
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
je 0x140084bca
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x140084bc2
mov dword [rsp + 0x20], eax
lea rax, [0x140166f50]
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
xor al, al
add rsp, 0x30
pop rbx
ret
mov al, 1
add rsp, 0x30
pop rbx
ret