joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14012ea40
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
lea rax, str.Py__
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], rax
mov rbx, r9
movups xmm0, xmmword [rsp + 0x30]
mov dword [rsp + 0x40], r8d
movups xmmword [r9], xmm0
cmp qword [rdx + 0x18], 8
jb 0x14012ea75
mov rdx, qword [rdx]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14012eab2
mov dword [rsp + 0x30], eax
lea rax, [0x1402984b8]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
add rsp, 0x50
pop rbx
ret

Function at 0x14012eac0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
lea rax, str.Py__
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], rax
mov rbx, r9
movups xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], r8
movups xmmword [r9], xmm0
cmp qword [rdx + 0x18], 8
jb 0x14012eaf5
mov rdx, qword [rdx]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 8
mov r9d, 0xb
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14012eb32
mov dword [rsp + 0x30], eax
lea rax, [0x1402984b8]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
add rsp, 0x50
pop rbx
ret

Function at 0x14012eb40
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
lea rax, str.Py__
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], rax
mov rbx, r9
movups xmm0, xmmword [rsp + 0x30]
mov r10, rdx
mov rdx, r8
movups xmmword [r9], xmm0
mov r9, qword [r8 + 0x18]
cmp r9, 8
jb 0x14012eb79
mov rdx, qword [r8]
mov rax, 0xffffffffffffffff
cmp word [rdx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14012eb80
lea rdx, [rax*2 + 2]
mov eax, edx
cmp rax, rdx
jne 0x14012ebeb
cmp r9, 8
jb 0x14012eba4
mov r8, qword [r8]
cmp qword [r10 + 0x18], 8
jb 0x14012ebae
mov r10, qword [r10]
mov dword [rsp + 0x28], edx
mov r9d, 1
mov qword [rsp + 0x20], r8
mov rdx, r10
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14012ebe5
mov dword [rsp + 0x30], eax
lea rax, [0x1402984b8]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
add rsp, 0x50
pop rbx
ret
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
call fcn.1400642c0
lea rdx, [0x14028fe68]
lea rcx, [rsp + 0x30]
call fcn.1401a8f20
int3
Function at 0x14012ec20
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
lea rax, str.Py__
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], rax
mov rbx, r9
movups xmm0, xmmword [rsp + 0x30]
mov r10, rdx
mov rdx, r8
movups xmmword [r9], xmm0
mov r9, qword [r8 + 0x18]
cmp r9, 8
jb 0x14012ec59
mov rdx, qword [r8]
mov rax, 0xffffffffffffffff
cmp word [rdx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14012ec60
lea rdx, [rax*2 + 2]
mov eax, edx
cmp rax, rdx
jne 0x14012eccb
cmp r9, 8
jb 0x14012ec84
mov r8, qword [r8]
cmp qword [r10 + 0x18], 8
jb 0x14012ec8e
mov r10, qword [r10]
mov dword [rsp + 0x28], edx
mov r9d, 2
mov qword [rsp + 0x20], r8
mov rdx, r10
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14012ecc5
mov dword [rsp + 0x30], eax
lea rax, [0x1402984b8]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
add rsp, 0x50
pop rbx
ret
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
call fcn.1400642c0
lea rdx, [0x14028fe68]
lea rcx, [rsp + 0x30]
call fcn.1401a8f20
int3
Function at 0x14012efc0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rbp - 8], rax
mov r13, r9
mov r12, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rbp - 0x3c], r14d
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov qword [rbp - 0x10], r14
mov dword [rbp - 0x3c], 1
mov r15, qword [r8 + 8]
mov rsi, qword [r8]
mov rax, qword [rbp - 0x18]
cmp rsi, r15
je 0x14012f097
nop dword [rax + rax]
mov rdi, rsi
cmp qword [rsi + 0x18], 8
jb 0x14012f02f
mov rdi, qword [rsi]
jmp 0x14012f034
mov rdx, rsi
jb 0x14012f037
mov rdx, qword [rsi]
mov rcx, 0xffffffffffffffff
nop
lea rcx, [rcx + 1]
cmp word [rdx + rcx*2], 0
jne 0x14012f040
lea r14, [rcx + 1]
lea r14, [rdi + r14*2]
cmp rdi, r14
je 0x14012f08b
cmp rax, qword [rbp - 0x10]
je 0x14012f070
movzx ecx, byte [rdi]
mov byte [rax], cl
mov rax, qword [rbp - 0x18]
inc rax
mov qword [rbp - 0x18], rax
jmp 0x14012f083
mov r8, rdi
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14012fb00
mov rax, qword [rbp - 0x18]
inc rdi
cmp rdi, r14
jne 0x14012f058
add rsi, 0x20
cmp rsi, r15
jne 0x14012f020
xor r14d, r14d
mov edi, 2
nop dword [rax]
mov byte [rbp - 0x40], 0
cmp rax, qword [rbp - 0x10]
je 0x14012f0ba
mov byte [rax], 0
mov rax, qword [rbp - 0x18]
inc rax
mov qword [rbp - 0x18], rax
jmp 0x14012f0ce
lea r8, [rbp - 0x40]
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14012fb00
mov rax, qword [rbp - 0x18]
sub rdi, 1
jne 0x14012f0a0
mov dword [rbp - 0x38], r14d
lea rcx, str.Py__
mov qword [rbp - 0x30], rcx
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [r13], xmm0
mov r8, qword [rbp - 0x20]
sub rax, r8
mov ecx, eax
cmp rcx, rax
jne 0x14012f1a3
cmp qword [r12 + 0x18], 8
jb 0x14012f10a
mov r12, qword [r12]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r8
mov r9d, 7
xor r8d, r8d
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14012f143
mov dword [rbp - 0x38], eax
lea rax, [0x1402984b8]
mov qword [rbp - 0x30], rax
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [r13], xmm0
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14012f179
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012f174
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012f19d
call fcn.1401853a0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140185380
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401b3c00
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x38]
call fcn.1400642c0
lea rdx, [0x14028fe68]
lea rcx, [rbp - 0x38]
call fcn.1401a8f20
int3
Function at 0x140134040
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x40]
xor eax, eax
mov rbx, r8
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], eax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140134096
mov dword [rsp + 0x30], eax
lea rax, str.Py__
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140185380
add rsp, 0x50
pop rbx
ret

