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

Disassembly:
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
test rdx, 0xf
jne 0x4bb24a
mov rax, 0
nop word [rax + rax]
nop dword [rax]
movdqu xmm0, xmmword [rsi + rax]
movdqu xmm1, xmmword [rcx + rax]
pxor xmm0, xmm1
movdqu xmmword [rbx + rax], xmm0
add rax, 0x10
cmp rdx, rax
jne 0x4bb200
ret
sub rdx, 1
mov dil, byte [rsi + rdx]
mov al, byte [rcx + rdx]
xor dil, al
mov byte [rbx + rdx], dil
test rdx, 7
jne 0x4bb220
cmp rdx, 0
je 0x4bb26c
test rdx, 0xf
je 0x4bb1ed
test rdx, 7
jne 0x4bb220
sub rdx, 8
mov rdi, qword [rsi + rdx]
mov rax, qword [rcx + rdx]
xor rdi, rax
mov qword [rbx + rdx], rdi
cmp rdx, 0x10
jge 0x4bb1ed
ret
Function at 0x4bca80
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rbx]
add rax, 0x10
pxor xmm0, xmm1
sub rcx, 0xc
je 0x4bcabf
jb 0x4bcad4
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x20]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x30]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x40]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x50]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x60]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x70]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x80]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x90]
aesdeclast xmm0, xmm1
movups xmmword [rdx], xmm0
ret
Function at 0x4bcb40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x4bcc14
jb 0x4bcc73
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.004bca20
aeskeygenassist xmm1, xmm0, 1
call fcn.004bca40
aeskeygenassist xmm1, xmm2, 2
call fcn.004bca20
aeskeygenassist xmm1, xmm0, 2
call fcn.004bca40
aeskeygenassist xmm1, xmm2, 4
call fcn.004bca20
aeskeygenassist xmm1, xmm0, 4
call fcn.004bca40
aeskeygenassist xmm1, xmm2, 8
call fcn.004bca20
aeskeygenassist xmm1, xmm0, 8
call fcn.004bca40
aeskeygenassist xmm1, xmm2, 0x10
call fcn.004bca20
aeskeygenassist xmm1, xmm0, 0x10
call fcn.004bca40
aeskeygenassist xmm1, xmm2, 0x20
call fcn.004bca20
aeskeygenassist xmm1, xmm0, 0x20
call fcn.004bca40
aeskeygenassist xmm1, xmm2, 0x40
call fcn.004bca20
jmp 0x4bcce1
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.004bc980
aeskeygenassist xmm1, xmm2, 2
call fcn.004bc9e0
aeskeygenassist xmm1, xmm2, 4
call fcn.004bc980
aeskeygenassist xmm1, xmm2, 8
call fcn.004bc9e0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.004bc980
aeskeygenassist xmm1, xmm2, 0x20
call fcn.004bc9e0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.004bc980
aeskeygenassist xmm1, xmm2, 0x80
call fcn.004bc9e0
jmp 0x4bcce1
aeskeygenassist xmm1, xmm0, 1
call fcn.004bc940
aeskeygenassist xmm1, xmm0, 2
call fcn.004bc940
aeskeygenassist xmm1, xmm0, 4
call fcn.004bc940
aeskeygenassist xmm1, xmm0, 8
call fcn.004bc940
aeskeygenassist xmm1, xmm0, 0x10
call fcn.004bc940
aeskeygenassist xmm1, xmm0, 0x20
call fcn.004bc940
aeskeygenassist xmm1, xmm0, 0x40
call fcn.004bc940
aeskeygenassist xmm1, xmm0, 0x80
call fcn.004bc940
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.004bc940
aeskeygenassist xmm1, xmm0, 0x36
call fcn.004bc940
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x4bccee
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret
Function at 0x14000265c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x13e0
call fcn.140079c80
sub rsp, rax
mov rax, qword [0x1400a0040]
xor rax, rsp
mov qword [rsp + 0x13d0], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
and dword [rsp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
and qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
mov dword [rsp + 0x20], 1
mov edi, 0x1e
mov edx, edi
call fcn.14000343c
and qword [rbx + 0x10], 0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
or dword [rsp + 0x13c4], 0xffffffff
mov dword [rsp + 0x44], eax
lea edx, [rdi - 0x1d]
mov r8d, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [rsp + rdx*4 + 0x44], ecx
inc rdx
cmp rdx, r8
jb 0x1400026e2
mov dword [rsp + 0x40], r8d
and qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0x5b
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.140003ba8
lea r9, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz___________:_._____
mov r9b, byte [rax + r9]
mov rcx, qword [rbx + 0x10]
cmp rcx, qword [rbx + 0x18]
jae 0x140002755
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000274a
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000275d
mov rcx, rbx
call fcn.140003538
sub rdi, 1
jne 0x140002711
mov rax, rbx
mov rcx, qword [rsp + 0x13d0]
xor rcx, rsp
call fcn.140077df0
mov rbx, qword [rsp + 0x13f8]
add rsp, 0x13e0
pop rdi
ret
Function at 0x140003fd4
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r9, qword [rcx]
mov ebx, 0x270
mov ecx, dword [r9]
cmp ecx, ebx
jne 0x14000403f
lea r8, [r9 + 8]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, r10d
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub rbx, 1
jne 0x140004002
mov ecx, dword [r9]
jmp 0x140004115
cmp ecx, 0x4e0
jb 0x140004115
lea rbx, [r9 + 0x9c4]
mov esi, 0xe3
mov edi, dword [rbx]
mov r10d, 0x7fffffff
mov r11d, 0x9908b0df
mov eax, edi
mov r8, rbx
mov edx, eax
add rbx, 4
mov edi, dword [rbx]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rsi, 1
jne 0x140004065
lea rbx, [r9 + 0xd50]
mov esi, 0x18c
mov edi, dword [rbx]
mov eax, edi
mov r8, rbx
mov edx, eax
add rbx, 4
mov edi, dword [rbx]
xor edx, edi
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rsi, 1
jne 0x1400040aa
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
and edx, r10d
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, r11d
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and edx, 0xffffdf8c
shl edx, 0xf
mov ecx, edx
xor rcx, rax
mov rax, rcx
shr rax, 0x12
xor rax, rcx
ret
Function at 0x140006c2c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400a0040]
xor rax, rsp
mov qword [rbp - 8], rax
xor r12d, r12d
mov r15, r8
mov qword [rdx], r12
mov rbx, rdx
mov qword [rdx + 8], r12
mov r14d, r12d
mov dword [rdx + 0x10], r12d
movsxd rsi, dword [r8 + 0x3c]
add rsi, r8
movzx eax, word [rsi + 0x14]
lea rdi, [rsi + 0x18]
add rdi, rax
cmp r12w, word [rsi + 6]
jae 0x140006d61
xorps xmm0, xmm0
mov qword [rbp - 0x18], r12
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x10], r12
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], r12b
jne 0x140006c9a
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140003658
mov rdx, qword [rbp - 0x10]
lea rax, [rbp - 0x28]
mov rcx, qword [rbp - 0x28]
cmp rdx, 0xf
cmova rax, rcx
cmp qword [rbp - 0x18], 5
jne 0x140006d1e
cmp dword [rax], 0x7865742e
jne 0x140006d1e
cmp byte [rax + 4], 0x74
jne 0x140006d1e
mov r9d, dword [rdi + 0xc]
mov r8d, r12d
mov r11d, dword [rdi + 8]
add r9, r15
mov qword [rbp - 0x40], rdi
mov r10, r12
mov qword [rbp - 0x38], r9
test r11, r11
je 0x140006d09
movzx eax, byte [r9 + r10]
inc r10
crc32 r8d, eax
cmp r10, r11
jb 0x140006cf6
movups xmm0, xmmword [rbp - 0x40]
mov dword [rbp - 0x30], r8d
movsd xmm1, qword [rbp - 0x30]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
cmp rdx, 0xf
jbe 0x140006d4d
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006d48
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006d89
call fcn.140078120
movzx eax, word [rsi + 6]
inc r14d
add rdi, 0x28
cmp r14d, eax
jl 0x140006c87
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140077df0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3

