joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b324
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov eax, dword [rcx + 0x68]
xor ebp, ebp
add eax, 0xfffffffc
mov edi, ebp
cmp eax, 5
mov rsi, rdx
mov rbx, rcx
setbe dil
cmp dword [0x14002463c], ebp
je 0x14000b37f
test edi, edi
je 0x14000b372
cmp dword [0x1400246c8], ebp
jne 0x14000b36b
cmp dword [0x1400245f4], ebp
je 0x14000b372
mov edx, 0x11f9
jmp 0x14000b377
mov edx, 0x1069
xor r8d, r8d
call fcn.140010dc4
cmp dword [0x14002456c], ebp
jne 0x14000b527
test edi, edi
je 0x14000b527
mov eax, dword [0x1400246c8]
test eax, eax
je 0x14000b485
mov rcx, qword [rbx + 0x58]
mov rdx, rsi
call fcn.14000ab38
cmp dword [0x1400245d0], ebp
jne 0x14000b3be
mov rax, qword [0x14001d070]
jmp 0x14000b3db
mov ecx, dword [0x140023188]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
test rax, rax
cmove rax, qword [0x14001d070]
mov rcx, rax
call fcn.140011e4c
mov r8d, dword [0x140024600]
mov rdx, rsi
mov rcx, rbx
call fcn.140018500
test eax, eax
jne 0x14000b449
mov r8d, 1
lea rdx, [0x140024400]
mov rcx, rbx
call fcn.140009148
cmp dword [0x1400245d0], ebp
jne 0x14000b41f
mov rax, qword [0x14001d070]
jmp 0x14000b43c
mov ecx, dword [0x140023188]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
test rax, rax
cmove rax, qword [0x14001d070]
mov rcx, rax
call fcn.140011eb8
jmp 0x14000b53c
cmp dword [0x1400245d0], ebp
jne 0x14000b45a
mov rax, qword [0x14001d070]
jmp 0x14000b477
mov ecx, dword [0x140023188]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
test rax, rax
cmove rax, qword [0x14001d070]
mov rcx, rax
call fcn.140011eb8
mov eax, dword [0x1400246c8]
cmp dword [0x1400245f4], ebp
jne 0x14000b4a1
test eax, eax
je 0x14000b527
cmp dword [0x140023158], ebp
je 0x14000b527
cmp dword [0x1400245d0], ebp
jne 0x14000b4b2
mov rax, qword [0x14001d070]
jmp 0x14000b4cf
mov ecx, dword [0x140023188]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
test rax, rax
cmove rax, qword [0x14001d070]
mov rcx, rax
call fcn.140011e4c
mov r9d, dword [0x140023140]
mov rdx, rsi
mov rcx, rbx
call fcn.140013680
test eax, eax
je 0x14000b3f9
cmp dword [0x1400245d0], ebp
jne 0x14000b502
mov rax, qword [0x14001d070]
jmp 0x14000b51f
mov ecx, dword [0x140023188]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
test rax, rax
cmove rax, qword [0x14001d070]
mov rcx, rax
call fcn.140011eb8
mov r8d, 1
lea rdx, [0x140024438]
mov rcx, rbx
call fcn.140009148
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14000b558
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r8, [0x140024380]
mov rdx, rcx
lea rcx, [0x14000b5f0]
call qword [sym.imp.KERNEL32.dll_CreateThreadpoolWork]
nop dword [rax + rax]
test rax, rax
jne 0x14000b5d2
lea r8d, [rax + 1]
mov rcx, rbx
lea rdx, [0x140024400]
call fcn.140009148
cmp dword [0x1400245d0], 0
jne 0x14000b5a8
mov rax, qword [0x14001d070]
jmp 0x14000b5c5
mov ecx, dword [0x140023188]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
test rax, rax
cmove rax, qword [0x14001d070]
mov rcx, rax
add rsp, 0x20
pop rbx
jmp fcn.140011eb8
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_SubmitThreadpoolWork]