Function at 0x1401340b0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x68], rdx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx], r14
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], r14
mov edi, 1
mov dword [rsp + 0x40], edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.1401a8d80
xor edx, edx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x70], 0x104
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x80]
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140134214
mov r8d, dword [rsp + 0x70]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r14w
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.14000b550
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x1401341af
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x48], r14w
add qword [rbx + 8], 0x20
jmp 0x1401341c1
lea r8, [rsp + 0x48]
mov rcx, rbx
call fcn.1400137e0
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1401341fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401341f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013423e
call fcn.1401853a0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.1401a8d80
mov edx, edi
inc edi
jmp 0x14013411e
mov rax, rbx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140185380
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1401b3c00
int3
Function at 0x140134250
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x68], rdx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx], r14
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], r14
mov edi, 1
mov dword [rsp + 0x40], edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.1401a8d80
xor edx, edx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x70], 0x104
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x80]
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1401343b4
mov r8d, dword [rsp + 0x70]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r14w
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.14000b550
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x14013434f
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x48], r14w
add qword [rbx + 8], 0x20
jmp 0x140134361
lea r8, [rsp + 0x48]
mov rcx, rbx
call fcn.1400137e0
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14013439a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140134395
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401343de
call fcn.1401853a0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.1401a8d80
mov edx, edi
inc edi
jmp 0x1401342be
mov rax, rbx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140185380
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1401b3c00
int3

Function at 0x1401343f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14013444e
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140185380
add rsp, 0x60
pop rbx
ret
lea rdx, str.Failed_to_get_registry_value
lea rcx, [rsp + 0x30]
call fcn.140010040
nop
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.140030620
int3
Function at 0x1401344d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x50], 8
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14013452f
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140185380
add rsp, 0x70
pop rbx
ret
lea rdx, str.Failed_to_get_registry_value
lea rcx, [rsp + 0x30]
call fcn.140010040
nop
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.140030620
int3

