joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140042cb0
Capabilities:
Delete registry key

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x2e0
mov qword [rbp - 0x2b8], rbx
mov qword [rbp - 0x2b0], rsi
mov qword [rbp - 0x2a8], rdi
mov qword [rbp - 0x2a0], r12
mov qword [rbp - 0x298], r13
mov qword [rbp - 0x290], r14
mov qword [rbp - 0x288], r15
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov ecx, dword [rbp + 0x10]
call fcn.14005aa30
test al, al
je 0x140042dc6
call fcn.14005aa50
mov rax, qword [rbp + 0x18]
mov rdx, qword [rax + 8]
mov rax, qword [rax]
mov qword [rbp - 0x260], rax
mov qword [rbp - 0x258], rdx
lea rdx, [rbp - 0x260]
lea rcx, [rbp - 0x120]
call fcn.14000f370
xor r9d, r9d
mov r8d, dword [rbp + 0x10]
mov qword [rbp - 0x280], r8
mov qword [rbp - 0x278], r9
lea rcx, [rbp - 0x120]
sub rsp, 0x20
call fcn.1400028b0
add rsp, 0x20
mov rdx, rax
mov r9, qword [rbp - 0x278]
mov r8, qword [rbp - 0x280]
mov rcx, qword [rbp + 0x20]
sub rsp, 0x20
mov eax, dword [0x14022e258]
mov rbx, qword gs:[0x58]
mov rsi, qword [rbx + rax*8]
mov edi, 0x158
call qword [rsi + rdi]
add rsp, 0x20
mov dword [rbp - 0x10], eax
sub rsp, 8
call fcn.140042dac
add rsp, 8
jmp 0x140042dc1
mov esi, dword [rbp - 0x10]
jmp 0x140042e18
mov rax, qword [rbp + 0x18]
mov rdx, qword [rax + 8]
mov rax, qword [rax]
mov qword [rbp - 0x250], rax
mov qword [rbp - 0x248], rdx
lea rdx, [rbp - 0x250]
lea rcx, [rbp - 0x230]
call fcn.14000f370
lea rcx, [rbp - 0x230]
call fcn.1400028b0
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call sub.ADVAPI32.dll_RegDeleteKeyW
mov esi, eax
lea rcx, [rbp - 0x230]
call fcn.1400028c0
mov r9d, esi
mov rax, rbp
mov qword [rbp - 0x270], rax
lea rdx, [0x140042eb0]
mov qword [rbp - 0x268], rdx
lea r8, [rbp - 0x270]
lea rcx, str.stdwindows_registry.d
mov qword [rbp - 0x238], rcx
mov qword [rbp - 0x240], 0x16
lea rdx, [rbp - 0x240]
mov ecx, 0x163
sub rsp, 0x20
call fcn.1400426e0
add rsp, 0x20
mov rbx, qword [rbp - 0x2b8]
mov rsi, qword [rbp - 0x2b0]
mov rdi, qword [rbp - 0x2a8]
mov r12, qword [rbp - 0x2a0]
mov r13, qword [rbp - 0x298]
mov r14, qword [rbp - 0x290]
mov r15, qword [rbp - 0x288]
mov rsp, rbp
pop rbp
ret
Function at 0x140042f40
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x1c0
mov qword [rbp - 0x198], rbx
mov qword [rbp - 0x190], rsi
mov qword [rbp - 0x188], rdi
mov qword [rbp - 0x180], r12
mov qword [rbp - 0x178], r13
mov qword [rbp - 0x170], r14
mov qword [rbp - 0x168], r15
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov dword [rbp - 0x10], 0xffffffff
mov rdx, qword [rcx + 8]
mov rax, qword [rcx]
mov qword [rbp - 0x140], rax
mov qword [rbp - 0x138], rdx
lea rdx, [rbp - 0x140]
lea rcx, [rbp - 0x120]
call fcn.14000f370
push 0
push 0
lea r9, [rbp - 0x10]
xor r8d, r8d
mov qword [rbp - 0x160], r8
mov qword [rbp - 0x158], r9
lea rcx, [rbp - 0x120]
sub rsp, 0x20
call fcn.1400028b0
add rsp, 0x20
mov rdx, rax
mov r9, qword [rbp - 0x158]
mov r8, qword [rbp - 0x160]
mov rcx, qword [rbp + 0x18]
sub rsp, 0x20
call sub.ADVAPI32.dll_RegQueryValueExW
add rsp, 0x30
mov r9d, eax
mov rax, rbp
mov qword [rbp - 0x150], rax
lea rbx, [0x1400430b0]
mov qword [rbp - 0x148], rbx
lea r8, [rbp - 0x150]
lea rcx, str.stdwindows_registry.d
mov qword [rbp - 0x128], rcx
mov qword [rbp - 0x130], 0x16
lea rdx, [rbp - 0x130]
mov ecx, 0x1ef
call fcn.1400426e0
sub rsp, 8
call fcn.14004305d
add rsp, 8
jmp 0x140043072
mov eax, dword [rbp - 0x10]
mov rbx, qword [rbp - 0x198]
mov rsi, qword [rbp - 0x190]
mov rdi, qword [rbp - 0x188]
mov r12, qword [rbp - 0x180]
mov r13, qword [rbp - 0x178]
mov r14, qword [rbp - 0x170]
mov r15, qword [rbp - 0x168]
mov rsp, rbp
pop rbp
ret