Function at 0x14000ba44
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
test ecx, ecx
jg 0x14000ba55
xor eax, eax
jmp 0x14000bbcb
cmp edx, ecx
jle 0x14000ba6a
mov edx, 1
mov ecx, 0xe3
call fcn.1400111ec
jmp 0x14000ba4e
mov ecx, dword [0x1400245d0]
test ecx, ecx
jne 0x14000ba80
mov rax, qword [0x14001d070]
mov rdx, rax
jmp 0x14000baa9
mov ecx, dword [0x140023188]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
mov ecx, dword [0x1400245d0]
mov rdx, rax
mov rax, qword [0x14001d070]
test rdx, rdx
cmove rdx, rax
cmp dword [rdx], 0
je 0x14000bae4
mov ebx, 1
test ecx, ecx
je 0x14000bad4
mov ecx, dword [0x140023188]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
test rax, rax
cmove rax, qword [0x14001d070]
mov rcx, rax
call fcn.140011eb8
mov ecx, dword [0x1400245d0]
jmp 0x14000bae6
xor ebx, ebx
test ecx, ecx
jne 0x14000baf3
mov rcx, qword [0x14001d078]
jmp 0x14000bb15
mov ecx, dword [0x140023188]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
mov rcx, qword [0x14001d078]
test rax, rax
je 0x14000bb15
lea rcx, [rax + 8]
call fcn.140011e4c
mov eax, 0x10624dd3
imul dword [0x140023174]
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
call fcn.140011d04
mov ecx, dword [0x140023174]
call qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax + rax]
xor edx, edx
mov ecx, 0xe1
call fcn.1400111ec
cmp dword [0x1400245d0], 0
jne 0x14000bb64
mov rcx, qword [0x14001d078]
jmp 0x14000bb86
mov ecx, dword [0x140023188]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
mov rcx, qword [0x14001d078]
test rax, rax
je 0x14000bb86
lea rcx, [rax + 8]
call fcn.140011eb8
test ebx, ebx
je 0x14000bbc6
cmp dword [0x1400245d0], 0
jne 0x14000bba1
mov rax, qword [0x14001d070]
jmp 0x14000bbbe
mov ecx, dword [0x140023188]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
test rax, rax
cmove rax, qword [0x14001d070]
mov rcx, rax
call fcn.140011e4c
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x140014464
Capabilities:
Check if file exists
Delete directory
Get file attributes
Set file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov ebp, r8d
mov rdi, rcx
mov esi, dword [0x140024590]
lea rdx, [rax - 0x28]
call fcn.1400160ec
nop
xor r15d, r15d
mov ebx, r15d
or r14d, 0xffffffff
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
cmove eax, r15d
and eax, 0xfffffff8
mov edx, eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x140014599
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x91
je 0x140014563
cmp eax, 0x10b
je 0x140014563
cmp eax, 0x7b
je 0x140014563
cmp eax, 0x43
jne 0x14001450b
test esi, esi
je 0x140014563
cmp eax, 0x56
je 0x140014563
cmp eax, 5
je 0x140014563
inc ebx
mov r9d, ebx
mov r8d, r14d
mov edx, ebp
mov rcx, rdi
call fcn.14000a814
test eax, eax
jne 0x14001449c
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140014595
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x14001d898]
jmp 0x140014595
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x140014595
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x14001d898]
xor eax, eax
jmp 0x1400145d0
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov ecx, r14d
lock xadd dword [rdx + 0x10], ecx
add ecx, r14d
test ecx, ecx
jg 0x1400145cb
mov rcx, qword [rdx]
mov r8, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [r8 + 8]
call qword [0x14001d898]
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140015190
Capabilities:
Get file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xa8
mov rax, qword [0x140023128]
xor rax, rsp
mov qword [rbp - 1], rax
mov rax, qword [rbp + 0x7f]
mov r12, rdx
lea rdx, [rbp - 0x51]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x49], r9
mov r13, r8
mov rdi, rcx
call fcn.1400160ec
or r14, 0xffffffffffffffff
xor r15d, r15d
xor esi, esi
cmp dword [0x140024680], esi
je 0x1400151f1
cmp dword [rdi + 0x1c], 0xa000000c
sete sil
xor ebx, ebx
cmp dword [0x140024670], ebx
je 0x140015205
cmp dword [rdi + 0x1c], 0xa0000003
sete bl
xor edi, edi
test rbx, rbx
jne 0x140015214
lea eax, [rbx + 1]
test rsi, rsi
je 0x140015219
mov eax, 2
cmp edi, eax
jge 0x140015267
mov eax, edi
mov edx, 0x80
neg eax
sbb ecx, ecx
and qword [rsp + 0x30], r15
and ecx, 0x200000
xor r9d, r9d
add ecx, 0x2000080
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp - 0x51]
lea r8d, [r9 + 7]
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
inc edi
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x140015207
cmp r14, 0xffffffffffffffff
je 0x14001530b
xor eax, eax
mov dword [rsp + 0x20], 4
xorps xmm1, xmm1
mov qword [rbp - 9], rax
xorps xmm0, xmm0
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x39]
mov rcx, r14
lea r9d, [rax + 0x28]
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm1
movups xmmword [rbp - 0x19], xmm1
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
nop dword [rax + rax]
mov rcx, r14
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test ebx, ebx
js 0x1400152ef
mov rax, qword [rbp - 0x29]
mov r15d, 1
mov rcx, qword [rbp - 0x49]
mov qword [r12], rax
mov rax, qword [rbp - 0x21]
mov qword [r13], rax
mov rax, qword [rbp - 0x19]
mov qword [rcx], rax
mov rcx, qword [rbp - 0x41]
mov rax, qword [rbp - 0x11]
mov qword [rcx], rax
jmp 0x14001530b
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov rdx, qword [rbp - 0x51]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14001533a
mov rcx, qword [rdx]
mov r8, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [r8 + 8]
call qword [0x14001d898]
mov eax, r15d
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140001800
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
Function at 0x140016644
Capabilities:
Set file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xa8
mov rax, qword [0x140023128]
xor rax, rsp
mov qword [rbp - 1], rax
mov rax, qword [rbp + 0x7f]
mov r12, rdx
lea rdx, [rbp - 0x51]
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x49], r9
mov r13, r8
mov rdi, rcx
call fcn.1400160ec
or r14, 0xffffffffffffffff
xor r15d, r15d
xor esi, esi
cmp dword [0x140024680], esi
je 0x1400166a5
cmp dword [rdi + 0x1c], 0xa000000c
sete sil
xor ebx, ebx
cmp dword [0x140024670], ebx
je 0x1400166b9
cmp dword [rdi + 0x1c], 0xa0000003
sete bl
xor edi, edi
test rbx, rbx
jne 0x1400166c8
lea eax, [rbx + 1]
test rsi, rsi
je 0x1400166cd
mov eax, 2
cmp edi, eax
jge 0x14001671b
mov eax, edi
mov edx, 0x100
neg eax
sbb ecx, ecx
and qword [rsp + 0x30], r15
and ecx, 0x200000
xor r9d, r9d
add ecx, 0x2000080
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp - 0x51]
lea r8d, [r9 + 7]
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
inc edi
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1400166bb
cmp r14, 0xffffffffffffffff
je 0x1400167b4
mov rcx, qword [r12]
lea r8, [rbp - 0x29]
mov rax, qword [rbp - 0x49]
lea rdx, [rbp - 0x39]
and qword [rbp - 9], r15
xorps xmm0, xmm0
mov qword [rbp - 0x29], rcx
mov r9d, 0x28
mov rcx, qword [r13]
mov rax, qword [rax]
mov qword [rbp - 0x19], rax
mov rax, qword [rbp - 0x41]
mov qword [rbp - 0x21], rcx
mov rcx, r14
movups xmmword [rbp - 0x39], xmm0
mov dword [rsp + 0x20], 4
mov rax, qword [rax]
mov qword [rbp - 0x11], rax
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
nop dword [rax + rax]
mov rcx, r14
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test ebx, ebx
js 0x140016798
mov r15d, 1
jmp 0x1400167b4
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov rdx, qword [rbp - 0x51]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400167e3
mov rcx, qword [rdx]
mov r8, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [r8 + 8]
call qword [0x14001d898]
mov eax, r15d
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140001800
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400189c8
Capabilities:
Delete file
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov rdi, rcx
lea rdx, [rsp + 0x48]
call fcn.140018aac
nop
xor ebx, ebx
mov edx, 0x80
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140018a5f
inc ebx
mov r9d, ebx
or r8d, 0xffffffff
mov edx, esi
mov rcx, rdi
call fcn.14000a788
test eax, eax
jne 0x1400189e9
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140018a5b
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x14001d898]
xor eax, eax
jmp 0x140018a94
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140018a8f
mov rcx, qword [rdx]
mov r8, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [r8 + 8]
call qword [0x14001d898]
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140018d1c
Capabilities:
Set file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebp, r9d
mov esi, edx
mov rdi, rcx
lea rdx, [rax - 0x18]
call fcn.140018aac
nop
xor ebx, ebx
mov edx, esi
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop dword [rax + rax]
test eax, eax
jne 0x140018e17
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x7b
je 0x140018dce
cmp eax, 2
je 0x140018dce
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
inc ebx
mov r9d, ebx
mov r8d, ebp
mov edx, 0x239c
mov rcx, rdi
call fcn.14000a788
test eax, eax
jne 0x140018d44
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140018e13
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x14001d898]
jmp 0x140018e13
lea r9d, [rbx + 1]
xor r8d, r8d
mov edx, 0x239c
mov rcx, rdi
call fcn.14000a788
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140018e13
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x14001d898]
xor eax, eax
jmp 0x140018e4c
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140018e47
mov rcx, qword [rdx]
mov r8, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [r8 + 8]
call qword [0x14001d898]
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14001918c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x30
mov rcx, qword [rcx]
lea rax, [r11 + 0x20]
mov edi, r8d
mov qword [r11 - 0x10], rax
xor ebx, ebx
lea r9, [r11 + 8]
xor r8d, r8d
mov qword [r11 - 0x18], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400191cc
cmp dword [rsp + 0x40], edi
jne 0x1400191cc
lea ebx, [rax + 1]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400191e0
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x30
mov r8d, 4
mov rbx, rdx
mov rdi, rcx
call fcn.14001918c
xor esi, esi
test eax, eax
jne 0x14001921d
mov rcx, qword [rdi]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
nop dword [rax + rax]
mov rcx, qword [rdi]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x40]
test eax, eax
sete sil
mov eax, esi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400199bc
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, r8
mov rsi, rdx
lea r8, [rcx + 0xd0]
mov rbx, rcx
mov rcx, rax
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_OpenEncryptedFileRawW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140019a9a
lea r8, [rbx + 0x88]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenEncryptedFileRawW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140019a7c
and qword [rsp + 0x28], 0
lea r8, [0x140019790]
mov r9, rbx
mov dword [rsp + 0x20], 4
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov qword [rbx], rax
test rax, rax
je 0x140019a6c
lea edx, [rdi + 2]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
nop dword [rax + rax]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop dword [rax + rax]
mov al, 1
jmp 0x140019adc
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
jmp 0x140019ac4
cmp dword [0x1400245c4], 0
je 0x140019ac4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea rcx, str._nEFS:_OpenEncryptedFileRaw_Source__returned__d
jmp 0x140019ab6
cmp dword [0x1400245c4], 0
je 0x140019ac4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea rcx, str._nEFS:_OpenEncryptedFileRaw_Target__returned__d
mov edx, eax
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov rcx, rbx
call fcn.140019664
xor al, al
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140001270
Capabilities:
Encode data using xor
Read file on windows
Write file on windows

