joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003cb10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x30
movaps xmmword [rsp + 0x20], xmm6
mov rbx, rcx
movsd xmm6, qword [0x140215b40]
movaps xmm0, xmm6
call fcn.14016b53c
movsd xmm1, qword [0x140215b38]
divsd xmm1, xmm0
movaps xmm0, xmm1
call fcn.140170e40
movsd xmm2, qword [0x140215b30]
mov ecx, 1
cvttsd2si eax, xmm0
xorps xmm3, xmm3
xorps xmm0, xmm0
cmp eax, ecx
cmovl eax, ecx
test eax, eax
jle 0x14003cd12
mov edx, dword [rbx]
mov qword [rsp + 0x40], rsi
xor esi, esi
mov qword [rsp + 0x48], rdi
mov edi, eax
cmp edx, 0x270
jne 0x14003cbd0
lea r8, [rbx + 8]
mov r9d, edx
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x14003cb90
mov edx, dword [rbx]
jmp 0x14003ccb0
cmp edx, 0x4e0
jb 0x14003ccb0
lea r10, [rbx + 0x9c4]
mov r11d, 0xe3
mov eax, dword [r10]
nop dword [rax]
mov edx, dword [r10 + 4]
lea r8, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
jne 0x14003cbf0
lea r10, [rbx + 0xd50]
mov r11d, 0x18c
mov eax, dword [r10]
nop dword [rax]
mov edx, eax
lea r8, [r10 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd4c]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
jne 0x14003cc40
mov edx, dword [rbx + 0x1380]
xor edx, dword [rbx + 4]
btr edx, 0x1f
xor edx, dword [rbx + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [rbx + 0x634]
xor ecx, edx
mov edx, esi
mov dword [rbx + 0x9c0], ecx
mov dword [rbx], esi
mov eax, edx
xorps xmm1, xmm1
inc edx
mov ecx, dword [rbx + rax*4 + 4]
mov eax, ecx
shr eax, 0xb
and eax, dword [rbx + 0x1384]
xor ecx, eax
mov dword [rbx], edx
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cvtsi2sd xmm1, rax
subsd xmm1, xmm3
mulsd xmm1, xmm2
mulsd xmm2, xmm6
addsd xmm0, xmm1
sub rdi, 1
jne 0x14003cb76
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x20]
divsd xmm0, xmm2
add rsp, 0x30
pop rbx
ret
Function at 0x140049d20
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
movzx r9d, byte [r8]
mov r10, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov rbx, rdx
movzx eax, byte [r8 + 1]
mov r11, r8
mov rdx, qword [r10 + 0x30]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 2]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 3]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 4]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 5]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 6]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 7]
mov r8, qword [r10 + 8]
imul r9, rcx
xor r9, rax
mov rax, qword [r10 + 0x18]
imul r9, rcx
and rdx, r9
add rdx, rdx
mov r9, qword [rax + rdx*8]
lea r10, [rax + rdx*8]
mov rcx, r9
nop
cmp r9, r8
jne 0x140049dca
mov rax, r8
jmp 0x140049dd1
mov rax, qword [r10 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x140049df0
mov rax, qword [r11]
cmp qword [rcx + 0x10], rax
je 0x140049de4
mov rcx, qword [rcx]
jmp 0x140049dc0
mov qword [rbx], rcx
mov rax, rbx
mov rbx, qword [rsp + 8]
ret
mov qword [rbx], r8
mov rax, rbx
mov rbx, qword [rsp + 8]
ret
Function at 0x14004ab40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rdi
mov eax, 0x1450
call fcn.1401443a0
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x1468], rbx
mov qword [rsp + 0x1470], rsi
movaps xmmword [rsp + 0x1440], xmm6
mov rax, qword [0x140e22df8]
xor rax, rsp
mov qword [rsp + 0x1430], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
movdqa xmm0, xmmword [0x140215b90]
movdqu xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x140215ba0]
movdqu xmmword [rsp + 0x80], xmm1
mov dword [rsp + 0x90], 0xab
mov dword [rsp + 0x94], 0xac
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], 0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.14003c2f0
nop
lea rcx, [rsp + 0x50]
call fcn.140080d60
mov dword [rsp + 0x1424], 0xffffffff
mov edx, dword [rax]
mov dword [rsp + 0xa4], edx
mov r8d, 1
mov ecx, r8d
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, r8d
mov dword [rsp + rcx*4 + 0xa4], edx
inc r8d
inc rcx
cmp rcx, 0x270
jl 0x14004ac20
mov dword [rsp + 0xa0], 0x270
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
sub rbx, rdi
sar rbx, 2
xorps xmm0, xmm0
cvtsi2sd xmm0, rbx
test rbx, rbx
jns 0x14004ac77
addsd xmm0, qword [0x140215b58]
movsd xmm6, qword [0x140215b30]
movaps xmm1, xmm6
divsd xmm1, xmm0
movsd xmm0, qword [0x140215b28]
call fcn.140171440
movaps xmm1, xmm6
subsd xmm1, xmm0
subsd xmm6, xmm1
movaps xmm0, xmm6
call fcn.140170f10
movaps xmm6, xmm0
nop dword [rax]
lea rcx, [rsp + 0xa0]
call fcn.14003cb10
call fcn.140170f10
divsd xmm0, xmm6
cvttsd2si eax, xmm0
movsxd rcx, eax
cmp rcx, rbx
jae 0x14004acb0
mov edx, dword [rdi + rcx*4]
mov rcx, rsi
call fcn.140055b70
nop
test rdi, rdi
je 0x14004ad18
mov rdx, qword [rsp + 0x38]
sub rdx, rdi
and rdx, 0xfffffffffffffffc
mov rax, rdi
cmp rdx, 0x1000
jb 0x14004ad10
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ad45
mov rcx, rdi
call fcn.140143924
mov rax, rsi
mov rcx, qword [rsp + 0x1430]
xor rcx, rsp
call fcn.140143d80
lea r11, [rsp + 0x1450]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rdi
ret
call fcn.140165594
int3
Function at 0x14005ec00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov r15, rdx
lea r14, [rdx - 1]
mov rdi, rcx
xor r13d, r13d
movabs r12, 0xb5026f5aa96619e9
nop dword [rax]
nop word [rax + rax]
mov rsi, r13
mov rbp, r13
test r14, r14
je 0x14005ee34
mov r8, qword [rdi + 8]
lea ecx, [r8 + 0xff]
movabs r14, 0x38eb3ffff6d3
shl rsi, cl
add rsi, rsi
nop word [rax + rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x138
jne 0x14005ecd5
lea rax, [r10 + 0x10]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 8]
xor r8d, dword [rax]
lea rax, [rax + 8]
btr r8d, 0x1f
xor r8, qword [rax - 0x10]
movzx ecx, r8b
and cl, 1
neg cl
sbb rdx, rdx
shr r8, 1
and rdx, r12
xor rdx, qword [rax + 0x4d0]
xor rdx, r8
mov qword [rax + 0x9b0], rdx
sub r9, 1
jne 0x14005ec90
mov ecx, dword [r10]
jmp 0x14005edbb
cmp ecx, 0x270
jb 0x14005edbb
lea r11, [r10 + 0x9c8]
mov ebx, 0x9c
mov rax, qword [r11]
mov rdx, rax
lea r8, [r11 + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r12
xor rcx, qword [r11 + 0x4e0]
xor rcx, rdx
mov qword [r11 - 0x9c0], rcx
lea r11, [r8]
sub rbx, 1
jne 0x14005ecf0
lea r11, [r10 + 0xea8]
mov ebx, 0x9b
mov rax, qword [r11]
nop dword [rax]
mov rdx, rax
lea r8, [r11 + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r12
xor rcx, qword [r11 - 0xea0]
xor rcx, rdx
mov qword [r11 - 0x9c0], rcx
lea r11, [r8]
sub rbx, 1
jne 0x14005ed40
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 8]
btr edx, 0x1f
xor rdx, qword [r10 + 0x1380]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r12
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
mov ecx, r13d
mov dword [r10], r13d
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
xor rdx, rax
mov rax, rdx
and rax, r14
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
mov rdx, qword [rdi + 0x10]
cmp rax, rdx
ja 0x14005ec70
mov r8, qword [rdi + 8]
lea r14, [r15 - 1]
or rsi, rax
lea ecx, [r8 + 0xff]
shl rbp, cl
add rbp, rbp
or rbp, rdx
cmp rbp, r14
jb 0x14005ec53
xor edx, edx
mov rax, rbp
div r15
mov rcx, rax
mov r8, rdx
xor edx, edx
mov rax, rsi
div r15
cmp rax, rcx
jb 0x14005ee58
cmp r8, r14
jne 0x14005ec40
mov rbx, qword [rsp + 0x28]
mov rax, rsi
mov rbp, qword [rsp + 0x30]
xor edx, edx
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
div r15
mov rax, rdx
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x14005f0c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov rax, qword [rcx + 8]
xor r15d, r15d
mov esi, r15d
mov ebp, r15d
mov rdi, rcx
movabs r14, 0xb5026f5aa96619e9
movabs r12, 0x38eb3ffff6d3
nop
lea ecx, [rax + 0xff]
shl rsi, cl
add rsi, rsi
nop dword [rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x138
jne 0x14005f175
lea rax, [r10 + 0x10]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 8]
xor r8d, dword [rax]
lea rax, [rax + 8]
btr r8d, 0x1f
xor r8, qword [rax - 0x10]
movzx ecx, r8b
and cl, 1
neg cl
sbb rdx, rdx
shr r8, 1
and rdx, r14
xor rdx, qword [rax + 0x4d0]
xor rdx, r8
mov qword [rax + 0x9b0], rdx
sub r9, 1
jne 0x14005f130
mov ecx, dword [r10]
jmp 0x14005f25b
cmp ecx, 0x270
jb 0x14005f25b
lea r11, [r10 + 0x9c8]
mov ebx, 0x9c
mov rax, qword [r11]
mov rdx, rax
lea r8, [r11 + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r14
xor rcx, qword [r11 + 0x4e0]
xor rcx, rdx
mov qword [r11 - 0x9c0], rcx
lea r11, [r8]
sub rbx, 1
jne 0x14005f190
lea r11, [r10 + 0xea8]
mov ebx, 0x9b
mov rax, qword [r11]
nop dword [rax]
mov rdx, rax
lea r8, [r11 + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r14
xor rcx, qword [r11 - 0xea0]
xor rcx, rdx
mov qword [r11 - 0x9c0], rcx
lea r11, [r8]
sub rbx, 1
jne 0x14005f1e0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 8]
btr edx, 0x1f
xor rdx, qword [r10 + 0x1380]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r14
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
mov ecx, r15d
mov dword [r10], r15d
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
xor rdx, rax
mov rax, rdx
and rax, r12
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rcx, rdx
shr rcx, 0x2b
xor rcx, rdx
cmp rcx, qword [rdi + 0x10]
ja 0x14005f110
mov rax, qword [rdi + 8]
or rsi, rcx
add rbp, rax
cmp rbp, 0x40
jb 0x14005f100
mov rbx, qword [rsp + 0x20]
mov rax, rsi
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
Function at 0x14007ce60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14007ce94
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14007ce80
ret

Function at 0x14007cea0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x14007cee4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14007ced0
ret

Function at 0x14007eb60
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor eax, eax
mov dword [rsp + 0x20], eax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 0xf
mov byte [rcx], al
mov dword [rsp + 0x20], 1
lea rdx, [r8 + 2]
movabs rbp, 0xaaaaaaaaaaaaaaab
mov rax, rbp
mul rdx
shr rdx, 1
shl rdx, 2
xor r8d, r8d
call fcn.1400844f0
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14007ebd7
mov rcx, qword [rbx]
mov rax, rbp
mul rsi
mov r8, rdx
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
shr r8, 1
je 0x14007ec4f
mov r9, r8
nop
movzx eax, byte [rdi]
shr rax, 2
movzx eax, byte [rax + r10]
mov byte [rcx], al
movsx edx, byte [rdi]
and edx, 3
shl edx, 4
movzx eax, byte [rdi + 1]
shr eax, 4
add edx, eax
movzx eax, byte [rdx + r10]
mov byte [rcx + 1], al
movsx edx, byte [rdi + 1]
and edx, 0xf
movzx eax, byte [rdi + 2]
shr eax, 6
lea eax, [rax + rdx*4]
movzx eax, byte [rax + r10]
mov byte [rcx + 2], al
movsx rax, byte [rdi + 2]
and eax, 0x3f
movzx eax, byte [rax + r10]
mov byte [rcx + 3], al
add rcx, 4
add rdi, 3
sub r9, 1
jne 0x14007ebf0
lea rax, [r8 + r8*2]
sub rsi, rax
sub rsi, 1
je 0x14007eca0
cmp rsi, 1
jne 0x14007ecca
movzx eax, byte [rdi]
shr rax, 2
movzx eax, byte [rax + r10]
mov byte [rcx], al
movsx edx, byte [rdi]
and edx, 3
shl edx, 4
movzx eax, byte [rdi + 1]
shr eax, 4
add edx, eax
movzx eax, byte [rdx + r10]
mov byte [rcx + 1], al
movsx rax, byte [rdi + 1]
and eax, 0xf
movzx eax, byte [r10 + rax*4]
mov byte [rcx + 2], al
mov byte [rcx + 3], 0x3d
jmp 0x14007ecc6
movzx eax, byte [rdi]
shr rax, 2
movzx eax, byte [rax + r10]
mov byte [rcx], al
movsx rax, byte [rdi]
and eax, 3
add rax, rax
movzx eax, byte [r10 + rax*8]
mov byte [rcx + 1], al
mov word [rcx + 2], 0x3d3d
add rcx, 4
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14007ecd7
mov rax, qword [rbx]
sub rcx, rax
xor r8d, r8d
mov rdx, rcx
mov rcx, rbx
call fcn.1400844f0
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140085db0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rsi, rdx
mov rbx, rcx
je 0x140085e4b
mov rdi, r8
test r8, r8
jle 0x140085e40
mov rcx, rbx
call fcn.140052840
test rax, rax
jle 0x140085e20
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.140161720
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140085e38
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140085e40
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140085de2
sub r14, rdi
mov rax, r14
jmp 0x140085efa
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140085e62
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140085e64
xor ecx, ecx
movsxd rdi, ecx
test r14, r14
jle 0x140085ef4
test ecx, ecx
jle 0x140085e9c
cmp r14, rdi
mov rcx, rsi
cmovl rdi, r14
mov r8, rdi
call fcn.140161720
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub r14, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
test r14, r14
jle 0x140085ef4
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x140085ef4
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140085ee1
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 r9, qword [rbx + 0x80]
mov r8, r14
mov edx, 1
mov rcx, rsi
call fcn.140174ae8
sub r14, rax
sub rbp, r14
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 0x140089510
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x30]
test rcx, rcx
je 0x14008954c
mov rax, qword [rcx]
add rdx, rdx
mov r8, qword [rax + 0x20]
mov rax, qword [rbx]
mov rdx, qword [rax + rdx*8]
call r8
cmp eax, 0xffffffff
je 0x14008954c
mov rcx, qword [rbx + 0x30]
movsxd rdx, eax
add rsp, 0x20
pop rbx
jmp 0x140109480
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x10], rdx
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov rsi, rdx
mov r14, rcx
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp rsi, rax
jae 0x140109619
cmp qword [0x140e33548], 0
jne 0x1401094cc
mov eax, 0x3e8
jmp 0x140109603
movzx ecx, sil
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
movzx eax, byte [rsp + 0x59]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rsp + 0x5a]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rsp + 0x5b]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rsp + 0x5c]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rsp + 0x5d]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rsp + 0x5e]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [rsp + 0x5f]
xor rcx, rax
imul rcx, rdx
mov rax, qword [r14 + 0x78]
and rax, rcx
shl rax, 4
mov r8, qword [r14 + 0x60]
mov rdx, qword [rax + r8]
mov rbx, rdx
lea r9, [rax + 8]
mov rcx, qword [r14 + 0x50]
nop dword [rax]
cmp rdx, rcx
jne 0x14010956a
mov rax, rcx
jmp 0x140109571
mov rax, qword [r9 + r8]
mov rax, qword [rax]
cmp rbx, rax
je 0x1401095fe
cmp qword [rbx + 0x10], rsi
je 0x140109585
mov rbx, qword [rbx]
jmp 0x140109560
cmp rbx, rcx
je 0x1401095fe
mov rax, qword [rbx + 0x20]
cmp rax, qword [rbx + 0x18]
jne 0x14010959b
mov eax, 0x3eb
jmp 0x140109603
lea rdi, [r14 + 0x88]
mov qword [rsp + 0x58], rdi
mov rcx, rdi
call fcn.140124cb0
test eax, eax
je 0x1401095bb
mov ecx, eax
call fcn.140125314
nop
mov r8, qword [rbx + 0x18]
mov r9, qword [rbx + 0x20]
sub r9, r8
imul rcx, rsi, 0x318
mov rax, qword [r14 + 0x10]
mov edx, 0x208020cb
mov rcx, qword [rcx + rax + 0x2d8]
call qword [0x140e33548]
mov ebx, eax
mov rcx, rdi
call fcn.140124d10
test eax, eax
je 0x1401095fa
mov ecx, eax
call fcn.140125314
nop
mov eax, ebx
jmp 0x140109603
mov eax, 0x3ea
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
lea rdx, str.bad_device_index
lea rcx, [rsp + 0x28]
call fcn.1400331f0
lea rdx, [0x14029fcc0]
lea rcx, [rsp + 0x28]
call fcn.140161c00
int3
Function at 0x14008a370
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor ebx, ebx
movsxd r11, r8d
mov r9, rdx
mov r10, rcx
test r8d, r8d
jle 0x14008a42f
cmp r11d, 0x40
jb 0x14008a42f
lea eax, [r11 - 1]
movsxd r8, eax
add rcx, r8
lea rax, [r8 + rdx]
cmp r10, rax
ja 0x14008a3af
cmp rcx, rdx
jae 0x14008a42f
mov ecx, r11d
and ecx, 0x8000003f
jge 0x14008a3c1
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, r11d
sub eax, ecx
mov rcx, r10
movsxd r8, eax
sub rdx, r10
nop
movdqu xmm0, xmmword [rcx]
add ebx, 0x40
movdqu xmm1, xmmword [rdx + rcx]
pxor xmm1, xmm0
movdqu xmmword [rcx], xmm1
movdqu xmm0, xmmword [rcx + 0x10]
movdqu xmm1, xmmword [rdx + rcx + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rcx + 0x10], xmm1
movdqu xmm0, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rdx + rcx + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx + 0x20], xmm1
movdqu xmm0, xmmword [rcx + 0x30]
movdqu xmm1, xmmword [rdx + rcx + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx + 0x30], xmm1
add rcx, 0x40
mov rax, rcx
sub rax, r10
cmp rax, r8
jl 0x14008a3d0
movsxd rcx, ebx
mov rdx, r11
cmp rcx, r11
jge 0x14008a461
sub r9, r10
lea rax, [rcx + r10]
sub rdx, rcx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rax + r9]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x14008a450
mov rbx, qword [rsp + 8]
ret
Function at 0x14008a470
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x100
mov rax, qword [0x140e22df8]
xor rax, rsp
mov qword [rsp + 0xf0], rax
xor eax, eax
mov rsi, rdx
mov qword [rcx], rax
mov r14, rcx
mov qword [rcx + 8], rax
xor edx, edx
mov qword [rcx + 0x10], rax
mov r8d, 0xc8
mov qword [rcx + 0x18], rax
lea rcx, [rsp + 0x20]
call fcn.1401625d0
mov r8, qword [rsi + 8]
movabs rax, 0xf0f0f0f0f0f0f0f1
mov r9, qword [rsi]
mov rcx, r8
sub rcx, r9
mov rbx, r8
mul rcx
mov rcx, r9
mov rbp, rdx
shr rbp, 7
movsxd rdi, ebp
test ebp, ebp
jle 0x14008a56b
lea rbx, [rsp + 0x20]
neg rbx
nop word [rax + rax]
mov r8, qword [rsi]
xor eax, eax
add r8, rbx
nop dword [rax + rax]
lea rdx, [rsp + 0x20]
add rdx, rax
add rax, 4
movzx ecx, byte [r8 + rdx]
xor byte [rdx], cl
movzx ecx, byte [r8 + rdx + 1]
xor byte [rdx + 1], cl
movzx ecx, byte [r8 + rdx + 2]
xor byte [rdx + 2], cl
movzx ecx, byte [r8 + rdx + 3]
xor byte [rdx + 3], cl
cmp rax, 0x88
jl 0x14008a510
lea rcx, [rsp + 0x20]
call fcn.14008a600
add rbx, 0x88
sub rdi, 1
jne 0x14008a500
mov r8d, dword [rsi + 8]
mov rbx, qword [rsi + 8]
mov r9d, dword [rsi]
mov rcx, qword [rsi]
imul eax, ebp, 0x88
movsxd rdx, eax
sub r8d, eax
add rdx, rcx
sub r8d, r9d
lea rcx, [rsp + 0x20]
call fcn.14008a370
sub ebx, dword [rsi]
lea rcx, [rsp + 0x20]
mov eax, 0x78787879
imul ebx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x88
sub ebx, eax
movsxd rax, ebx
xor byte [rsp + rax + 0x20], 1
xor byte [rsp + 0xa7], 0x80
call fcn.14008a600
movaps xmm0, xmmword [rsp + 0x20]
mov rax, r14
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [r14], xmm0
movups xmmword [r14 + 0x10], xmm1
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140143d80
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400913e0
Capabilities:
Hash data using sha512

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
add rcx, 0x40
xor edx, edx
mov r8d, 0xb8
call fcn.1401625d0
movabs rsi, 0x1f83d9abfb41bd6b
movabs rbp, 0x5be0cd19137e2179
mov qword [rdi + 0x30], rsi
movabs rcx, 0x6a09e667f3bcc908
mov qword [rdi + 0x38], rbp
movabs rdx, 0xbb67ae8584caa73b
mov qword [rdi], rcx
movabs r8, 0x3c6ef372fe94f82b
mov qword [rdi + 8], rdx
movabs r9, 0xa54ff53a5f1d36f1
mov qword [rdi + 0x10], r8
movabs r10, 0x510e527fade682d1
mov qword [rdi + 0x18], r9
movabs r11, 0x9b05688c2b3e6c1f
mov qword [rdi + 0x20], r10
mov qword [rdi + 0x28], r11
mov rax, qword [rbx]
xor rax, rcx
mov qword [rdi], rax
mov rax, qword [rbx + 8]
xor rax, rdx
mov qword [rdi + 8], rax
mov rax, qword [rbx + 0x10]
xor rax, r8
mov qword [rdi + 0x10], rax
mov rax, qword [rbx + 0x18]
xor rax, r9
mov qword [rdi + 0x18], rax
mov rax, qword [rbx + 0x20]
xor rax, r10
mov qword [rdi + 0x20], rax
mov rax, qword [rbx + 0x28]
xor rax, r11
mov qword [rdi + 0x28], rax
mov rax, qword [rbx + 0x30]
xor rax, rsi
mov rsi, qword [rsp + 0x40]
mov qword [rdi + 0x30], rax
mov rax, qword [rbx + 0x38]
xor rax, rbp
mov rbp, qword [rsp + 0x38]
mov qword [rdi + 0x38], rax
movzx eax, byte [rbx]
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 0xe8], rax
xor eax, eax
add rsp, 0x20
pop rdi
ret