Function at 0x140043160
Capabilities:
Set registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x1b0
mov qword [rbp - 0x188], rbx
mov qword [rbp - 0x180], rsi
mov qword [rbp - 0x178], rdi
mov qword [rbp - 0x170], r12
mov qword [rbp - 0x168], r13
mov qword [rbp - 0x160], r14
mov qword [rbp - 0x158], r15
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
mov dword [rbp + 0x20], r8d
mov qword [rbp + 0x28], r9
mov rdx, qword [r9 + 8]
mov rax, qword [r9]
mov qword [rbp - 0x140], rax
mov qword [rbp - 0x138], rdx
lea rdx, [rbp - 0x140]
lea rcx, [rbp - 0x110]
call fcn.14000f370
push qword [rbp + 0x10]
push qword [rbp + 0x18]
mov r9d, dword [rbp + 0x20]
xor r8d, r8d
mov qword [rbp - 0x150], r8
mov qword [rbp - 0x148], r9
lea rcx, [rbp - 0x110]
sub rsp, 0x20
call fcn.1400028b0
add rsp, 0x20
mov rdx, rax
mov r9, qword [rbp - 0x148]
mov r8, qword [rbp - 0x150]
mov rcx, qword [rbp + 0x30]
sub rsp, 0x20
call sub.ADVAPI32.dll_RegSetValueExW
add rsp, 0x30
mov r9d, eax
mov rax, rbp
mov qword [rbp - 0x130], rax
lea rbx, [0x1400432d0]
mov qword [rbp - 0x128], rbx
lea r8, [rbp - 0x130]
lea rcx, str.stdwindows_registry.d
mov qword [rbp - 0x118], rcx
mov qword [rbp - 0x120], 0x16
lea rdx, [rbp - 0x120]
mov ecx, 0x2de
call fcn.1400426e0
sub rsp, 8
call fcn.14004327f
add rsp, 8
jmp 0x140043294
mov rbx, qword [rbp - 0x188]
mov rsi, qword [rbp - 0x180]
mov rdi, qword [rbp - 0x178]
mov r12, qword [rbp - 0x170]
mov r13, qword [rbp - 0x168]
mov r14, qword [rbp - 0x160]
mov r15, qword [rbp - 0x158]
mov rsp, rbp
pop rbp
ret
Function at 0x1400436b0
Capabilities:
Delete registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x1a0
mov qword [rbp - 0x178], rbx
mov qword [rbp - 0x170], rsi
mov qword [rbp - 0x168], rdi
mov qword [rbp - 0x160], r12
mov qword [rbp - 0x158], r13
mov qword [rbp - 0x150], r14
mov qword [rbp - 0x148], r15
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rdx, qword [rcx + 8]
mov rax, qword [rcx]
mov qword [rbp - 0x140], rax
mov qword [rbp - 0x138], rdx
lea rdx, [rbp - 0x140]
lea rcx, [rbp - 0x110]
call fcn.14000f370
lea rcx, [rbp - 0x110]
sub rsp, 0x20
call fcn.1400028b0
add rsp, 0x20
mov rdx, rax
mov rcx, qword [rbp + 0x18]
sub rsp, 0x20
call sub.ADVAPI32.dll_RegDeleteValueW
add rsp, 0x20
mov r9d, eax
mov rax, rbp
mov qword [rbp - 0x130], rax
lea rbx, [0x1400437f0]
mov qword [rbp - 0x128], rbx
lea r8, [rbp - 0x130]
lea rcx, str.stdwindows_registry.d
mov qword [rbp - 0x118], rcx
mov qword [rbp - 0x120], 0x16
lea rdx, [rbp - 0x120]
mov ecx, 0x16e
call fcn.1400426e0
sub rsp, 8
call fcn.14004379f
add rsp, 8
jmp 0x1400437b4
mov rbx, qword [rbp - 0x178]
mov rsi, qword [rbp - 0x170]
mov rdi, qword [rbp - 0x168]
mov r12, qword [rbp - 0x160]
mov r13, qword [rbp - 0x158]
mov r14, qword [rbp - 0x150]
mov r15, qword [rbp - 0x148]
mov rsp, rbp
pop rbp
ret
Function at 0x1400442a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x1f0
mov qword [rbp - 0x1c8], rbx
mov qword [rbp - 0x1c0], rsi
mov qword [rbp - 0x1b8], rdi
mov qword [rbp - 0x1b0], r12
mov qword [rbp - 0x1a8], r13
mov qword [rbp - 0x1a0], r14
mov qword [rbp - 0x198], r15
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov rax, qword [rbp + 0x18]
mov dword [rax], 0
mov dword [rbp - 0x10], 0xffffffff
mov dword [rbp - 0xc], 4
mov rbx, qword [rbp + 0x20]
mov rdx, qword [rbx + 8]
mov rbx, qword [rbx]
mov qword [rbp - 0x150], rbx
mov qword [rbp - 0x148], rdx
lea rdx, [rbp - 0x150]
lea rcx, [rbp - 0x120]
call fcn.14000f370
lea rax, [rbp - 0xc]
push rax
push qword [rbp + 0x18]
lea r9, [rbp - 0x10]
xor r8d, r8d
mov qword [rbp - 0x190], r8
mov qword [rbp - 0x188], r9
lea rcx, [rbp - 0x120]
sub rsp, 0x20
call fcn.1400028b0
add rsp, 0x20
mov rdx, rax
mov r9, qword [rbp - 0x188]
mov r8, qword [rbp - 0x190]
mov rcx, qword [rbp + 0x28]
sub rsp, 0x20
call sub.ADVAPI32.dll_RegQueryValueExW
add rsp, 0x30
mov r9d, eax
lea rax, [0x140044510]
mov qword [rbp - 0x178], rax
mov qword [rbp - 0x180], 0
lea r8, [rbp - 0x180]
lea rdx, str.stdwindows_registry.d
mov qword [rbp - 0x128], rdx
mov qword [rbp - 0x130], 0x16
lea rdx, [rbp - 0x130]
mov ecx, 0x281
call fcn.1400426e0
sub rsp, 8
call fcn.1400443de
add rsp, 8
jmp 0x1400443f3
mov eax, dword [rbp - 0x10]
cmp eax, dword [rbp + 0x10]
sete dl
lea rbx, [0x140044520]
mov qword [rbp - 0x158], rbx
mov qword [rbp - 0x160], 0
lea rcx, [rbp - 0x160]
sub rsp, 0x20
call fcn.140004490
add rsp, 0x20
mov esi, dword [rbp - 0x10]
cmp esi, 4
je 0x1400444cb
cmp esi, 5
je 0x14004443c
jmp 0x14004444b
mov rdx, qword [rbp + 0x18]
mov eax, dword [rdx]
bswap eax
mov dword [rdx], eax
jmp 0x1400444cb
lea rcx, [0x14021cac0]
sub rsp, 0x20
call fcn.140009690
add rsp, 0x20
mov rsi, rax
sub rsp, 8
lea rdx, str.Cannot_read_the_given_value_as_a_32_bit_integer
mov qword [rbp - 0x168], rdx
mov qword [rbp - 0x170], 0x2f
lea rbx, [rbp - 0x170]
push rbx
lea rdi, str.stdwindows_registry.d
mov qword [rbp - 0x138], rdi
mov qword [rbp - 0x140], 0x16
lea r9, [rbp - 0x140]
mov r8d, 0x297
xor edx, edx
mov rcx, rsi
sub rsp, 0x20
call fcn.1400357a0
add rsp, 0x30
mov rcx, rax
sub rsp, 0x20
call fcn.140007bc0
mov rbx, qword [rbp - 0x1c8]
mov rsi, qword [rbp - 0x1c0]
mov rdi, qword [rbp - 0x1b8]
mov r12, qword [rbp - 0x1b0]
mov r13, qword [rbp - 0x1a8]
mov r14, qword [rbp - 0x1a0]
mov r15, qword [rbp - 0x198]
mov rsp, rbp
pop rbp
ret
Function at 0x140044590
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x1f0
mov qword [rbp - 0x1c8], rbx
mov qword [rbp - 0x1c0], rsi
mov qword [rbp - 0x1b8], rdi
mov qword [rbp - 0x1b0], r12
mov qword [rbp - 0x1a8], r13
mov qword [rbp - 0x1a0], r14
mov qword [rbp - 0x198], r15
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov rax, qword [rbp + 0x18]
mov qword [rax], 0
mov dword [rbp - 0x10], 0xffffffff
mov dword [rbp - 0xc], 8
mov rbx, qword [rbp + 0x20]
mov rdx, qword [rbx + 8]
mov rbx, qword [rbx]
mov qword [rbp - 0x150], rbx
mov qword [rbp - 0x148], rdx
lea rdx, [rbp - 0x150]
lea rcx, [rbp - 0x120]
call fcn.14000f370
lea rax, [rbp - 0xc]
push rax
push qword [rbp + 0x18]
lea r9, [rbp - 0x10]
xor r8d, r8d
mov qword [rbp - 0x190], r8
mov qword [rbp - 0x188], r9
lea rcx, [rbp - 0x120]
sub rsp, 0x20
call fcn.1400028b0
add rsp, 0x20
mov rdx, rax
mov r9, qword [rbp - 0x188]
mov r8, qword [rbp - 0x190]
mov rcx, qword [rbp + 0x28]
sub rsp, 0x20
call sub.ADVAPI32.dll_RegQueryValueExW
add rsp, 0x30
mov r9d, eax
lea rax, [0x1400447e0]
mov qword [rbp - 0x178], rax
mov qword [rbp - 0x180], 0
lea r8, [rbp - 0x180]
lea rdx, str.stdwindows_registry.d
mov qword [rbp - 0x128], rdx
mov qword [rbp - 0x130], 0x16
lea rdx, [rbp - 0x130]
mov ecx, 0x2a5
call fcn.1400426e0
sub rsp, 8
call fcn.1400446cf
add rsp, 8
jmp 0x1400446e4
mov eax, dword [rbp - 0x10]
cmp eax, dword [rbp + 0x10]
sete dl
lea rbx, [0x1400447f0]
mov qword [rbp - 0x158], rbx
mov qword [rbp - 0x160], 0
lea rcx, [rbp - 0x160]
sub rsp, 0x20
call fcn.140004490
add rsp, 0x20
mov esi, dword [rbp - 0x10]
cmp esi, 0xb
je 0x1400447a6
lea rcx, [0x14021cac0]
sub rsp, 0x20
call fcn.140009690
add rsp, 0x20
mov rsi, rax
sub rsp, 8
lea rax, str.Cannot_read_the_given_value_as_a_64_bit_integer
mov qword [rbp - 0x168], rax
mov qword [rbp - 0x170], 0x2f
lea rdx, [rbp - 0x170]
push rdx
lea rbx, str.stdwindows_registry.d
mov qword [rbp - 0x138], rbx
mov qword [rbp - 0x140], 0x16
lea r9, [rbp - 0x140]
mov r8d, 0x2b0
xor edx, edx
mov rcx, rsi
sub rsp, 0x20
call fcn.1400357a0
add rsp, 0x30
mov rcx, rax
sub rsp, 0x20
call fcn.140007bc0
mov rbx, qword [rbp - 0x1c8]
mov rsi, qword [rbp - 0x1c0]
mov rdi, qword [rbp - 0x1b8]
mov r12, qword [rbp - 0x1b0]
mov r13, qword [rbp - 0x1a8]
mov r14, qword [rbp - 0x1a0]
mov r15, qword [rbp - 0x198]
mov rsp, rbp
pop rbp
ret
Function at 0x140044860
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x1d0
mov qword [rbp - 0x1a8], rbx
mov qword [rbp - 0x1a0], rsi
mov qword [rbp - 0x198], rdi
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
mov rdi, r8
mov rsi, r9
mov r10, qword [rbp + 0x18]
mov qword [r10], 0
mov qword [r10 + 8], 0
mov dword [rbp - 0x10], 0xffffffff
mov edx, 0x64
lea rcx, str.P__
call fcn.140007410
mov qword [rbp - 0x180], rax
mov qword [rbp - 0x178], rdx
mov rcx, qword [rbp - 0x180]
call fcn.1400111f0
mov dword [rbp - 0xc], eax
mov rdx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rbp - 0x150], rax
mov qword [rbp - 0x148], rdx
lea rdx, [rbp - 0x150]
lea rcx, [rbp - 0x120]
call fcn.14000f370
lea rcx, [rbp - 0x120]
sub rsp, 0x20
call fcn.1400028b0
add rsp, 0x20
lea r8, [rbp - 0x10]
mov r9, qword [rbp - 0x178]
lea rdx, [rbp - 0xc]
push rdx
push r9
mov r9, r8
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
sub rsp, 0x20
call sub.ADVAPI32.dll_RegQueryValueExW
add rsp, 0x30
mov edi, eax
cmp edi, 0xea
jne 0x14004499e
lea rdx, [rbp - 0x180]
mov ecx, dword [rbp - 0xc]
sub rsp, 0x20
call fcn.14005ae60
add rsp, 0x20
lea rcx, [rbp - 0x120]
sub rsp, 0x20
call fcn.1400028b0
add rsp, 0x20
lea r8, [rbp - 0x10]
mov r9, qword [rbp - 0x178]
lea rdx, [rbp - 0xc]
push rdx
push r9
mov r9, r8
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
sub rsp, 0x20
call sub.ADVAPI32.dll_RegQueryValueExW
add rsp, 0x30
mov edi, eax
mov r9d, edi
lea rax, [0x140044b20]
mov qword [rbp - 0x188], rax
xor ebx, ebx
mov qword [rbp - 0x190], rbx
lea r8, [rbp - 0x190]
lea rcx, str.stdwindows_registry.d
mov qword [rbp - 0x128], rcx
mov qword [rbp - 0x130], 0x16
lea rdx, [rbp - 0x130]
mov ecx, 0x2c7
sub rsp, 0x20
call fcn.1400426e0
add rsp, 0x20
mov eax, dword [rbp - 0x10]
cmp eax, dword [rbp + 0x10]
sete dl
lea rsi, [0x140044b30]
mov qword [rbp - 0x158], rsi
mov qword [rbp - 0x160], rbx
lea rcx, [rbp - 0x160]
sub rsp, 0x20
call fcn.140004490
add rsp, 0x20
mov ebx, dword [rbp - 0x10]
cmp ebx, 3
je 0x140044aaf
lea rcx, [0x14021cac0]
sub rsp, 0x20
call fcn.140009690
add rsp, 0x20
mov rsi, rax
sub rsp, 8
lea rbx, str.Cannot_read_the_given_value_as_a_string
mov qword [rbp - 0x168], rbx
mov qword [rbp - 0x170], 0x27
lea rax, [rbp - 0x170]
push rax
lea rdx, str.stdwindows_registry.d
mov qword [rbp - 0x138], rdx
mov qword [rbp - 0x140], 0x16
lea r9, [rbp - 0x140]
mov r8d, 0x2d3
xor edx, edx
mov rcx, rsi
sub rsp, 0x20
call fcn.1400357a0
add rsp, 0x30
mov rcx, rax
sub rsp, 0x20
call fcn.140007bc0
lea rdx, [rbp - 0x180]
mov ecx, dword [rbp - 0xc]
sub rsp, 0x20
call fcn.14005ae60
add rsp, 0x20
mov rdx, qword [rbp - 0x178]
mov rax, qword [rbp - 0x180]
mov rsi, qword [rbp + 0x18]
mov qword [rsi], rax
mov qword [rsi + 8], rdx
sub rsp, 8
call fcn.140044aee
add rsp, 8
jmp 0x140044b03
mov rbx, qword [rbp - 0x1a8]
mov rsi, qword [rbp - 0x1a0]
mov rdi, qword [rbp - 0x198]
mov rsp, rbp
pop rbp
ret
Function at 0x140045ef0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 8], rsi
mov rsi, rcx
mov r8, rsi
xor edx, edx
mov ecx, 1
call fcn.14005c6c0
xor al, 1
je 0x140045f2a
call fcn.14002fa90
mov r8, rsi
xor edx, edx
mov ecx, 1
call fcn.14005c6c0
xor al, 1
jne 0x140045f12
mov rsi, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret
Function at 0x140047240
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rcx, qword [rbp + 0x10]
call sub.KERNEL32.dll_GetFileAttributesW
cmp eax, 0xffffffff
setne al
mov rsp, rbp
pop rbp
ret