Disassembly:
push rbx
push rbp
sub rsp, 0x38
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x68], rdi
mov eax, edx
mov r10, r8
mov qword [rsp + 0x30], r14
mov r14d, edx
xor r8d, r8d
cdq
mov rbp, r9
sub eax, edx
mov rbx, rcx
sar eax, 1
mov edx, r10d
mov edi, eax
add edi, edi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test edi, edi
jle 0x140001330
mov qword [rsp + 0x58], rsi
mov esi, edi
nop
mov edx, 2
lea rcx, [rsp + 0x20]
mov r9, rbx
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edx, 0xfffffffe
mov rcx, rbx
lea r8d, [rdx + 3]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
movzx eax, byte [rsp + 0x20]
lea rcx, [rsp + 0x20]
xor al, byte [rbp]
mov edx, 2
xor al, 5
mov r9, rbx
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x21]
xor al, byte [rbp + 1]
lea r8d, [rdx - 1]
xor al, 0x39
mov byte [rsp + 0x21], al
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
sub rsi, 1
jne 0x1400012c0
mov rsi, qword [rsp + 0x58]
cmp edi, r14d
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
je 0x1400013af
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov edx, 1
lea rcx, [rsp + 0x20]
mov r8d, edx
mov r9, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edx, 0xffffffff
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
movzx eax, byte [rsp + 0x20]
lea rcx, [rsp + 0x20]
xor al, byte [rbp]
mov edx, 1
xor al, 5
mov r9, rbx
mov r8d, edx
mov byte [rsp + 0x20], al
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140001be0
add rsp, 0x38
pop rbp
pop rbx
ret
Function at 0x1400016a0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x6080]
mov eax, 0x6180
call fcn.1400028c0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x6070], rax
mov r15, rcx
mov r8, rcx
lea rcx, [rbp + 0x1070]
mov edx, 0x1000
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [0x140003368]
mov edx, 0x1000
lea rcx, [rbp + 0x1070]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov rcx, r15
call fcn.140001120
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x1070]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor edx, edx
lea rcx, [rbp + 0x2078]
mov r14, rax
mov r8d, 0xff8
movabs rax, 0x73776f646e6957
mov qword [rbp + 0x2070], rax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x140003378]
xor edx, edx
movsd xmm0, qword [str.Program_Files]
mov r8d, 0xff2
mov dword [rbp + 0x3078], ecx
movzx ecx, word [0x14000337c]
mov word [rbp + 0x307c], cx
lea rcx, [rbp + 0x307e]
movsd qword [rbp + 0x3070], xmm0
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [str.HOW_TO_DECRYPT.FIKS]
mov eax, dword [0x140003390]
lea rcx, [rbp + 0x4084]
xor edx, edx
mov dword [rbp + 0x4080], eax
mov r8d, 0xfec
movaps xmmword [rbp + 0x4070], xmm0
call sub.VCRUNTIME140.dll_memset
mov eax, dword [str..FIKS]
lea rcx, [rbp + 0x5076]
mov dword [rbp + 0x5070], eax
xor edx, edx
movzx eax, word [0x140003398]
mov r8d, 0xffa
mov word [rbp + 0x5074], ax
call sub.VCRUNTIME140.dll_memset
mov r12d, 1
nop dword [rax + rax]
xor bl, bl
lea rdi, [rbp + 0x2070]
mov esi, 4
nop
mov rdx, rdi
lea rcx, [rsp + 0x5c]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
movzx ebx, bl
cmovne ebx, r12d
add rdi, 0x1000
sub rsi, r12
jne 0x140001800
test bl, bl
jne 0x14000189e
movzx ecx, byte [rsp + 0x5c]
movzx eax, byte [rsp + 0x5d]
cmp cl, 0x2e
jne 0x140001849
test al, al
je 0x14000189e
cmp cl, cl
jne 0x140001849
cmp al, cl
jne 0x140001849
cmp byte [rsp + 0x5e], bl
je 0x14000189e
lea rax, [rsp + 0x5c]
mov r9, r15
lea r8, [0x14000339c]
mov qword [rsp + 0x20], rax
mov edx, 0x1000
lea rcx, [rbp + 0x70]
call fcn.1400010c0
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x140001884
lea rcx, [rbp + 0x70]
call fcn.1400016a0
jmp 0x14000189e
lea rdx, [rsp + 0x5c]
lea rcx, str.File_found:__s_n
call fcn.140001060
lea rcx, [rbp + 0x70]
call fcn.1400013d0
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1400017f0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x6070]
xor rcx, rsp
call fcn.140001be0
lea r11, [rsp + 0x6180]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret