joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004d0f8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140113980]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r11, r8
mov r15, rdx
mov r14, rcx
mov qword [rsp + 0x30], rcx
mov rdx, qword [r8 + 0x10]
add rdx, rdx
cmp qword [r8 + 0x18], 8
jb 0x14004d134
mov r9, qword [r8]
jmp 0x14004d137
mov r9, r11
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
test rdx, rdx
je 0x14004d167
movzx eax, byte [r8 + r9]
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
inc r8
cmp r8, rdx
jb 0x14004d149
mov rax, rcx
shr rax, 0x20
xor rcx, rax
mov rdx, qword [r14 + 0x28]
mov rsi, rdx
and rsi, rcx
cmp qword [r14 + 0x30], rsi
ja 0x14004d18e
shr rdx, 1
or rax, 0xffffffffffffffff
sub rax, rdx
add rsi, rax
add rsi, rsi
mov rax, qword [r14 + 0x10]
mov rbx, qword [r14]
mov rcx, qword [rax + rsi*8]
cmp rbx, rcx
je 0x14004d1f3
mov rbx, qword [rax + rsi*8 + 8]
mov rbx, qword [rbx]
cmp rbx, rcx
je 0x14004d1f3
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rcx, r11
call fcn.1400397f0
test al, al
jne 0x14004d1ce
mov rax, qword [r14 + 0x10]
cmp rbx, qword [rax + rsi*8]
jne 0x14004d1ae
jmp 0x14004d1f3
mov rdx, r11
lea rcx, [rbx + 0x10]
call fcn.1400397f0
test al, al
jne 0x14004d1e3
mov rbx, qword [rbx]
jmp 0x14004d1f3
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x14004d2d7
mov rax, qword [r14]
mov rdi, qword [rax]
mov r9, r11
mov r8, qword [rdi + 8]
mov rdx, rdi
call fcn.14004dbc0
mov rdx, rax
mov rax, qword [r14 + 8]
movabs rcx, 0x492492492492491
sub rcx, rax
cmp rcx, 1
jb 0x14004d2f1
inc rax
mov qword [r14 + 8], rax
mov qword [rdi + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
mov rdi, qword [r14]
mov rdi, qword [rdi]
mov qword [rsp + 0x20], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x14004d278
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rcx, qword [r14 + 0x10]
mov rax, qword [rcx + rsi*8]
cmp rax, qword [r14]
jne 0x14004d294
mov qword [rcx + rsi*8], rdi
mov rax, qword [r14 + 0x10]
mov qword [rax + rsi*8 + 8], rdi
jmp 0x14004d2c3
cmp rax, rbx
jne 0x14004d29f
mov qword [rcx + rsi*8], rdi
jmp 0x14004d2c3
mov rax, qword [rcx + rsi*8 + 8]
mov rdx, qword [rax]
mov qword [rcx + rsi*8 + 8], rdx
cmp rdx, rdi
je 0x14004d2c3
mov r8, qword [r14 + 0x10]
mov rax, qword [r8 + rsi*8 + 8]
mov rdx, qword [rax + 8]
mov qword [r8 + rsi*8 + 8], rdx
mov rcx, r14
call fcn.14004d304
nop
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c4a70
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
lea rcx, str.list_T__too_long
call fcn.1400a4e3c
int3
Function at 0x14004d3e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x140113980]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov rbx, rdx
mov r10, rcx
lea rdx, [r8 + 0x10]
mov r11, qword [rdx + 0x10]
add r11, r11
cmp qword [rdx + 0x18], 8
jb 0x14004d414
mov rdx, qword [rdx]
xor r9d, r9d
movabs rcx, 0xcbf29ce484222325
test r11, r11
je 0x14004d444
movzx eax, byte [rdx + r9]
movabs rdi, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, rdi
cmp r9, r11
jb 0x14004d426
mov rdx, qword [r10 + 0x28]
mov r9, rcx
shr r9, 0x20
xor r9, rcx
and r9, rdx
cmp qword [r10 + 0x30], r9
ja 0x14004d468
shr rdx, 1
or rax, 0xffffffffffffffff
sub rax, rdx
add r9, rax
mov rcx, qword [r10 + 0x10]
add r9, r9
cmp qword [rcx + r9*8 + 8], r8
jne 0x14004d497
cmp qword [rcx + r9*8], r8
jne 0x14004d48c
mov rax, qword [r10]
mov qword [rcx + r9*8], rax
mov rcx, qword [r10 + 0x10]
mov rax, qword [r10]
jmp 0x14004d490
mov rax, qword [r8 + 8]
mov qword [rcx + r9*8 + 8], rax
jmp 0x14004d4a4
cmp qword [rcx + r9*8], r8
jne 0x14004d4a4
mov rdx, qword [r8]
mov qword [rcx + r9*8], rdx
mov rdx, rbx
mov rcx, r10
call fcn.14004d4d4
mov rax, rbx
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.1400c4a70
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14004d72c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x48
mov rax, qword [0x140113980]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, r9
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov rdx, qword [r8 + 0x10]
add rdx, rdx
cmp qword [r8 + 0x18], 8
jb 0x14004d771
mov r9, qword [r8]
jmp 0x14004d774
mov r9, r14
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
test rdx, rdx
je 0x14004d7a4
movzx eax, byte [r8 + r9]
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
inc r8
cmp r8, rdx
jb 0x14004d786
mov rax, rcx
shr rax, 0x20
xor rcx, rax
mov rdx, qword [rsi + 0x28]
mov r11, rdx
and r11, rcx
cmp qword [rsi + 0x30], r11
ja 0x14004d7cb
shr rdx, 1
or rax, 0xffffffffffffffff
sub rax, rdx
add r11, rax
add r11, r11
mov rax, qword [rsi + 0x10]
mov rbx, qword [rsi]
mov rcx, qword [rax + r11*8]
cmp rbx, rcx
je 0x14004d840
mov rbx, qword [rax + r11*8 + 8]
mov rbx, qword [rbx]
cmp rbx, rcx
je 0x14004d840
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rcx, r14
call fcn.1400397f0
test al, al
jne 0x14004d80b
mov rax, qword [rsi + 0x10]
cmp rbx, qword [rax + r11*8]
jne 0x14004d7eb
jmp 0x14004d840
mov rdx, r14
lea rcx, [rbx + 0x10]
call fcn.1400397f0
test al, al
jne 0x14004d820
mov rbx, qword [rbx]
jmp 0x14004d840
mov r8, rdi
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14004d4d4
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x14004d8d4
mov rax, qword [rdi]
cmp rbx, rax
je 0x14004d875
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [rsi + 0x10]
mov rax, qword [rdx + r11*8]
cmp rax, qword [rsi]
jne 0x14004d891
mov qword [rdx + r11*8], rdi
mov rax, qword [rsi + 0x10]
mov qword [rax + r11*8 + 8], rdi
jmp 0x14004d8c0
cmp rax, rbx
jne 0x14004d89c
mov qword [rdx + r11*8], rdi
jmp 0x14004d8c0
mov rax, qword [rdx + r11*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r11*8 + 8], rcx
cmp rcx, rdi
je 0x14004d8c0
mov rdx, qword [rsi + 0x10]
mov rax, qword [rdx + r11*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r11*8 + 8], rcx
mov rcx, rsi
call fcn.14004d304
nop
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400c4a70
add rsp, 0x48
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140070f48
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140113980]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14, rdx
lea r8, str.BackupProfile::GetDeviceFolderName__
lea rdx, str.UevCommon
lea rcx, [rsp + 0x30]
call fcn.14004e088
nop
xor esi, esi
mov edi, esi
xor r8d, r8d
lea rdx, [0x1400dd700]
mov rcx, r14
call fcn.14000643c
mov dword [rsp + 0x20], 0x104
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x50]
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
jne 0x14007108a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
cmp edi, 0x800700ea
jne 0x1400710cb
mov ecx, dword [rsp + 0x20]
lea eax, [rsi + 2]
mul rcx
lea rcx, [rsi - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.1400a5d68
mov rbx, rax
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov rdx, rax
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
jne 0x14007104f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x140071079
mov edi, esi
mov r8d, dword [rsp + 0x20]
mov rdx, rbx
mov rcx, r14
call fcn.14000643c
mov r8d, 7
lea rdx, str.Success
lea rcx, [rsp + 0x70]
call fcn.14000643c
nop
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
jmp 0x1400710cb
cmp word [rbp - 0x50], si
je 0x1400710a4
lea rax, [rbp - 0x50]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], si
jne 0x140071098
mov rsi, rcx
mov r8, rsi
lea rdx, [rbp - 0x50]
mov rcx, r14
call fcn.14000643c
mov r8d, 7
lea rdx, str.Success
lea rcx, [rsp + 0x70]
call fcn.14000643c
nop
lea rcx, [rsp + 0x30]
call fcn.14004e19c
mov eax, edi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400c4a70
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140071ac4
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x140113980]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, r9
mov rdi, r8
mov r15d, edx
mov rsi, rcx
xor r12d, r12d
mov qword [rbp - 0x69], r12
mov rcx, r9
call fcn.14004f790
mov ecx, 0x200
call fcn.1400a5d68
mov rbx, rax
mov qword [rbp - 0x59], rax
test rax, rax
jne 0x140071b57
lea edi, [rax + 0xe]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x69]
call fcn.14000619c
mov eax, edi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400c4a70
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp qword [rbp - 0x69], r12
jne 0x140071cf3
cmp qword [rdi + 0x18], 8
jb 0x140071b6b
mov rdi, qword [rdi]
mov edx, r15d
mov rcx, rsi
call fcn.140071a1c
lea rcx, [rbp - 0x69]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140071b1d
mov esi, r12d
mov dword [rbp - 0x61], 0x100
mov rcx, qword [rbp - 0x69]
test rcx, rcx
setne al
test al, al
je 0x140071cc4
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x61]
mov r8, rbx
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140071c91
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], r12
mov word [rbp - 9], r12w
cmp word [rbx], r12w
jne 0x140071c0f
mov r8, r12
jmp 0x140071c1d
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], r12w
jne 0x140071c13
mov rdx, rbx
lea rcx, [rbp - 9]
call fcn.14000643c
nop
mov r15, qword [r14]
lea r9, [rbp - 9]
mov r8, qword [r15 + 8]
mov rdx, r15
call fcn.140078c4c
mov rdx, qword [r14 + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x140071cb7
lea rcx, [rdx + 1]
mov qword [r14 + 8], rcx
mov qword [r15 + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
cmp qword [rbp + 0xf], 8
jb 0x140071c7e
mov rcx, qword [rbp - 9]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
inc esi
cmp esi, 0x1000
jb 0x140071ba7
jmp 0x140071b1d
cmp eax, 0x103
jne 0x140071caa
mov edi, 2
cmp qword [r14 + 8], r12
cmova edi, r12d
jmp 0x140071b1d
mov rcx, r14
call fcn.14004f790
jmp 0x140071b1d
lea rcx, str.list_T__too_long
call fcn.1400a4e3c
nop
lea rdx, str.Attempting_to_use_an_invalid_handle.
lea rcx, [rbp - 9]
call fcn.14000621c
nop
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x49]
call fcn.140005ab4
lea rdx, [0x1401096d0]
lea rcx, [rbp - 0x49]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, str.Attempting_to_assign_an_already_valid_handle.
lea rcx, [rbp - 9]
call fcn.14000621c
nop
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x49]
call fcn.140005ab4
lea rdx, [0x1401096d0]
lea rcx, [rbp - 0x49]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x140071d28
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd0
mov rax, qword [0x140113980]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rdi, r8
mov r15d, edx
mov rsi, rcx
mov r14, qword [rbp + 0x7f]
xor r12d, r12d
mov qword [rbp - 0x71], r12
mov rcx, r14
call fcn.14004f790
mov ecx, 0x8000
call fcn.1400a5d68
mov rbx, rax
mov qword [rbp - 0x61], rax
test rax, rax
jne 0x140071dbc
lea edi, [rax + 0xe]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x71]
call fcn.14000619c
mov eax, edi
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1400c4a70
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp qword [rbp - 0x71], r12
jne 0x140071f66
cmp qword [rdi + 0x18], 8
jb 0x140071dd0
mov rdi, qword [rdi]
mov edx, r15d
mov rcx, rsi
call fcn.140071a1c
lea rcx, [rbp - 0x71]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140071d82
mov esi, r12d
mov dword [rbp - 0x69], 0x4000
mov rcx, qword [rbp - 0x71]
test rcx, rcx
setne al
test al, al
je 0x140071f37
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea rax, [rbp - 0x65]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x69]
mov r8, rbx
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140071f04
cmp dword [rbp - 0x65], 1
jne 0x140071ef1
mov qword [rbp + 7], 7
mov qword [rbp - 1], r12
mov word [rbp - 0x11], r12w
cmp word [rbx], r12w
jne 0x140071e82
mov r8, r12
jmp 0x140071e90
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], r12w
jne 0x140071e86
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.14000643c
nop
mov r15, qword [r14]
lea r9, [rbp - 0x11]
mov r8, qword [r15 + 8]
mov rdx, r15
call fcn.140078c4c
mov rdx, qword [r14 + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x140071f2a
lea rcx, [rdx + 1]
mov qword [r14 + 8], rcx
mov qword [r15 + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
cmp qword [rbp + 7], 8
jb 0x140071ef1
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
inc esi
cmp esi, 0x1000
jae 0x140071d82
jmp 0x140071e0c
cmp eax, 0x103
jne 0x140071f1d
mov edi, 2
cmp qword [r14 + 8], r12
cmova edi, r12d
jmp 0x140071d82
mov rcx, r14
call fcn.14004f790
jmp 0x140071d82
lea rcx, str.list_T__too_long
call fcn.1400a4e3c
nop
lea rdx, str.Attempting_to_use_an_invalid_handle.
lea rcx, [rbp - 0x11]
call fcn.14000621c
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x51]
call fcn.140005ab4
lea rdx, [0x1401096d0]
lea rcx, [rbp - 0x51]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, str.Attempting_to_assign_an_already_valid_handle.
lea rcx, [rbp - 0x11]
call fcn.14000621c
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x51]
call fcn.140005ab4
lea rdx, [0x1401096d0]
lea rcx, [rbp - 0x51]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x140072a70
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r14
sub rsp, 0x50
mov rcx, qword [rsp + 0x90]
mov rbx, r8
mov rdi, rdx
xor ebp, ebp
xor r8d, r8d
mov qword [rax - 0x28], rbp
lea rdx, [0x1400dd700]
mov r14, r9
call fcn.14000643c
mov rsi, qword [rsp + 0x98]
mov dword [rsi], ebp
cmp qword [rbx + 0x18], 8
jb 0x140072ac2
mov rbx, qword [rbx]
mov rcx, qword [rdi]
lea rax, [rsp + 0x40]
mov r9d, 0x20119
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
mov dword [rsi], eax
sete dil
test eax, eax
jne 0x140072bc2
mov eax, 0x104
or r12, 0xffffffffffffffff
mov dword [rsp + 0x98], eax
mov ecx, eax
mov eax, 2
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.1400a5d68
cmp qword [r14 + 0x18], 8
mov rbx, rax
jb 0x140072b2c
mov r8, qword [r14]
jmp 0x140072b2f
mov r8, r14
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x30], rax
xor edx, edx
mov qword [rsp + 0x28], rbx
mov r9d, 0xffff
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
mov dword [rsi], eax
test eax, eax
jne 0x140072b8e
cmp word [rbx], bp
jne 0x140072b6f
mov r8, rbp
jmp 0x140072b7c
mov r8, r12
inc r8
cmp word [rbx + r8*2], bp
jne 0x140072b72
mov rcx, qword [rsp + 0x90]
mov rdx, rbx
call fcn.14000643c
jmp 0x140072b9a
cmp eax, 0xea
movzx edi, dil
cmovne edi, ebp
test rbx, rbx
je 0x140072bae
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
cmp dword [rsi], 0xea
jne 0x140072bc2
mov eax, dword [rsp + 0x98]
jmp 0x140072b07
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140072bd8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
lea r11, [rsp + 0x50]
mov al, dil
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rdi
ret
Function at 0x140072c00
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r14
sub rsp, 0x60
mov rsi, qword [rsp + 0x98]
mov rdi, r9
and qword [rax - 0x18], 0
mov rbx, r8
mov r14, rdx
and dword [rsi], 0
cmp qword [r8 + 0x18], 8
jb 0x140072c3a
mov rdx, qword [r8]
jmp 0x140072c3d
mov rdx, rbx
mov rcx, qword [r14]
lea rax, [rsp + 0x50]
mov r9d, 0x20106
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov dword [rsi], eax
cmp eax, 2
jne 0x140072cb6
cmp qword [rbx + 0x18], 8
jb 0x140072c70
mov rbx, qword [rbx]
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov rcx, qword [r14]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
and qword [rsp + 0x30], 0
mov rdx, rbx
mov dword [rsp + 0x28], 0x2011b
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
mov dword [rsi], eax
sete bl
test eax, eax
jne 0x140072d03
mov rax, qword [rsp + 0x90]
mov ecx, dword [rax + 0x10]
add ecx, ecx
cmp qword [rax + 0x18], 8
jb 0x140072ccd
mov rax, qword [rax]
cmp qword [rdi + 0x18], 8
jb 0x140072cd7
mov rdi, qword [rdi]
mov dword [rsp + 0x28], ecx
mov r9d, 1
mov rcx, qword [rsp + 0x50]
mov r8, rdi
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
nop dword [rax + rax]
test eax, eax
mov dword [rsi], eax
sete bl
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140072d19
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
lea r11, [rsp + 0x60]
mov al, bl
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x140072d40
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x50
mov rcx, qword [rsp + 0x90]
mov rbx, r8
mov rdi, rdx
xor ebp, ebp
xor r8d, r8d
mov qword [rax - 0x28], rbp
lea rdx, [0x1400dd700]
mov r15, r9
call fcn.14000643c
mov r14, qword [rsp + 0x98]
mov dword [r14], ebp
cmp qword [rbx + 0x18], 8
jb 0x140072d98
mov rbx, qword [rbx]
mov rcx, qword [rdi]
lea rax, [rsp + 0x40]
mov r9d, 0x20119
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
mov dword [r14], eax
sete sil
test eax, eax
jne 0x140072eaa
movzx edi, byte [rsp + 0xa0]
mov eax, 0x104
xor edi, 1
mov dword [rsp + 0x98], eax
shl edi, 0x1c
or r13, 0xffffffffffffffff
mov ecx, eax
mov eax, 2
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.1400a5d68
cmp qword [r15 + 0x18], 8
mov rbx, rax
jb 0x140072e11
mov r8, qword [r15]
jmp 0x140072e14
mov r8, r15
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x30], rax
lea r9d, [rdi + 0xffff]
mov qword [rsp + 0x28], rbx
xor edx, edx
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
mov dword [r14], eax
test eax, eax
jne 0x140072e75
cmp word [rbx], bp
jne 0x140072e56
mov r8, rbp
jmp 0x140072e63
mov r8, r13
inc r8
cmp word [rbx + r8*2], bp
jne 0x140072e59
mov rcx, qword [rsp + 0x90]
mov rdx, rbx
call fcn.14000643c
jmp 0x140072e81
cmp eax, 0xea
movzx esi, sil
cmovne esi, ebp
test rbx, rbx
je 0x140072e95
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
cmp dword [r14], 0xea
jne 0x140072eaa
mov eax, dword [rsp + 0x98]
jmp 0x140072dec
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140072ec0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
lea r11, [rsp + 0x50]
mov al, sil
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
Function at 0x140072ef0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r14
sub rsp, 0x60
mov rsi, qword [rsp + 0x98]
mov rdi, r9
and qword [rax - 0x18], 0
mov rbx, r8
mov r14, rdx
and dword [rsi], 0
cmp qword [r8 + 0x18], 8
jb 0x140072f2a
mov rdx, qword [r8]
jmp 0x140072f2d
mov rdx, rbx
mov rcx, qword [r14]
lea rax, [rsp + 0x50]
mov r9d, 0x20106
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov dword [rsi], eax
cmp eax, 2
jne 0x140072fa6
cmp qword [rbx + 0x18], 8
jb 0x140072f60
mov rbx, qword [rbx]
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov rcx, qword [r14]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
and qword [rsp + 0x30], 0
mov rdx, rbx
mov dword [rsp + 0x28], 0x2011b
and dword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
mov dword [rsi], eax
sete bl
test eax, eax
jne 0x140072ff3
mov rax, qword [rsp + 0x90]
mov ecx, dword [rax + 0x10]
add ecx, ecx
cmp qword [rax + 0x18], 8
jb 0x140072fbd
mov rax, qword [rax]
cmp qword [rdi + 0x18], 8
jb 0x140072fc7
mov rdi, qword [rdi]
mov dword [rsp + 0x28], ecx
mov r9d, 2
mov rcx, qword [rsp + 0x50]
mov r8, rdi
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
nop dword [rax + rax]
test eax, eax
mov dword [rsi], eax
sete bl
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140073009
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
lea r11, [rsp + 0x60]
mov al, bl
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret

Function at 0x140073030
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
push r14
sub rsp, 0x50
mov rsi, qword [rsp + 0x80]
mov rbx, r9
mov r14, qword [rsp + 0x88]
mov rax, r8
and qword [r11 - 0x18], 0
mov r10, rdx
and dword [rsi], 0
and dword [r14], 0
cmp qword [r8 + 0x18], 8
jb 0x140073074
mov rax, qword [r8]
lea rcx, [rsp + 0x40]
mov r9d, 0x20119
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [r10]
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
mov dword [r14], eax
sete dil
test eax, eax
jne 0x14007310d
cmp qword [rbx + 0x18], 8
mov dword [rsp + 0x80], 4
jb 0x1400730bb
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov r9d, 0x18
lea rax, [rsp + 0x88]
mov r8, rbx
mov qword [rsp + 0x28], rax
xor edx, edx
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
mov dword [r14], eax
sete dil
test eax, eax
jne 0x14007310d
mov ecx, dword [rsp + 0x88]
mov dword [rsi], ecx
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140073123
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x60]
mov al, dil
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop r14
ret