Function at 0x140006f94
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.140077e10
mov qword [rax], rbx
mov qword [rsp + 0x40], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14000701c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x140006fee
mov rax, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
and dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14000bb7c
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1400a0040]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x14000bbe4
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov rcx, rbx
test eax, eax
je 0x14000bc14
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14000bbc4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140077df0
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov dword [0x14014ea00], eax
jmp 0x14000bbf3
Function at 0x14000c118
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax]
xor ebx, ebx
mov eax, dword [rcx + rax]
cmp dword [0x1401501b8], eax
jle 0x14000c1e2
lea rcx, [0x1401501b8]
call fcn.1400781fc
cmp dword [0x1401501b8], 0xffffffff
jne 0x14000c1e2
xorps xmm0, xmm0
movups xmmword [0x140150198], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x1401501a8], xmm1
mov qword [rsp + 0x30], 0x2f
lea rdx, [rsp + 0x30]
call fcn.140003e1c
mov rdx, rax
mov qword [0x140150198], rax
mov qword [0x1401501a8], 0x22
mov rax, qword [rsp + 0x30]
mov qword [0x1401501b0], rax
movups xmm0, xmmword [str.SystemCurrentControlSetServices_]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [0x140086120]
movups xmmword [rdx + 0x10], xmm1
movzx eax, word [0x140086130]
mov word [rdx + 0x20], ax
mov byte [rdx + 0x22], bl
lea rcx, [0x14007dbd0]
call fcn.14007849c
nop
lea rcx, [0x1401501b8]
call fcn.140078190
lea rdx, [0x140150198]
cmp qword [0x1401501b0], 0xf
cmova rdx, qword [0x140150198]
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea rdx, [0x14014d6c0]
cmp qword [0x14014d6d8], 0xf
cmova rdx, qword [0x14014d6c0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x14000c242
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x14000c242
mov bl, 1
mov al, bl
add rsp, 0x20
pop rbx
ret
Function at 0x14000c24c
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400a0040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rdx
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov qword [rbp - 0x40], 0x2f
lea rdx, [rbp - 0x40]
call fcn.140003e1c
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x28], 0x22
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x20], rcx
movups xmm0, xmmword [str.SystemCurrentControlSetServices_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140086120]
movups xmmword [rax + 0x10], xmm1
movzx ecx, word [0x140086130]
mov word [rax + 0x20], cx
xor edi, edi
mov byte [rax + 0x22], dil
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.140002e10
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rdx, qword [rbp - 0x38]
lea r8, [rbp - 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x14000c3ce
mov byte [rbp - 0x50], 1
lea ebx, [rdi + 4]
mov dword [rsp + 0x28], ebx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000c3ce
mov byte [rbp - 0x4f], 3
mov dword [rsp + 0x28], ebx
lea rax, [rbp - 0x4f]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000c3ce
mov byte [rbp - 0x4e], 3
mov dword [rsp + 0x28], ebx
lea rax, [rbp - 0x4e]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000c3ce
mov eax, dword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x14000c397
mov rsi, qword [rsi]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000c3ce
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
sete dil
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14000c40c
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c407
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c407
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140078120
mov al, dil
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140077df0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000fb60
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1400a0040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [rcx]
mov rbx, rdx
add rcx, 0x68
mov qword [rsp + 0x28], rdx
call fcn.140012318
test rax, rax
je 0x14000fb9b
mov rdx, rax
mov rcx, rbx
call fcn.14000fa8c
jmp 0x14000fbfd
movdqa xmm0, xmmword [0x140093540]
xor ecx, ecx
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x40], 0x2461
mov byte [rsp + 0x42], 0
mov al, byte [rsp + 0x30]
xor byte [rsp + rcx + 0x31], al
inc rcx
cmp rcx, 0x11
jb 0x14000fbb7
xorps xmm0, xmm0
mov byte [rsp + 0x42], 0
movups xmmword [rbx], xmm0
and qword [rbx + 0x10], 0
lea rax, [rsp + 0x31]
and qword [rbx + 0x18], 0
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14000fbe6
lea rdx, [rsp + 0x31]
mov rcx, rbx
call fcn.140003658
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140077df0
add rsp, 0x50
pop rbx
ret

Function at 0x140010814
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140010844
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x1400108bc
mov rax, qword [rcx + 0x40]
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x14001085b
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14001085d
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400108b6
test ecx, ecx
jle 0x140010896
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400108b6
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400108b6
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
sub rsi, rbx
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1400108d8
Capabilities:
Read file on windows

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 r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x140010906
xor eax, eax
jmp 0x1400109ef
cmp qword [rcx + 0x68], 0
je 0x140010918
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x1400109ef
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14001092f
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140010931
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140010963
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1400109e9
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14001099a
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1400109c4
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1400109e9
cmp rsi, rbx
ja 0x1400109a1
test rsi, rsi
je 0x1400109e9
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140010dd4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400a0040]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x140010e0d
xor eax, eax
jmp 0x140010f2d
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x140010e47
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x140010e47
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x140010f2d
cmp qword [rbx + 0x80], 0
je 0x140010f2b
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140010e82
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140010ea3
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
jmp 0x140010f28
lea rax, [rbp - 0x38]
mov byte [rbp - 0x40], sil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x3f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x40]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140010ef1
sub eax, 1
je 0x140010ef1
cmp eax, 2
jne 0x140010f2b
movsx ecx, byte [rbp - 0x40]
jmp 0x140010e8f
mov r14, qword [rbp - 0x38]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x140010f1c
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r14, rax
jne 0x140010f2b
lea rax, [rbp - 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x30], rax
cmovne edi, esi
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140077df0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140011b38
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400a0040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140011ba7
cmp byte [rcx + 0x71], 0
je 0x140011ba7
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140011bfc
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140011bc1
sub eax, 1
je 0x140011bc5
cmp eax, 2
jne 0x140011bfc
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140077df0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140011bf3
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140011bfc
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140011ba9
xor al, al
jmp 0x140011ba9