joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000be20
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000be82
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000d950
test al, al
jne 0x14000be94
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000be50
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x4f
mov dword [rbp - 0x20], 0x1c001a
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x1d000b
mov dword [rbp - 0x18], 0x2b002d
mov dword [rbp - 0x14], 0x37002d
mov dword [rbp - 0x10], 0x24003d
call fcn.140005b80
mov rcx, rax
call 0x14000be20
mov qword [0x1400111b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x6e
mov dword [rbp - 0x20], 0x1c001a
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x1d000b
mov dword [rbp - 0x18], 0x2b002d
mov dword [rbp - 0x14], 0x44005c
call fcn.140002670
mov rcx, rax
call 0x14000be20
lea rcx, [rbp - 0x20]
mov qword [0x1400111a8], rax
mov dword [rbp - 0x20], 0x2d003f
mov dword [rbp - 0x1c], 0x3f003d
mov dword [rbp - 0x18], 0x670004
call fcn.1400059c0
mov rcx, rax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp 0x14000be20
Function at 0x14000cff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000d21e
mov word [rbp + 0x50], 0x5951
mov word [rbp + 0x58], 0x5951
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.1400019f0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000d0a4
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.1400019f0
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000d090
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.1400019f0
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000d0d5
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.1400019f0
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000d0c0
cmp rdi, rbx
jne 0x14000d1f2
mov r13, rsi
mov word [rbp - 0x50], 0x5951
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.1400019f0
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000d116
lea rcx, [rbp - 0x50]
inc rbx
call fcn.1400019f0
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000d102
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000d218
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x590030
call fcn.1400028d0
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000d188
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x59002b
call fcn.1400028d0
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000d188
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x590030
mov dword [rbp - 0x42], 0x590010
call fcn.1400028d0
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.1400028d0
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x590030
call fcn.1400028d0
movzx eax, word [rax]
cmp edi, eax
jl 0x14000d1e5
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x59002b
call fcn.1400028d0
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000d1e5
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x590030
mov dword [rbp - 0x32], 0x590010
call fcn.1400028d0
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.1400028d0
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000d1f2
inc r14
jmp 0x14000d0f0
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000d21e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000d060
mov rax, qword [rbp - 8]
jmp 0x14000d220
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000e190
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000be82
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000d950
test al, al
jne 0x14000be94
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000be50
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x4f
mov dword [rbp - 0x20], 0x1c001a
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x1d000b
mov dword [rbp - 0x18], 0x2b002d
mov dword [rbp - 0x14], 0x37002d
mov dword [rbp - 0x10], 0x24003d
call fcn.140005b80
mov rcx, rax
call 0x14000be20
mov qword [0x1400111b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x6e
mov dword [rbp - 0x20], 0x1c001a
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x1d000b
mov dword [rbp - 0x18], 0x2b002d
mov dword [rbp - 0x14], 0x44005c
call fcn.140002670
mov rcx, rax
call 0x14000be20
lea rcx, [rbp - 0x20]
mov qword [0x1400111a8], rax
mov dword [rbp - 0x20], 0x2d003f
mov dword [rbp - 0x1c], 0x3f003d
mov dword [rbp - 0x18], 0x670004
call fcn.1400059c0
mov rcx, rax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp 0x14000be20

Function at 0x140e9df5c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140e9df66
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140e9df8f
pop rbp
sub rbp, 0x33
sub rbp, 0xe9df5c
sub rsp, 0x20
jmp 0x140e9dfae
mov rax, 0xe9df5c
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0x48037567
xor byte [rax], dl
inc rax
dec rcx
jne 0x140e9dfcd
jmp 0x140e9dfe4
invalid
Function at 0x1400292ec
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c9b4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c9b4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002943c
cmp rax, 0xffffffffffffffff
je 0x14002943c
xor edi, edi
test rbp, rbp
jle 0x1400293e7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f2e0
mov rbx, rax
test rax, rax
jne 0x140029374
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400293dd
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a2e8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d690
cmp eax, 0xffffffff
je 0x1400293bd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029384
mov edx, r15d
mov ecx, r14d
call fcn.14001a2e8
jmp 0x1400293dd
cmp byte [rsi + 0x38], dil
je 0x1400293d4
cmp dword [rsi + 0x34], 5
jne 0x1400293d4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400293dd
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b07c
jmp 0x140029450
jns 0x140029450
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c9b4
cmp rax, 0xffffffffffffffff
jne 0x140029408
cmp byte [rsi + 0x30], dil
je 0x140029450
mov edi, dword [rsi + 0x2c]
jmp 0x140029450
mov ecx, r14d
call fcn.1400187a4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029450
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029450
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029449
mov eax, dword [rsi + 0x2c]
jmp 0x14002944e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c9b4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140001330
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x18
syscall
ret

Function at 0x14000133b
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0x3a
syscall
ret

Function at 0x140001346
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 0xc7
syscall
ret

Function at 0x140001351
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, 4
syscall
ret
Function at 0x1400f1570
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140190028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add rsi, rdi
xor r15d, r15d
lea r14, [rsp + 0x2c]
mov r12, qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1400f15be
mov rdx, rcx
add rdi, rdx
cmp al, 1
je 0x1400f15fc
cmp rdi, rsi
jae 0x1400f15fc
mov dword [rsp + 0x2c], 0
mov r8d, esi
sub r8d, edi
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call r12
test eax, eax
sete dl
mov ecx, dword [rsp + 0x2c]
test rcx, rcx
sete al
or al, dl
mov edx, 0
jne 0x1400f15b7
jmp 0x1400f15b4
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a5d70
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400fbc60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x1400fbdae
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140190028]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x60], 0
je 0x1400fbe0a
mov edi, dword [rsi + 0x5c]
test bl, bl
je 0x1400fbdea
mov dword [rsi + 0x5c], 0xffffffff
mov byte [rsi + 0x60], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400a5d70
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsi + 0x61], 0
je 0x1400fbe4d
mov rcx, qword [rsi + 0x40]
call fcn.1400c4f94
mov edi, 0xffffffff
cmp eax, 0xffffffff
je 0x1400fbdea
test bl, bl
je 0x1400fbe31
movzx ebx, al
mov dword [rsi + 0x5c], ebx
mov edi, ebx
jmp 0x1400fbdea
mov rdx, qword [rsi + 0x40]
movzx ebx, al
mov ecx, ebx
call fcn.1400c8808
cmp eax, 0xffffffff
jne 0x1400fbe2d
jmp 0x1400fbdea
mov edi, 0xffffffff
jmp 0x1400fbdea
movabs rdi, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], rdi
mov eax, dword [rsi + 0x58]
cmp eax, 2
mov r15d, 1
cmovge r15d, eax
xor r14d, r14d
mov rcx, qword [rsi + 0x40]
call fcn.1400c4f94
cmp eax, 0xffffffff
je 0x1400fbe46
mov byte [rsp + r14 + 0x58], al
inc r14
cmp r15, r14
jne 0x1400fbe6f
lea rax, [rsp + 0x58]
mov byte [rax - 1], 0xaa
lea rax, [rsp + 0x48]
mov qword [rax], rdi
lea rbp, [rsp + 0x40]
mov qword [rbp], rdi
mov edi, 0xffffffff
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r14d, dword [rdx]
movzx r12d, word [rdx + 4]
movzx r13d, word [rdx + 6]
lea r9, [rsp + r15 + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], rbp
lea r8, [rsp + 0x58]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x57]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x58]
call qword [0x1401bc008]
cmp eax, 1
jne 0x1400fbf37
mov rax, qword [rsi + 0x50]
mov dword [rax], r14d
mov word [rax + 4], r12w
mov word [rax + 6], r13w
cmp r15d, 8
je 0x1400fbdea
mov rcx, qword [rsi + 0x40]
call fcn.1400c4f94
cmp eax, 0xffffffff
je 0x1400fbdea
mov byte [rsp + r15 + 0x58], al
inc r15
jmp 0x1400fbea9
cmp eax, 2
je 0x1400fbdea
cmp eax, 3
jne 0x1400fbf4d
mov al, byte [rsp + 0x58]
mov byte [rsp + 0x57], al
test bl, bl
je 0x1400fbf68
movzx edi, byte [rsp + 0x57]
mov dword [rsi + 0x5c], edi
jmp 0x1400fbdea
movzx edi, byte [rsp + 0x57]
jmp 0x1400fbdea
test r15, r15
jle 0x1400fbf5e
mov rdx, qword [rsi + 0x40]
dec r15
mov eax, r15d
movzx ecx, byte [rsp + rax + 0x58]
call fcn.1400c8808
cmp eax, 0xffffffff
jne 0x1400fbf68
jmp 0x1400fbdea