Function at 0x140134680
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
mov r10, rdx
mov rdx, qword [r8 + 0x10]
cmp rdx, 0x7ffffffe
ja 0x140134704
mov eax, edx
cmp rax, rdx
jne 0x1401346d9
lea eax, [rdx*2 + 2]
cmp qword [r8 + 0x18], 8
jb 0x1401346ae
mov r8, qword [r8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r8
mov r9d, 1
xor r8d, r8d
mov rdx, r10
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
jne 0x140134727
add rsp, 0x50
pop rbx
ret
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
call fcn.1400642c0
lea rdx, [0x14028fe68]
lea rcx, [rsp + 0x30]
call fcn.1401a8f20
int3
lea rdx, str.Failed_to_set_registry_string_value___size_too_big
lea rcx, [rsp + 0x30]
call fcn.140030560
lea rdx, [0x14028fd98]
lea rcx, [rsp + 0x30]
call fcn.1401a8f20
int3
lea rdx, str.Failed_to_set_registry_string_value
lea rcx, [rsp + 0x30]
call fcn.140010040
nop
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.140030620
int3

Function at 0x1401349b0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], r8d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
jne 0x140134a08
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140185380
add rsp, 0x60
pop rbx
ret
lea rdx, str.Failed_to_set_registry_value_of_type_DWORD
lea rcx, [rsp + 0x30]
call fcn.140010040
nop
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.140030620
int3

Function at 0x140134a30
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], r8
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
jne 0x140134a88
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140185380
add rsp, 0x60
pop rbx
ret
lea rdx, str.Failed_to_set_registry_value_of_type_QWORD
lea rcx, [rsp + 0x30]
call fcn.140010040
nop
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.140030620
int3
Function at 0x140134ab0
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x40
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
test eax, 0xfffffffd
jne 0x140134acf
add rsp, 0x40
pop rbx
ret
lea rdx, str.Failed_to_delete_key
lea rcx, [rsp + 0x20]
call fcn.140010040
nop
lea rdx, [rsp + 0x20]
mov ecx, ebx
call fcn.140030620
int3

Function at 0x140134af0
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x40
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov ebx, eax
test eax, 0xfffffffd
jne 0x140134b0f
add rsp, 0x40
pop rbx
ret
lea rdx, str.Failed_to_delete_subtree
lea rcx, [rsp + 0x20]
call fcn.140010040
nop
lea rdx, [rsp + 0x20]
mov ecx, ebx
call fcn.140030620
int3

Function at 0x140134b30
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
test eax, eax
je 0x140134b53
cmp eax, 2
jne 0x140134b5b
xor al, al
add rsp, 0x40
pop rbx
ret
mov al, 1
add rsp, 0x40
pop rbx
ret
lea rdx, str.Failed_to_delete_value
lea rcx, [rsp + 0x20]
call fcn.140010040
nop
lea rdx, [rsp + 0x20]
mov ecx, ebx
call fcn.140030620
int3