Function at 0x14005ae90
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r13
mov rdi, rcx
mov rsi, rdx
mov r12, r8
mov r13, r9
mov dword [rdi], 0
mov rcx, qword [rsi]
call fcn.1400111f0
mov dword [rdi], eax
xor edx, edx
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x50], rdx
mov r9, rdi
mov r8, qword [rsi + 8]
mov edx, r12d
mov rcx, r13
call sub.ADVAPI32.dll_RegEnumKeyExW
mov ebx, eax
cmp ebx, 0xea
je 0x14005af11
mov eax, ebx
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x18]
mov r12, qword [rbp - 0x10]
mov r13, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret
mov rdx, rsi
mov rcx, qword [rsi]
add rcx, rcx
call fcn.140004ca0
mov rcx, qword [rsi]
call fcn.1400111f0
mov dword [rdi], eax
xor r8d, r8d
mov qword [rbp - 0x38], r8
mov qword [rbp - 0x40], r8
mov qword [rbp - 0x48], r8
mov qword [rbp - 0x50], r8
mov r9, rdi
mov r8, qword [rsi + 8]
mov edx, r12d
mov rcx, r13
call sub.ADVAPI32.dll_RegEnumKeyExW
mov ebx, eax
cmp ebx, 0xea
jne 0x14005aef6
jmp 0x14005af11

