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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
cmp qword [rdx + 0x18], 8
mov r9, qword [rdx + 0x10]
jb 0x140044d23
mov rdx, qword [rdx]
xor r8d, r8d
movabs rcx, 0xcbf29ce484222325
add r9, r9
je 0x140044d53
movzx eax, byte [rdx + r8]
movabs r10, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r10
cmp r8, r9
jb 0x140044d35
mov rax, rcx
mov edx, 0x1f31d
shr rax, 0x20
xor ecx, eax
btr ecx, 0x1f
call qword [sym.imp.msvcrt.dll_ldiv]
nop dword [rax + rax]
mov qword [rsp + 0x30], rax
shr rax, 0x20
imul ecx, eax, 0x41a7
imul eax, dword [rsp + 0x30], 0xb14
sub ecx, eax
jns 0x140044d92
add ecx, 0x7fffffff
movsxd rax, ecx
add rsp, 0x28
ret

Function at 0x140049ca8
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x140049e40
cmp ecx, 0x7c
je 0x140049e40
cmp ecx, 0x29
jne 0x140049ceb
cmp dword [rbx + 0x1c], 0
jne 0x140049e40
test dword [rbx + 0x80], 0x10000000
je 0x140049e62
cmp ecx, 0x2e
jne 0x140049d0b
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.140049f88
mov rcx, rbx
call fcn.140049c40
jmp 0x140049e2e
cmp ecx, 0x5c
jne 0x140049d6f
mov rcx, rbx
call fcn.140049c40
test byte [rbx + 0x80], 0x80
je 0x140049d62
cmp word [rbx + 0x78], 0x62
jne 0x140049d43
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.140049f88
mov rcx, rbx
call fcn.140049c40
jmp 0x140049e36
cmp word [rbx + 0x78], 0x42
jne 0x140049d62
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.140049f88
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x140049d36
mov rcx, rbx
call fcn.14004a60c
jmp 0x140049e2e
cmp ecx, 0x5b
jne 0x140049d93
mov rcx, rbx
call fcn.140049c40
mov rcx, rbx
call fcn.14004a4b4
cmp dword [rbx + 0x7c], 0x5d
jne 0x140049e4c
jmp 0x140049cfe
cmp ecx, 0x28
jne 0x140049db7
mov rcx, rbx
call fcn.140049c40
mov rcx, rbx
call fcn.14004a790
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x140049e57
jmp 0x140049e21
cmp ecx, 0x5e
jne 0x140049dc4
lea edx, [rcx - 0x5c]
jmp 0x140049d2d
cmp ecx, 0x24
jne 0x140049dd1
lea edx, [rcx - 0x21]
jmp 0x140049d2d
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x140049e83
cmp ecx, 0x3f
je 0x140049e83
cmp ecx, 0x7b
je 0x140049e83
cmp ecx, 0x7d
jne 0x140049e00
test dword [rbx + 0x80], 0x10000000
je 0x140049e6d
cmp ecx, 0x5d
jne 0x140049e11
test dword [rbx + 0x80], 0x10000000
je 0x140049e78
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14004aa68
mov dil, 1
mov rcx, rbx
call fcn.140049c40
test dil, dil
je 0x140049e36
mov rcx, rbx
call fcn.14004a960
mov ecx, dword [rbx + 0x7c]
mov al, 1
jmp 0x140049cba
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 4
call fcn.1400493ec
int3
mov edx, 5
call fcn.1400493ec
int3
mov edx, 5
call fcn.1400493ec
int3
mov edx, 6
call fcn.1400493ec
int3
mov edx, 4
call fcn.1400493ec
int3
mov edx, 0xa
call fcn.1400493ec
int3
Function at 0x14004d2cc
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp - 0x59], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x140120c80]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r15, r8
mov rsi, rdx
mov qword [rbp + 0x17], rdx
mov ecx, 0x18
call fcn.1400a0910
mov rdi, rax
mov qword [rbp + 7], rax
xor r13d, r13d
test rax, rax
je 0x14004d32f
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
jmp 0x14004d332
mov rdi, r13
mov qword [rbp - 0x51], rdi
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
lea rax, [rbp + 0x17]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xf]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
test eax, eax
jne 0x14004d487
mov r12d, dword [rbp + 0x17]
inc r12d
mov ecx, r12d
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400a1a90
mov rbx, rax
mov qword [rbp - 0x49], rax
mov r14d, r13d
cmp dword [rbp + 0xf], r13d
jbe 0x14004d44a
mov dword [rbp + 7], r12d
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp + 7]
mov r8, rbx
mov edx, r14d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14004d4ce
mov r8d, dword [rbp + 7]
mov qword [rbp - 0x61], 7
mov qword [rbp - 0x69], r13
mov word [rbp - 0x79], r13w
mov rdx, rbx
lea rcx, [rbp - 0x79]
call fcn.1400064bc
nop
lea rdx, [rbp - 0x79]
mov rcx, rdi
call fcn.140043ccc
nop
cmp qword [rbp - 0x61], 8
jb 0x14004d43d
mov rcx, qword [rbp - 0x79]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
inc r14d
cmp r14d, dword [rbp + 0xf]
jb 0x14004d3be
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov qword [rsi], rdi
mov rax, rsi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400be470
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test byte [0x140121dc0], 2
je 0x14004d49f
mov r8d, eax
lea rdx, [0x1400d6630]
call fcn.140007cf4
lea rdx, str.Unable_to_query_template_index.
lea rcx, [rbp - 0x79]
call fcn.1400062c8
nop
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x39]
call fcn.14004cef8
lea rdx, [0x140117c70]
lea rcx, [rbp - 0x39]
call sub.msvcrt.dll__CxxThrowException
nop
test byte [0x140121dc0], 2
je 0x14004d4e6
mov r8d, eax
lea rdx, [0x1400d63d0]
call fcn.140007cf4
lea rdx, str.Unable_to_enumerate_template_index_subkeys.
lea rcx, [rbp - 0x79]
call fcn.1400062c8
nop
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x39]
call fcn.14004cef8
lea rdx, [0x140117c70]
lea rcx, [rbp - 0x39]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x14004de2c
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
mov rsi, rdx
mov r15, rcx
xor ebp, ebp
mov r12d, 0x811c9dc5
mov r14, qword [rdx + 0x10]
movabs rax, 0xcccccccccccccccd
mul r14
mov rdi, rdx
shr rdi, 3
inc rdi
test r14, r14
je 0x14004df09
mov cl, 1
call fcn.1400a1160
mov qword [rsp + 0x60], rax
cmp qword [rsi + 0x18], 8
jb 0x14004de96
mov rax, qword [rsi]
jmp 0x14004de99
mov rax, rsi
movzx ebx, word [rax + rbp*2]
lea rcx, [rsp + 0x60]
call fcn.140006a58
mov r8, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x40]
movzx edx, bx
mov rcx, r8
call qword [0x1400d12d8]
movzx ecx, ax
imul r12, r12, 0x1000193
xor r12, rcx
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14004defd
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400d12d8]
mov r8, rax
test rax, rax
je 0x14004defd
mov rcx, qword [rax]
mov rax, qword [rcx]
mov edx, 1
mov rcx, r8
call qword [0x1400d12d8]
add rbp, rdi
cmp rbp, r14
jb 0x14004de7e
mov rdx, qword [r15 + 0x28]
mov rax, rdx
and rax, r12
cmp qword [r15 + 0x30], rax
ja 0x14004df26
shr rdx, 1
or rcx, 0xffffffffffffffff
sub rcx, rdx
add rax, rcx
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14004df44
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x140120c80]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r11, r8
mov r15, rdx
mov r14, rcx
mov qword [rsp + 0x30], rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14004df84
mov r8, qword [r8]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
add r9, r9
je 0x14004dfb3
movzx eax, byte [r8 + rdx]
xor rcx, rax
movabs r10, 0x100000001b3
imul rcx, r10
inc rdx
cmp rdx, r9
jb 0x14004df95
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 0x14004dfda
shr rdx, 1
or rax, 0xffffffffffffffff
sub rax, rdx
add rsi, rax
mov rbx, qword [r14]
add rsi, rsi
mov rax, qword [r14 + 0x10]
mov rcx, qword [rax + rsi*8]
cmp rbx, rcx
je 0x14004e03f
mov rbx, qword [rax + rsi*8 + 8]
mov rbx, qword [rbx]
cmp rbx, rcx
je 0x14004e03f
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rcx, r11
call fcn.14003b32c
test al, al
jne 0x14004e01a
mov rax, qword [r14 + 0x10]
cmp rbx, qword [rax + rsi*8]
jne 0x14004dffa
jmp 0x14004e03f
mov rdx, r11
lea rcx, [rbx + 0x10]
call fcn.14003b32c
test al, al
jne 0x14004e02f
mov rbx, qword [rbx]
jmp 0x14004e03f
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x14004e124
mov rax, qword [r14]
mov rdi, qword [rax]
mov r9, r11
mov r8, qword [rdi + 8]
mov rdx, rdi
call fcn.14004ea2c
mov rdx, rax
mov rax, qword [r14 + 8]
movabs rcx, 0x492492492492491
sub rcx, rax
cmp rcx, 1
jb 0x14004e13e
inc rax
mov qword [r14 + 8], rax
mov qword [rdi + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
mov rdx, qword [r14]
mov rdi, qword [rdx]
mov qword [rsp + 0x20], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x14004e0c7
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 [r14]
mov rcx, qword [r14 + 0x10]
cmp qword [rcx + rsi*8], rdx
jne 0x14004e0e0
mov qword [rcx + rsi*8], rdi
mov rax, qword [r14 + 0x10]
mov qword [rax + rsi*8 + 8], rdi
jmp 0x14004e110
cmp qword [rcx + rsi*8], rbx
jne 0x14004e0ec
mov qword [rcx + rsi*8], rdi
jmp 0x14004e110
mov rax, qword [rcx + rsi*8 + 8]
mov rdx, qword [rax]
mov qword [rcx + rsi*8 + 8], rdx
cmp rdx, rdi
je 0x14004e110
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.14004e154
nop
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400be470
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
lea rcx, str.list_T__too_long
call fcn.1400a0c2c
int3
Function at 0x14004e230
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x140120c80]
xor rax, rsp
mov qword [rsp + 0x20], rax
lea rsi, [r8 + 0x10]
mov rbx, r8
cmp qword [rsi + 0x18], 8
mov r15, rdx
mov r9, qword [rsi + 0x10]
mov r14, rcx
jb 0x14004e26c
mov r8, qword [rsi]
jmp 0x14004e26f
mov r8, rsi
xor ebp, ebp
movabs rcx, 0xcbf29ce484222325
mov edx, ebp
add r9, r9
je 0x14004e2a0
movzx eax, byte [r8 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r10
cmp rdx, r9
jb 0x14004e282
mov r8, qword [r14 + 0x28]
mov rdx, rcx
shr rdx, 0x20
xor rdx, rcx
and rdx, r8
cmp qword [r14 + 0x30], rdx
ja 0x14004e2c4
shr r8, 1
or rax, 0xffffffffffffffff
sub rax, r8
add rdx, rax
mov rcx, qword [r14 + 0x10]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x14004e2f3
cmp qword [rcx + rdx*8], rbx
jne 0x14004e2e8
mov rax, qword [r14]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r14 + 0x10]
mov rax, qword [r14]
jmp 0x14004e2ec
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14004e300
cmp qword [rcx + rdx*8], rbx
jne 0x14004e300
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rdi, qword [rbx]
cmp rbx, qword [r14]
je 0x14004e352
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
cmp qword [rsi + 0x18], 8
jb 0x14004e330
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rsi + 0x18], 7
mov rcx, rbx
mov qword [rsi + 0x10], rbp
mov word [rsi], bp
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
dec qword [r14 + 8]
mov qword [r15], rdi
mov rax, r15
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.1400be470
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004e534
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x140120c80]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, r9
mov r15, r8
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov rax, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14004e581
mov rdx, qword [r8]
jmp 0x14004e584
mov rdx, r15
movabs r11, 0xcbf29ce484222325
lea r8, [rax + rax]
xor r13d, r13d
mov ecx, r13d
test r8, r8
je 0x14004e5ba
movzx eax, byte [rdx + rcx]
xor r11, rax
movabs r9, 0x100000001b3
imul r11, r9
inc rcx
cmp rcx, r8
jb 0x14004e59d
mov rax, r11
shr rax, 0x20
xor r11, rax
mov rcx, qword [rsi + 0x28]
and r11, rcx
cmp qword [rsi + 0x30], r11
ja 0x14004e5de
shr rcx, 1
or rax, 0xffffffffffffffff
sub rax, rcx
add r11, rax
mov rdi, qword [rsi]
add r11, r11
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax + r11*8]
cmp rdi, rcx
je 0x14004e69f
mov rdi, qword [rax + r11*8 + 8]
mov rdi, qword [rdi]
cmp rdi, rcx
je 0x14004e69f
mov rdi, qword [rdi + 8]
lea rdx, [rdi + 0x10]
mov rcx, r15
call fcn.14003b32c
test al, al
jne 0x14004e626
mov rax, qword [rsi + 0x10]
cmp rdi, qword [rax + r11*8]
jne 0x14004e606
jmp 0x14004e69f
mov rdx, r15
lea rcx, [rdi + 0x10]
call fcn.14003b32c
test al, al
jne 0x14004e63b
mov rdi, qword [rdi]
jmp 0x14004e69f
cmp rbx, qword [rsi]
je 0x14004e690
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
cmp qword [rbx + 0x28], 8
jb 0x14004e66c
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbx + 0x28], 7
mov qword [rbx + 0x20], r13
mov word [rbx + 0x10], r13w
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
dec qword [rsi + 8]
mov qword [r14], rdi
mov byte [r14 + 8], r13b
mov rax, r14
jmp 0x14004e733
mov rax, qword [rbx]
cmp rdi, rax
je 0x14004e6d4
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx + r11*8]
cmp rax, qword [rsi]
jne 0x14004e6f0
mov qword [rcx + r11*8], rbx
mov rax, qword [rsi + 0x10]
mov qword [rax + r11*8 + 8], rbx
jmp 0x14004e71f
cmp rax, rdi
jne 0x14004e6fb
mov qword [rcx + r11*8], rbx
jmp 0x14004e71f
mov rax, qword [rcx + r11*8 + 8]
mov rdx, qword [rax]
mov qword [rcx + r11*8 + 8], rdx
cmp rdx, rbx
je 0x14004e71f
mov r8, qword [rsi + 0x10]
mov rax, qword [r8 + r11*8 + 8]
mov rdx, qword [rax + 8]
mov qword [r8 + r11*8 + 8], rdx
mov rcx, rsi
call fcn.14004e154
nop
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400be470
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14006fd10
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1f8]
sub rsp, 0x2e0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140120c80]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r14, rdx
lea r8, str.BackupProfile::GetDeviceFolderName__
lea rdx, str.UevCommon
lea rcx, [rsp + 0x40]
call fcn.14004ef18
nop
xor esi, esi
mov edi, esi
xor r8d, r8d
lea rdx, [0x1400d7060]
mov rcx, r14
call fcn.1400064bc
mov dword [rsp + 0x30], 0x104
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x40]
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
jne 0x14006fe5a
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 0x14006fe9a
mov ecx, dword [rsp + 0x30]
lea eax, [rsi + 2]
mul rcx
lea rcx, [rsi - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.1400a1a90
mov rbx, rax
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x30]
mov rdx, rax
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
jne 0x14006fe20
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14006fe49
mov edi, esi
mov r8d, dword [rsp + 0x30]
mov rdx, rbx
mov rcx, r14
call fcn.1400064bc
mov r8d, 7
lea rdx, str.Success
lea rcx, [rbp - 0x80]
call fcn.1400064bc
nop
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
jmp 0x14006fe9a
cmp word [rbp - 0x40], si
je 0x14006fe74
lea rax, [rbp - 0x40]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], si
jne 0x14006fe68
mov rsi, rcx
mov r8, rsi
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.1400064bc
mov r8d, 7
lea rdx, str.Success
lea rcx, [rbp - 0x80]
call fcn.1400064bc
nop
lea rcx, [rsp + 0x40]
call fcn.14004f034
mov eax, edi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400be470
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140070768
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 qword [rbp - 0x59], 0xfffffffffffffffe
mov rax, qword [0x140120c80]
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.140050824
mov ecx, 0x200
call fcn.1400a1a90
mov rbx, rax
mov qword [rbp - 0x51], rax
test rax, rax
jne 0x140070803
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.140006264
mov eax, edi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400be470
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp qword [rbp - 0x69], r12
jne 0x14007099f
cmp qword [rdi + 0x18], 8
jb 0x140070817
mov rdi, qword [rdi]
mov edx, r15d
mov rcx, rsi
call fcn.1400706dc
mov rcx, rax
lea rax, [rbp - 0x69]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x1400707c9
mov esi, r12d
mov dword [rbp - 0x61], 0x100
mov rcx, qword [rbp - 0x69]
test rcx, rcx
setne al
test al, al
je 0x140070970
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 0x14007093d
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], r12
mov word [rbp - 9], r12w
cmp word [rbx], r12w
jne 0x1400708bb
mov r8, r12
jmp 0x1400708c9
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], r12w
jne 0x1400708bf
mov rdx, rbx
lea rcx, [rbp - 9]
call fcn.1400064bc
nop
mov r15, qword [r14]
lea r9, [rbp - 9]
mov r8, qword [r15 + 8]
mov rdx, r15
call fcn.140077258
mov rdx, qword [r14 + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x140070963
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 0x14007092a
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 0x140070853
jmp 0x1400707c9
cmp eax, 0x103
jne 0x140070956
mov edi, 2
cmp qword [r14 + 8], r12
cmova edi, r12d
jmp 0x1400707c9
mov rcx, r14
call fcn.140050824
jmp 0x1400707c9
lea rcx, str.list_T__too_long
call fcn.1400a0c2c
nop
lea rdx, str.Attempting_to_use_an_invalid_handle.
lea rcx, [rbp - 9]
call fcn.1400062c8
nop
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x49]
call fcn.140005ae4
lea rdx, [0x140116d40]
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.1400062c8
nop
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x49]
call fcn.140005ae4
lea rdx, [0x140116d40]
lea rcx, [rbp - 0x49]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x140071660
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, [0x1400d7060]
mov r14, r9
call fcn.1400064bc
mov rsi, qword [rsp + 0x98]
mov dword [rsi], ebp
cmp qword [rbx + 0x18], 8
jb 0x1400716b2
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 0x1400717b2
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.1400a1a90
cmp qword [r14 + 0x18], 8
mov rbx, rax
jb 0x14007171c
mov r8, qword [r14]
jmp 0x14007171f
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 0x14007177e
cmp word [rbx], bp
jne 0x14007175f
mov r8, rbp
jmp 0x14007176c
mov r8, r12
inc r8
cmp word [rbx + r8*2], bp
jne 0x140071762
mov rcx, qword [rsp + 0x90]
mov rdx, rbx
call fcn.1400064bc
jmp 0x14007178a
cmp eax, 0xea
movzx edi, dil
cmovne edi, ebp
test rbx, rbx
je 0x14007179e
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
cmp dword [rsi], 0xea
jne 0x1400717b2
mov eax, dword [rsp + 0x98]
jmp 0x1400716f7
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400717c8
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 0x1400717f0
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 0x14007182a
mov rdx, qword [r8]
jmp 0x14007182d
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 0x1400718a6
cmp qword [rbx + 0x18], 8
jb 0x140071860
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 0x1400718f4
mov rcx, qword [rsp + 0x90]
cmp qword [rcx + 0x18], 8
mov rax, qword [rcx + 0x10]
jb 0x1400718bc
mov rcx, qword [rcx]
cmp qword [rdi + 0x18], 8
jb 0x1400718c6
mov rdi, qword [rdi]
add eax, eax
mov r9d, 1
mov dword [rsp + 0x28], eax
mov r8, rdi
mov qword [rsp + 0x20], rcx
xor edx, edx
mov rcx, qword [rsp + 0x50]
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 0x14007190a
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