Function at 0x1400fc850
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400fc887
movabs rcx, 0xf000000000000000
shl rax, 4
movsx r9, byte [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
inc rdx
cmp rdx, r8
jne 0x1400fc861
ret
Function at 0x1400fc8f0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400fc928
movabs rcx, 0xf000000000000000
shl rax, 4
movzx r9d, word [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
add rdx, 2
cmp rdx, r8
jne 0x1400fc901
ret

Function at 0x1401126a0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov edi, edx
mov rsi, rcx
mov rax, qword [0x140190028]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x140112711
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x14011271b
mov dil, 1
test bl, bl
je 0x1401126fa
cmp byte [rsi + 8], 0
je 0x140112716
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400a5d70
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsi]
jmp 0x1401126cd
mov rcx, qword [rsi]
jmp 0x1401126ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 0
je 0x140112743
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140112748
xor edi, edi
jmp 0x1401126fa
mov rcx, qword [rsi]
jmp 0x140112730
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 0
je 0x14011276f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dil, 1
jmp 0x1401126fa
mov rcx, qword [rsi]
jmp 0x14011275f
Function at 0x140121e70
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
movdqa xmmword [rsp + 0x50], xmm9
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x20], xmm6
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
xor eax, eax
movdqa xmm0, xmmword [rsi + rax]
pxor xmm0, xmmword [rdi + rax]
movdqa xmmword [rsi + rax], xmm0
add rax, 0x10
cmp rax, 0x80
jne 0x140121ea0
cmp rbx, 2
jb 0x140121f88
lea r14, [rdi + 0x80]
mov r15d, 1
movdqa xmm6, xmmword [0x140176790]
movdqa xmm7, xmmword [0x1401767a0]
movdqa xmm8, xmmword [0x1401767b0]
movdqa xmm9, xmmword [0x1401767c0]
mov rcx, rsi
call fcn.140131d90
xor eax, eax
movdqa xmm0, xmmword [rsi + rax]
movdqa xmm1, xmm0
pand xmm1, xmm6
pshufd xmm2, xmm0, 0x39
pand xmm2, xmm7
por xmm2, xmm1
pshufd xmm1, xmm0, 0x4e
pand xmm0, xmm8
movdqa xmm3, xmm0
pslldq xmm3, 4
psrldq xmm0, 0xc
por xmm0, xmm3
pand xmm1, xmm9
por xmm1, xmm0
por xmm1, xmm2
movdqa xmmword [rsi + rax], xmm1
add rax, 0x10
cmp rax, 0x80
jne 0x140121efe
mov rcx, rsi
call fcn.140132280
xor eax, eax
movdqa xmm0, xmmword [rsi + rax]
pxor xmm0, xmmword [r14 + rax]
movdqa xmmword [rsi + rax], xmm0
add rax, 0x10
cmp rax, 0x80
jne 0x140121f5c
inc r15
sub r14, 0xffffffffffffff80
cmp r15, rbx
jne 0x140121ef4
mov rcx, rsi
call fcn.140131d90
xor eax, eax
movdqa xmm0, xmmword [0x140176790]
movdqa xmm1, xmmword [0x1401767a0]
movdqa xmm2, xmmword [0x1401767b0]
movdqa xmm3, xmmword [0x1401767c0]
movdqa xmm4, xmmword [rsi + rax]
movdqa xmm5, xmm4
pand xmm5, xmm0
pshufd xmm6, xmm4, 0x39
pand xmm6, xmm1
por xmm6, xmm5
pshufd xmm5, xmm4, 0x4e
pand xmm4, xmm2
movdqa xmm7, xmm4
pslldq xmm7, 4
psrldq xmm4, 0xc
por xmm4, xmm7
pand xmm5, xmm3
por xmm5, xmm4
por xmm5, xmm6
movdqa xmmword [rsi + rax], xmm5
add rax, 0x10
cmp rax, 0x80
jne 0x140121fb2
shl rbx, 7
add rdi, rbx
xor eax, eax
movdqa xmm0, xmmword [rsi + rax]
pxor xmm0, xmmword [rdi + rax]
movdqa xmmword [rsi + rax], xmm0
add rax, 0x10
cmp rax, 0x80
jne 0x14012200d
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140122410
Capabilities:
Encode data using xor

Disassembly:
movsxd r9, dword [rdx + 8]
mov r8, qword [rdx]
movsxd rdx, dword [rcx + 8]
mov rcx, qword [rcx]
jmp fcn.14007c780

Function at 0x140123600
Capabilities:
Encode data using xor

Disassembly:
push rsi
movsxd r9, dword [rcx + 8]
movsxd rax, dword [rdx + 8]
cmp r9d, eax
jge 0x140123625
mov r10, qword [rdx]
xor r8d, r8d
mov r11, r9
or r8, qword [r10 + r11*8]
inc r11
cmp rax, r11
jne 0x140123617
jmp 0x140123628
xor r8d, r8d
cmp eax, r9d
jge 0x14012363f
mov r10, qword [rcx]
mov r11, rax
or r8, qword [r10 + r11*8]
inc r11
cmp r9, r11
jne 0x140123633
cmp r9d, eax
cmovl eax, r9d
test eax, eax
jle 0x140123668
mov r9, qword [rcx]
mov r10, qword [rdx]
mov eax, eax
xor r11d, r11d
mov rsi, qword [r10 + r11*8]
xor rsi, qword [r9 + r11*8]
or r8, rsi
inc r11
cmp rax, r11
jne 0x140123655
mov eax, dword [rdx + 0x10]
xor eax, dword [rcx + 0x10]
movsxd rcx, eax
xor eax, eax
or rcx, r8
sete al
pop rsi
ret
Function at 0x140128390
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov edx, dword [rcx + 8]
test edx, edx
jle 0x140128507
mov rcx, qword [rcx]
shl rdx, 6
xor r8d, r8d
xor eax, eax
xor r9d, r9d
mov rsi, qword [rcx]
mov r11, rsi
shl r11, 0x20
mov r10, r11
not r10
dec r11
and r11, r10
sar r11, 0x3f
mov r10d, r11d
mov rdi, rsi
shr rdi, 0x20
and edi, r11d
not r11
and r11, rsi
or r11, rdi
mov rbx, r11
shl rbx, 0x30
mov rdi, rbx
dec rbx
not rdi
and rbx, rdi
sar rbx, 0x3f
mov r14, r11
mov edi, ebx
shr r14, 0x10
xor r14, r11
and r14, rbx
xor r14, r11
mov r12, r14
shl r12, 0x38
lea r11, [rsi - 1]
mov rbx, r12
not rbx
dec r12
and r12, rbx
sar r12, 0x3f
mov r15, r14
shr r15, 8
mov ebx, r12d
xor r15, r14
and r15, r12
and r10d, 0x20
xor r15, r14
mov r12, r15
shl r12, 0x3c
mov r13, rsi
mov rsi, r12
not rsi
dec r12
and r12, rsi
sar r12, 0x3f
mov r14, r15
shr r14, 4
mov esi, r12d
xor r14, r15
and r14, r12
not r13
xor r14, r15
mov r12, r14
shl r12, 0x3e
and r11, r13
mov r15, r12
not r15
dec r12
and edi, 0x10
and r12, r15
sar r12, 0x3f
mov ebp, r12d
mov r15d, r14d
shr r15d, 2
xor r15d, r14d
or edi, r10d
and r15d, r12d
sar r11, 0x3f
and ebx, 8
or ebx, edi
mov r10, r11
not r10
and esi, 4
or esi, ebx
or r10, r9
xor r15d, r14d
shl r15, 0x3f
and ebp, 2
mov rdi, r15
not rdi
dec r15
or ebp, esi
and r15, rdi
shr r15, 0x3f
or r15d, ebp
or r15d, r8d
or r9d, r11d
not r9d
and r9d, r15d
or eax, r9d
add r8, 0x40
add rcx, 8
mov r9, r10
cmp rdx, r8
jne 0x1401283b6
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x1401284fa

Function at 0x14012a100
Capabilities:
Hash data using sha512

Disassembly:
push rsi
push rdi
sub rsp, 0x108
mov rsi, r8
mov r8, rdx
mov rdx, rcx
mov rax, qword [0x140190028]
xor rax, rsp
mov qword [rsp + 0x100], rax
movaps xmm0, xmmword [0x140163e40]
lea rdi, [rsp + 0x28]
movups xmmword [rdi + 0xc0], xmm0
movups xmmword [rdi + 0xb0], xmm0
movups xmmword [rdi + 0xa0], xmm0
movups xmmword [rdi + 0x90], xmm0
movups xmmword [rdi + 0x80], xmm0
movups xmmword [rdi + 0x70], xmm0
movups xmmword [rdi + 0x60], xmm0
movups xmmword [rdi + 0x50], xmm0
movabs rax, 0x6a09e667f3bcc908
mov qword [rdi], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rdi + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rdi + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rdi + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rdi + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rdi + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rdi + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rdi + 0x38], rax
movabs rax, 0x4000000000
mov qword [rdi + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rdi + 0x40], xmm0
mov rcx, rdi
call fcn.140080150
mov edx, dword [rdi + 0xd4]
mov rcx, rsi
mov r8, rdi
call fcn.140083af0
mov edx, 0xd8
mov rcx, rdi
call fcn.14004b640
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1400a5d70
mov rax, rsi
add rsp, 0x108
pop rdi
pop rsi
ret