Function at 0x14005af60
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r13
mov rdi, rcx
mov rsi, rdx
mov r12, r8
mov r13, r9
mov dword [rdi], 0
mov rcx, qword [rsi]
call fcn.1400111f0
mov dword [rdi], eax
xor edx, edx
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x50], rdx
mov r9, rdi
mov r8, qword [rsi + 8]
mov edx, r12d
mov rcx, r13
call sub.ADVAPI32.dll_RegEnumValueW
mov ebx, eax
cmp ebx, 0xea
je 0x14005afe1
mov eax, ebx
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x18]
mov r12, qword [rbp - 0x10]
mov r13, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret
mov rdx, rsi
mov rcx, qword [rsi]
add rcx, rcx
call fcn.140004ca0
mov rcx, qword [rsi]
call fcn.1400111f0
mov dword [rdi], eax
xor r8d, r8d
mov qword [rbp - 0x38], r8
mov qword [rbp - 0x40], r8
mov qword [rbp - 0x48], r8
mov qword [rbp - 0x50], r8
mov r9, rdi
mov r8, qword [rsi + 8]
mov edx, r12d
mov rcx, r13
call sub.ADVAPI32.dll_RegEnumValueW
mov ebx, eax
cmp ebx, 0xea
jne 0x14005afc6
jmp 0x14005afe1

Function at 0x14005d2f0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rdi
mov rsi, rcx
xor edi, edi
mov rcx, rsi
call fcn.1400022c0
xor al, 1
je 0x14005d328
inc rdi
mov rcx, rsi
call fcn.140031500
mov rcx, rsi
call fcn.1400022c0
xor al, 1
jne 0x14005d311
mov rax, rdi
mov rsi, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret
Function at 0x140060b70
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rdi
mov rdi, rcx
mov rsi, rdx
mov rcx, rsi
call fcn.1400022c0
xor al, 1
je 0x140060bb0
mov rcx, rsi
call fcn.1400321f0
mov edx, eax
mov rcx, rdi
call fcn.14006fa30
mov rcx, rsi
call fcn.1400022c0
xor al, 1
jne 0x140060b92
mov rsi, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret

Function at 0x14006aa00
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rdi
mov qword [rbp + 0x10], rcx
call fcn.14007bc80
mov qword [rbp - 8], rax
mov rsi, qword [rbp + 0x10]
lea rdi, [rbp - 0x30]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
movsq qword [rdi], qword [rsi]
lea rcx, [rbp - 0x30]
call fcn.14006a860
xor al, 1
je 0x14006aa83
lea rcx, [rbp - 0x30]
call fcn.14006a800
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x50], rax
mov rdx, qword [rbp - 0x38]
mov qword [rbp - 0x48], rdx
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 8]
call fcn.14007bcc0
lea rcx, [rbp - 0x30]
call fcn.14006a890
lea rcx, [rbp - 0x30]
call fcn.14006a860
xor al, 1
jne 0x14006aa3f
lea rcx, [rbp - 8]
call fcn.14007bf70
mov rsi, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x58]
mov rsp, rbp
pop rbp
ret
Function at 0x14007bbe0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rdi
mov rdi, rcx
mov rsi, rdx
mov rcx, rsi
call fcn.140084060
xor al, 1
je 0x14007bc20
mov rcx, rsi
call fcn.140084070
mov edx, eax
mov rcx, rdi
call fcn.140003a90
mov rcx, rsi
call fcn.140084060
xor al, 1
jne 0x14007bc02
mov rsi, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret

Function at 0x140083b20
Capabilities:
Create thread
Resume thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rsi
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
mov ecx, 0x10
call fcn.14008f384
mov rdx, qword [rbp + 0x20]
mov rbx, qword [rdx]
mov rdx, qword [rdx + 8]
mov qword [rax], rbx
mov qword [rax + 8], rdx
mov dword [rbp - 8], 0
cmp byte [0x14022f968], 0
jne 0x140083b95
lea rsi, [rbp - 8]
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x40], 4
mov r9, rax
lea r8, [0x140083c90]
mov edx, dword [rbp + 0x18]
xor ecx, ecx
call fcn.140099504
test rax, rax
mov qword [rbp - 0x10], rax
jne 0x140083ba4
xor eax, eax
mov rbx, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x28]
mov rsp, rbp
pop rbp
ret
lea rcx, [0x14022f9b0]
call sub.KERNEL32.dll_EnterCriticalSection
inc qword [0x14022f988]
mov rdx, qword [0x14022f988]
lea rdx, [rdx + rdx*2]
lea rdx, [rdx*8]
mov rcx, qword [0x14022f990]
call fcn.14008f38c
mov qword [0x14022f990], rax
mov ebx, dword [rbp - 8]
mov rsi, qword [0x14022f988]
lea rsi, [rsi + rsi*2]
lea rsi, [rsi*8]
add rsi, rax
mov dword [rsi - 0x18], ebx
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 8]
mov rbx, qword [rax]
mov rcx, qword [0x14022f988]
lea rcx, [rcx + rcx*2]
lea rcx, [rcx*8]
add rcx, qword [0x14022f990]
mov qword [rcx - 0x10], rbx
mov qword [rcx - 8], rdx
mov rcx, qword [rbp - 0x10]
call sub.KERNEL32.dll_ResumeThread
cmp eax, 0xffffffff
je 0x140083c6d
mov rcx, qword [rbp - 0x10]
call sub.KERNEL32.dll_CloseHandle
mov rax, qword [rbp + 0x10]
mov rdx, qword [rax + 8]
or rdx, qword [rax]
je 0x140083c4f
call fcn.1400886d0
mov ebx, dword [rbp - 8]
lea rcx, [0x14022f9b0]
call sub.KERNEL32.dll_LeaveCriticalSection
mov eax, ebx
mov rbx, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x28]
mov rsp, rbp
pop rbp
ret
lea rsi, str.Error_resuming_thread
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x20], 0x15
lea rcx, [rbp - 0x20]
call fcn.14003c620
int3

Function at 0x140083cf0
Capabilities:
Terminate thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 8], rsi
mov dword [rbp + 0x10], ecx
mov r8d, dword [rbp + 0x10]
xor edx, edx
mov ecx, 0x10004a
call sub.KERNEL32.dll_OpenThread
mov rsi, rax
test rsi, rsi
jne 0x140083d20
mov rsi, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret
cmp byte [0x14022f968], 0
je 0x140083d46
mov edx, 1
mov rcx, rsi
call sub.KERNEL32.dll_TerminateThread
mov edx, 0xa
mov rcx, rsi
call sub.KERNEL32.dll_WaitForSingleObject
jmp 0x140083d53
mov edx, 0xffffffff
mov rcx, rsi
call sub.KERNEL32.dll_WaitForSingleObject
mov rcx, rsi
call sub.KERNEL32.dll_CloseHandle
mov rsi, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret
Function at 0x1400871e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rdi
mov rdi, rcx
mov rsi, rdx
mov rcx, rsi
call fcn.140070ea0
xor al, 1
je 0x140087228
mov rcx, rsi
call fcn.140070f40
mov edx, eax
mov rcx, rdi
call fcn.14003d780
mov rcx, rsi
call fcn.140070ee0
mov rcx, rsi
call fcn.140070ea0
xor al, 1
jne 0x140087202
mov rsi, qword [rbp - 0x10]
mov rdi, qword [rbp - 8]
mov rsp, rbp
pop rbp
ret