Function at 0x140134b80
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x54]
xor r8d, r8d
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x140134be4
mov edx, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x54]
call fcn.1401338b0
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140185380
add rsp, 0x60
pop rbx
ret
lea rdx, str.Failed_to_get_registry_value_length
lea rcx, [rsp + 0x30]
call fcn.140010040
nop
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.140030620
int3
Function at 0x140134c10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xb8
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov qword [rbp - 0x61], r8
mov rbx, rdx
mov r13, rcx
mov qword [rbp - 0x19], rdx
mov dword [rbp - 0x39], r9d
xor esi, esi
test r9d, r9d
jne 0x140134c67
mov qword [rdx], rsi
mov qword [rdx + 0x10], rsi
mov qword [rdx + 0x18], 7
mov word [rdx], si
jmp 0x140134da7
shr r9d, 1
xorps xmm0, xmm0
mov word [rbp - 0x69], si
mov r12d, r9d
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], rsi
test r9d, r9d
je 0x140134cc2
lfence
lea r15, [r9 + r9]
mov rcx, r15
call fcn.140012d70
mov rdi, rax
mov qword [rbp - 0x31], rax
lea r14, [r15 + rax]
mov qword [rbp - 0x21], r14
cmp word [rbp - 0x69], si
jne 0x140134cb5
mov r8, r15
xor edx, edx
mov rcx, rax
call fcn.1401a8d80
jmp 0x140134cbe
movzx eax, si
mov rcx, r12
rep stosw word [rdi], ax
mov qword [rbp - 0x29], r14
lea rax, [rbp - 0x39]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x31]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x19]
xor r8d, r8d
mov rdx, qword [rbp - 0x61]
mov rcx, qword [r13 + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x140134e11
mov edx, dword [rbp - 0x39]
mov ecx, dword [rbp - 0x19]
call fcn.1401338b0
mov rcx, qword [rbp - 0x31]
cmp dword [rbp - 0x39], edi
je 0x140134dca
mov r8, qword [rbp - 0x29]
mov rax, r8
sub rax, rcx
sar rax, 1
cmp rax, 2
jb 0x140134dca
lea rax, [r8 - 2]
cmp word [rax], di
cmove r8, rax
mov qword [rbp - 0x29], r8
mov qword [rbp - 0x11], rsi
mov qword [rbp - 1], rsi
mov qword [rbp + 7], 7
cmp rcx, r8
je 0x140134d5c
sub r8, rcx
sar r8, 1
mov rdx, rcx
lea rcx, [rbp - 0x11]
call fcn.14000b550
mov rcx, qword [rbp - 0x31]
movups xmm0, xmmword [rbp - 0x11]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 1]
movups xmmword [rbx + 0x10], xmm1
test rcx, rcx
je 0x140134da7
mov rdx, qword [rbp - 0x21]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140134da2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140134e2e
call fcn.1401853a0
mov rax, rbx
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140185380
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
test rcx, rcx
je 0x140134da7
mov rdx, qword [rbp - 0x21]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140134da2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140134e2e
jmp 0x140134da2
lea rdx, str.Failed_to_get_registry_value_length
lea rcx, [rbp - 0x59]
call fcn.140010040
nop
lea rdx, [rbp - 0x59]
mov ecx, edi
call fcn.140030620
nop
call fcn.1401b3c00
int3
Function at 0x140135590
Capabilities:
Create pipe

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r14d, r9d
mov esi, r8d
mov rbx, rdx
mov rdi, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x1401355cc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov qword [rdi], 0
mov rcx, qword [rbx]
test rcx, rcx
je 0x1401355e2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov qword [rbx], 0
mov r9d, r14d
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x140135670
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x20]
call fcn.1401a8d80
call fcn.140138af0
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 1
lea rcx, [rsp + 0x30]
call fcn.14000f010
nop
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400d90b6.0]
cmp dword [rsp + 0x28], eax
setl byte [rbp + 0x28]
jl 0x14013565f
lea rdx, str.StdoutRd_CreatePipe
lea rcx, [rsp + 0x20]
call fcn.140012850
mov byte [rbp + 0x28], 1
lea rcx, [rsp + 0x20]
call fcn.14000afe0
xor al, al
jmp 0x140135778
mov edx, 1
mov r8d, edx
test esi, esi
jne 0x1401356fb
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x140135776
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x20]
call fcn.1401a8d80
call fcn.140138af0
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 1
lea rcx, [rsp + 0x30]
call fcn.14000f010
nop
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400d90b6.0]
cmp dword [rsp + 0x28], eax
setl byte [rbp + 0x28]
jl 0x1401356ed
lea rdx, str.Stdout_SetHandleInformation
lea rcx, [rsp + 0x20]
call fcn.1400122e0
mov byte [rbp + 0x28], 1
lea rcx, [rsp + 0x20]
call fcn.14000afe0
xor al, al
jmp 0x140135778
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x140135776
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x20]
call fcn.1401a8d80
call fcn.140138af0
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 1
lea rcx, [rsp + 0x30]
call fcn.14000f010
nop
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400d90b6.0]
cmp dword [rsp + 0x28], eax
setl byte [rbp + 0x28]
jl 0x140135768
lea rdx, str.Stdout_SetHandleInformation
lea rcx, [rsp + 0x20]
call fcn.1400122e0
mov byte [rbp + 0x28], 1
lea rcx, [rsp + 0x20]
call fcn.14000afe0
xor al, al
jmp 0x140135778
mov al, 1
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140185380
add rsp, 0x140
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret