joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140113780
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1402f9040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbp, rdx
mov r14, rcx
mov qword [rsp + 0x58], rdx
lea rbx, [rdx + 0x10]
mov rcx, rbx
mov rsi, qword [rbx + 0x18]
cmp rsi, 0xf
jbe 0x1401137be
mov rcx, qword [rbx]
mov rdi, qword [rbx + 0x10]
mov qword [rsp + 0x20], 8
lea r9, str.Kindred_
xor r8d, r8d
mov rdx, rdi
call fcn.14006c310
cmp rax, 0xffffffffffffffff
je 0x140113968
cmp rsi, 0xf
jbe 0x1401137f0
mov rbx, qword [rbx]
mov qword [rsp + 0x20], 9
lea r9, str._E_stack_
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.14006c310
cmp rax, 0xffffffffffffffff
je 0x140113968
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x10]
cmp rsi, 0xf
jbe 0x140113829
mov rdx, qword [rdx]
mov r9, 0xffffffffffffffff
test rdi, rdi
je 0x140113862
lea rax, [rdi - 1]
mov rcx, r9
cmp rax, r9
cmovb rcx, rax
add rcx, rdx
cmp byte [rcx], 0x5f
je 0x14011385d
nop dword [rax + rax]
cmp rcx, rdx
je 0x140113862
dec rcx
cmp byte [rcx], 0x5f
jne 0x140113850
sub rcx, rdx
jmp 0x140113865
mov rcx, r9
inc rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov rax, qword [r8 + 0x10]
cmp rax, rcx
jb 0x140113992
sub rax, rcx
cmp rax, r9
cmovb r9, rax
cmp qword [r8 + 0x18], 0xf
jbe 0x14011389a
mov r8, qword [r8]
lea rdx, [rcx + r8]
mov r8, r9
lea rcx, [rsp + 0x38]
call fcn.14002c040
nop
mov r8d, 0xa
lea rcx, [rsp + 0x38]
call fcn.140114c70
mov r15d, eax
lea rcx, [rsp + 0x38]
call fcn.14002c1e0
call fcn.140146640
mov rbx, qword [rax]
mov rsi, qword [rax + 8]
cmp rbx, rsi
je 0x140113968
mov rdi, qword [0x140302380]
mov eax, dword [rdi + 0x1c]
cmp dword [rbx + 0x1c], eax
je 0x14011394e
cmp byte [rbx + 0xa7], 0
je 0x14011394e
movdqa xmm0, xmmword [str.kindredecharge]
movdqu xmmword [rsp + 0x58], xmm0
movd eax, xmm0
test al, al
jne 0x140113913
mov eax, 0x811c9dc5
jmp 0x14011392b
movzx eax, al
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
lea rcx, [rsp + 0x59]
call fcn.14002b8c0
mov rcx, qword [rbx + 0x180]
mov rdx, qword [rbx + 0x188]
cmp rcx, rdx
je 0x14011394e
nop
cmp dword [rcx + 0x30], eax
je 0x14011395c
add rcx, 0x50
cmp rcx, rdx
jne 0x140113940
add rbx, 0x5f0
cmp rbx, rsi
jne 0x1401138e5
jmp 0x140113968
lea eax, [r15 - 1]
mov dword [r14 + 0x18], eax
mov qword [r14 + 0x10], rbx
lea rcx, [rbp + 0x10]
call fcn.14002c1e0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14022f560
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14003fa80
nop
int3
Function at 0x140125d00
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rbx, qword [rcx + 0x98]
mov rdi, rcx
mov rsi, qword [rcx + 0xa0]
cmp rbx, rsi
je 0x140125dcb
mov qword [rax + 0x10], rbp
movabs rbp, 0x3c755938586c70
mov qword [rax + 0x18], r14
movabs r14, 0xa2781bf777490a88
mov qword [rax + 0x20], r15
movabs r15, 0xa27870941e1d64c7
nop
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x30]
mov rax, qword [rsp + 0x20]
mov rcx, rdi
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], rbp
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], r15
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], rbp
mov rax, qword [rsp + 0x20]
mov rdx, qword [rbx]
mov qword [rsp + 0x48], rax
movdqa xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1401352c0
add rbx, 8
cmp rbx, rsi
jne 0x140125d50
mov r15, qword [rsp + 0x88]
mov r14, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x140125de0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rbx, qword [rcx + 0x98]
mov rdi, rcx
mov rsi, qword [rcx + 0xa0]
cmp rbx, rsi
je 0x140125eab
mov qword [rax + 0x10], rbp
movabs rbp, 0x3c755938586c70
mov qword [rax + 0x18], r14
movabs r14, 0xa27807f56c590a88
mov qword [rax + 0x20], r15
movabs r15, 0xa27870941e1d64c7
nop
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x30]
mov rax, qword [rsp + 0x20]
mov rcx, rdi
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], rbp
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], r15
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], rbp
mov rax, qword [rsp + 0x20]
mov rdx, qword [rbx]
mov qword [rsp + 0x48], rax
movdqa xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1401352c0
add rbx, 8
cmp rbx, rsi
jne 0x140125e30
mov r15, qword [rsp + 0x88]
mov r14, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x140148990
Capabilities:
Execute command
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x28]
call fcn.14022f7c0
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1401489b8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rdx, rdi
call fcn.14003ea10
lea rdx, [0x14003ebe0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
movabs rcx, 0x3c755938586c70
movabs rax, 0xa27870f16d6805b7
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
movabs rax, 0xa27870941e1d64c7
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x20]
movdqa xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x48], rax
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140166070
Capabilities:
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x90
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x1402f9040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rdx
mov rsi, rcx
mov qword [r11 - 0x68], rdx
mov rax, qword [rdx]
mov r8d, dword [rax + 0x18]
mov dword [r11 - 0x60], r8d
mov eax, r8d
shr eax, 8
movzx edx, al
movzx eax, r8b
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
movabs r9, 0x100000001b3
imul rax, r9
xor rdx, rax
imul rdx, r9
mov eax, r8d
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, r9
mov eax, r8d
shr rax, 0x18
xor rdx, rax
imul rdx, r9
mov rcx, qword [rsi + 0x38]
and rcx, rdx
add rcx, rcx
mov r9, qword [rsi + 0x20]
mov rax, qword [r9 + rcx*8 + 8]
mov rdx, qword [rsi + 0x10]
cmp rax, rdx
je 0x140166131
mov rcx, qword [r9 + rcx*8]
cmp r8d, dword [rax + 0x10]
je 0x140166133
nop
cmp rax, rcx
je 0x140166131
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x140166120
jmp 0x140166133
xor eax, eax
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x1401662a9
movss xmm6, dword [0x140302194]
add rsi, 8
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1401666c0
mov rcx, qword [rax]
movss dword [rcx + 0x20], xmm6
movzx ebx, byte [rdi + 0x2c]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1401666c0
mov rcx, qword [rax]
mov byte [rcx + 0x30], bl
cmp byte [rdi + 0x2c], 0
je 0x14016621a
movsd xmm6, qword [rdi + 8]
mov ebx, dword [rdi + 0x10]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1401666c0
mov rcx, qword [rax]
movsd qword [rcx + 0x34], xmm6
mov dword [rcx + 0x3c], ebx
movsd xmm6, qword [rdi + 0x14]
mov ebx, dword [rdi + 0x1c]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1401666c0
mov rcx, qword [rax]
movsd qword [rcx + 0x40], xmm6
mov dword [rcx + 0x48], ebx
movss xmm6, dword [rdi + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1401666c0
mov rcx, qword [rax]
movss dword [rcx + 0x50], xmm6
movss xmm6, dword [0x140302194]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1401666c0
mov rcx, qword [rax]
movss dword [rcx + 0x4c], xmm6
movsd xmm0, qword [rdi + 0x14]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [rdi + 0x1c]
mov dword [rsp + 0x48], eax
movss xmm0, dword [rdi + 0x28]
cvtps2pd xmm0, xmm0
movss xmm1, dword [rdi + 0x20]
cvtps2pd xmm1, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
cvtps2pd xmm2, xmm1
mulsd xmm2, qword [0x1402c7f68]
cvtpd2ps xmm0, xmm2
movss dword [rsp + 0x4c], xmm0
movss xmm1, dword [0x140302194]
movss dword [rsp + 0x50], xmm1
lea rdx, [rdi + 0x48]
lea rcx, [rsp + 0x58]
call fcn.14005c0d0
nop
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1401666c0
mov rcx, qword [rax]
lea rdx, [rsp + 0x40]
mov rcx, qword [rcx + 0x28]
call fcn.1401664e0
nop
lea rcx, [rsp + 0x58]
call fcn.14002abd0
nop
lea rcx, [rdi + 0x48]
call fcn.14002abd0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14022f560
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rdi
ret
Function at 0x140166a10
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140166a45
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14002ac50
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140166b86
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140166b00
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140166b75
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140166b3d
mov r10, qword [rdx]
cmp r10, rax
je 0x140166b37
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140166b75
cmp r9, rdx
je 0x140166b51
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140166b97
cmp r9, rdx
jne 0x140166b42
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140166ab0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140166b75
Function at 0x14016a550
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
call fcn.140146b10
call fcn.140146b10
mov rax, qword [0x140302240]
movzx ecx, byte [rax + 0x2b0]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x14016a5af
mov qword [rsp + 0x20], rbx
call fcn.140146b10
mov rbx, rax
call fcn.140146b10
mov rcx, qword [0x140302240]
movzx edx, byte [rcx + 0x2b0]
mov rcx, rbx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
jmp fcn.14006ea80
add rsp, 0x28
ret

Function at 0x14016a5e0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140146b10
call fcn.140146b10
mov rax, qword [0x140302240]
movzx ecx, byte [rax + 0x2b0]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x14016a65c
mov rax, qword [rbx + 8]
cmp byte [rax + 0x98], 0
jne 0x14016a65c
mov rax, qword [0x140302380]
cmp byte [rax + 0xe8], 0
je 0x14016a634
cmp byte [rax + 0x130], 0
jne 0x14016a65c
call fcn.140146b10
mov rbx, rax
call fcn.140146b10
mov rcx, qword [0x140302240]
movzx edx, byte [rcx + 0x2b0]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14006ea80
add rsp, 0x20
pop rbx
ret
Function at 0x14019c110
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
mov rax, qword [0x1402f9040]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 0x48]
mov rbx, rcx
movss xmm6, dword [rcx + 0x6c]
mov r9, qword [rcx + 0x40]
movd xmm0, dword [rcx + 0x70]
movss xmm7, dword [rcx + 0x68]
addss xmm7, dword [0x1402c8124]
mov r8d, dword [r9 + 0x2b0]
addss xmm6, dword [0x1402c8158]
mov dword [rcx + 0x58], r8d
mov edx, dword [rax + 0x2b0]
cvtdq2ps xmm0, xmm0
lea eax, [r8 - 0x19]
mov dword [rcx + 0x5c], edx
movss xmm3, dword [0x1402f9478]
movaps xmm2, xmm6
addss xmm2, dword [0x1402c80fc]
movss xmm1, dword [0x1402f947c]
addss xmm0, xmm7
movd xmm5, eax
lea eax, [rdx - 0x19]
cvtdq2ps xmm5, xmm5
subss xmm0, dword [0x1402c80b8]
comiss xmm3, xmm5
movd xmm4, eax
cvtdq2ps xmm4, xmm4
jb 0x14019c222
addss xmm2, xmm5
comiss xmm2, xmm3
jbe 0x14019c222
comiss xmm1, xmm4
jb 0x14019c222
addss xmm0, xmm4
comiss xmm0, xmm1
jbe 0x14019c222
mov rax, qword [0x140302260]
cmp byte [rax + 0xd9c], 0
je 0x14019c222
cvttss2si eax, xmm6
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm7
subss xmm3, xmm0
cdq
sub eax, edx
sar eax, 1
cvttss2si ecx, xmm3
movd xmm0, eax
mov dword [rbx + 0x58], ecx
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [rbx + 0x5c], eax
mov dword [r9 + 0x2b0], ecx
mov rcx, qword [rbx + 0x48]
mov eax, dword [rbx + 0x5c]
mov dword [rcx + 0x2b0], eax
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14019c237
inc dword [0x14030237c]
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14019c24c
dec dword [0x14030237c]
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14019c261
dec dword [0x140302378]
mov ecx, Ordinal_41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14019c276
inc dword [0x140302378]
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x2b0], 0
je 0x14019c29b
mov rcx, rbx
call fcn.14019cd00
mov rcx, rbx
call fcn.1401a0140
mov rcx, rbx
call fcn.14019f1b0
mov rax, qword [rbx + 0x38]
cmp byte [rax + 0x2b0], 0
je 0x14019c2b0
mov rcx, rbx
call fcn.1401a32f0
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.14022f560
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop rbx
ret
Function at 0x1401ba9e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [0x1402f9040]
xor rax, rsp
mov qword [rbp - 8], rax
movups xmm2, xmmword [rcx]
mov eax, dword [rcx + 0x18]
movsd xmm0, qword [rcx + 0x10]
mov dword [rbp - 0x18], eax
movd eax, xmm2
movups xmmword [rbp - 0x30], xmm2
movsd qword [rbp - 0x20], xmm0
test al, al
je 0x1401bac1b
movq rcx, xmm2
mov rax, rcx
shr rax, 0x10
cmp al, 4
ja 0x1401bac1b
shr rcx, 8
test cl, cl
je 0x1401baba4
cmp cl, 4
ja 0x1401bac1b
movzx edx, cl
xor r8d, r8d
movdqa xmm0, xmm2
movaps xmm1, xmm2
psrldq xmm0, 8
mov ecx, r8d
movd eax, xmm0
shufps xmm1, xmm2, 0x55
movss dword [rbp - 0xc], xmm1
movzx eax, al
movss xmm0, dword [rbp + rax*4 - 0x24]
movss dword [rbp - 0x10], xmm0
test edx, edx
je 0x1401bab84
cmp edx, 2
jb 0x1401bab84
movdqa xmm3, xmmword [0x1402c96d0]
cmp edx, 0x10
jb 0x1401bab46
mov eax, 0xfffffff0
mov qword [rsp + 0x48], rbx
mov r9d, edx
mov qword [rsp + 0x50], rdi
and r9, rax
lea rbx, [rbp + 4]
lea eax, [r8 + 0x10]
lea r10, [rbp]
lea rdi, [rbp + 0x14]
lea r11, [rbp + 0x10]
nop
movdqu xmm0, xmmword [rbp + rax - 0x20]
add ecx, 0x10
add r8, 0x10
movdqu xmm1, xmmword [rbp + rax - 0x1c]
lea rax, [rax + 0x40]
andnps xmm1, xmm3
xorps xmm1, xmm0
movdqu xmmword [rbp + rax - 0x60], xmm1
movdqu xmm0, xmmword [rbp + rax - 0x50]
movdqu xmm1, xmmword [rbp + rax - 0x4c]
andnps xmm1, xmm3
xorps xmm1, xmm0
movdqu xmmword [rbp + rax - 0x50], xmm1
movdqu xmm0, xmmword [r10 + rax - 0x40]
movdqu xmm1, xmmword [rbx + rax - 0x40]
andnps xmm1, xmm3
xorps xmm1, xmm0
movdqu xmmword [r10 + rax - 0x40], xmm1
movdqu xmm0, xmmword [r11 + rax - 0x40]
movdqu xmm1, xmmword [rdi + rax - 0x40]
andnps xmm1, xmm3
xorps xmm1, xmm0
movdqu xmmword [r11 + rax - 0x40], xmm1
cmp r8, r9
jl 0x1401baac0
mov rdi, qword [rsp + 0x50]
mov eax, edx
mov rbx, qword [rsp + 0x48]
and al, 0xf
cmp al, 2
jb 0x1401bab84
mov r8, rdx
movsxd rax, ecx
mov r9d, 0xfffffffe
and r8, r9
nop word [rax + rax]
movq xmm0, qword [rbp + rax*4 - 0x10]
add ecx, 2
movq xmm1, qword [rbp + rax*4 - 0xc]
andnps xmm1, xmm3
xorps xmm1, xmm0
movq qword [rbp + rax*4 - 0x10], xmm1
add rax, 2
cmp rax, r8
jl 0x1401bab60
movsxd rcx, ecx
cmp rcx, rdx
jge 0x1401babcb
nop dword [rax]
mov eax, dword [rbp + rcx*4 - 0xc]
not eax
xor dword [rbp + rcx*4 - 0x10], eax
inc rcx
cmp rcx, rdx
jl 0x1401bab90
jmp 0x1401babcb
movdqa xmm0, xmm2
movaps xmm1, xmm2
psrldq xmm0, 8
movd eax, xmm0
shufps xmm1, xmm2, 0x55
movss dword [rbp - 0xc], xmm1
movzx eax, al
movss xmm0, dword [rbp + rax*4 - 0x24]
movss dword [rbp - 0x10], xmm0
psrldq xmm2, 2
movd eax, xmm2
test al, al
je 0x1401bac04
movzx eax, al
mov ecx, 4
sub rcx, rax
cmp rcx, 4
jae 0x1401bac04
nop dword [rax]
movzx eax, byte [rbp + rcx - 0xc]
not al
xor byte [rbp + rcx - 0x10], al
inc rcx
cmp rcx, 4
jb 0x1401babf0
movss xmm0, dword [rbp - 0x10]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14022f560
add rsp, 0x30
pop rbp
ret
xorps xmm0, xmm0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14022f560
add rsp, 0x30
pop rbp
ret
Function at 0x1401bac30
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1402f9040]
xor rax, rsp
mov qword [rsp + 0x18], rax
movsd xmm0, qword [rcx]
movzx eax, byte [rcx + 8]
movsd qword [rsp], xmm0
cmp byte [rsp], 0
mov byte [rsp + 8], al
je 0x1401bae2b
mov rdx, qword [rsp]
mov rax, rdx
shr rax, 0x10
cmp al, 1
ja 0x1401bae2b
mov r8, rdx
shr r8, 8
cmp r8b, 1
ja 0x1401bae2b
mov rax, rdx
shr rdx, 0x18
shr rax, 0x20
movzx eax, al
mov byte [rsp + 0x11], dl
movzx ecx, byte [rsp + rax + 5]
mov byte [rsp + 0x10], cl
test r8b, r8b
je 0x1401bade2
movzx edx, r8b
xor r8d, r8d
mov ecx, r8d
test edx, edx
je 0x1401badc4
cmp edx, 2
jb 0x1401badc4
movdqa xmm2, xmmword [0x1402c96d0]
cmp edx, 0x10
jb 0x1401bad84
mov eax, 0xfffffff0
mov qword [rsp + 0x38], rbx
mov r9d, edx
mov qword [rsp + 0x20], rdi
and r9, rax
lea r10, [rsp + 0x21]
lea eax, [r8 + 0x10]
lea r11, [rsp + 0x20]
lea rbx, [rsp + 0x31]
lea rdi, [rsp + 0x30]
nop
movdqu xmm0, xmmword [rsp + rax]
add ecx, 0x10
add r8, 0x10
movdqu xmm1, xmmword [rsp + rax + 1]
lea rax, [rax + 0x40]
andnps xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rsp + rax - 0x40], xmm1
movdqu xmm0, xmmword [rsp + rax - 0x30]
movdqu xmm1, xmmword [rsp + rax - 0x2f]
andnps xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rsp + rax - 0x30], xmm1
movdqu xmm0, xmmword [r11 + rax - 0x40]
movdqu xmm1, xmmword [r10 + rax - 0x40]
andnps xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [r11 + rax - 0x40], xmm1
movdqu xmm0, xmmword [rdi + rax - 0x40]
movdqu xmm1, xmmword [rbx + rax - 0x40]
andnps xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rdi + rax - 0x40], xmm1
cmp r8, r9
jl 0x1401bad00
mov rdi, qword [rsp + 0x20]
mov eax, edx
mov rbx, qword [rsp + 0x38]
and al, 0xf
cmp al, 2
jb 0x1401badc4
mov r8, rdx
movsxd rax, ecx
mov r9d, 0xfffffffe
and r8, r9
nop dword [rax]
nop word [rax + rax]
movq xmm0, qword [rsp + rax*4 + 0x10]
add ecx, 2
movq xmm1, qword [rsp + rax*4 + 0x11]
andnps xmm1, xmm2
xorps xmm1, xmm0
movq qword [rsp + rax*4 + 0x10], xmm1
add rax, 2
cmp rax, r8
jl 0x1401bada0
movsxd rcx, ecx
cmp rcx, rdx
jge 0x1401bade2
nop dword [rax]
mov eax, dword [rsp + rcx*4 + 0x11]
not eax
xor dword [rsp + rcx*4 + 0x10], eax
inc rcx
cmp rcx, rdx
jl 0x1401badd0
movzx eax, byte [rsp + 2]
test al, al
je 0x1401bae14
mov ecx, eax
mov eax, 1
sub rax, rcx
cmp rax, 1
jae 0x1401bae14
nop dword [rax + rax]
movzx ecx, byte [rsp + rax + 0x11]
not cl
xor byte [rsp + rax + 0x10], cl
inc rax
cmp rax, 1
jb 0x1401bae00
movzx eax, byte [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
xor rcx, rsp
call fcn.14022f560
add rsp, 0x28
ret
xor al, al
mov rcx, qword [rsp + 0x18]
xor rcx, rsp
call fcn.14022f560
add rsp, 0x28
ret
Function at 0x1401bae40
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [0x1402f9040]
xor rax, rsp
mov qword [rbp - 8], rax
movups xmm2, xmmword [rcx]
mov eax, dword [rcx + 0x18]
movsd xmm0, qword [rcx + 0x10]
mov dword [rbp - 0x18], eax
movd eax, xmm2
movups xmmword [rbp - 0x30], xmm2
movsd qword [rbp - 0x20], xmm0
test al, al
je 0x1401bb069
movq rdx, xmm2
mov rax, rdx
shr rax, 0x10
cmp al, 4
ja 0x1401bb069
mov r8, rdx
shr r8, 8
test r8b, r8b
je 0x1401bb004
cmp r8b, 4
ja 0x1401bb069
shr rdx, 0x20
movdqa xmm0, xmm2
psrldq xmm0, 8
movd eax, xmm0
mov dword [rbp - 0xc], edx
movzx edx, r8b
xor r8d, r8d
movzx eax, al
mov ecx, dword [rbp + rax*4 - 0x24]
mov dword [rbp - 0x10], ecx
mov ecx, r8d
test edx, edx
je 0x1401bafe4
cmp edx, 2
jb 0x1401bafe4
movdqa xmm3, xmmword [0x1402c96d0]
cmp edx, 0x10
jb 0x1401bafa5
mov eax, 0xfffffff0
mov qword [rsp + 0x48], rbx
mov r9d, edx
mov qword [rsp + 0x50], rdi
and r9, rax
lea r10, [rbp + 4]
lea eax, [r8 + 0x10]
lea r11, [rbp]
lea rbx, [rbp + 0x14]
lea rdi, [rbp + 0x10]
nop dword [rax + rax]
movdqu xmm0, xmmword [rbp + rax - 0x20]
add ecx, 0x10
add r8, 0x10
movdqu xmm1, xmmword [rbp + rax - 0x1c]
lea rax, [rax + 0x40]
andnps xmm1, xmm3
xorps xmm1, xmm0
movdqu xmmword [rbp + rax - 0x60], xmm1
movdqu xmm0, xmmword [rbp + rax - 0x50]
movdqu xmm1, xmmword [rbp + rax - 0x4c]
andnps xmm1, xmm3
xorps xmm1, xmm0
movdqu xmmword [rbp + rax - 0x50], xmm1
movdqu xmm0, xmmword [r11 + rax - 0x40]
movdqu xmm1, xmmword [r10 + rax - 0x40]
andnps xmm1, xmm3
xorps xmm1, xmm0
movdqu xmmword [r11 + rax - 0x40], xmm1
movdqu xmm0, xmmword [rdi + rax - 0x40]
movdqu xmm1, xmmword [rbx + rax - 0x40]
andnps xmm1, xmm3
xorps xmm1, xmm0
movdqu xmmword [rdi + rax - 0x40], xmm1
cmp r8, r9
jl 0x1401baf20
mov rdi, qword [rsp + 0x50]
mov eax, edx
mov rbx, qword [rsp + 0x48]
and al, 0xf
cmp al, 2
jb 0x1401bafe4
mov r8, rdx
movsxd rax, ecx
mov r9d, 0xfffffffe
and r8, r9
nop dword [rax]
nop dword [rax + rax]
movq xmm0, qword [rbp + rax*4 - 0x10]
add ecx, 2
movq xmm1, qword [rbp + rax*4 - 0xc]
andnps xmm1, xmm3
xorps xmm1, xmm0
movq qword [rbp + rax*4 - 0x10], xmm1
add rax, 2
cmp rax, r8
jl 0x1401bafc0
movsxd rcx, ecx
cmp rcx, rdx
jge 0x1401bb022
nop dword [rax]
mov eax, dword [rbp + rcx*4 - 0xc]
not eax
xor dword [rbp + rcx*4 - 0x10], eax
inc rcx
cmp rcx, rdx
jl 0x1401baff0
jmp 0x1401bb022
movdqa xmm0, xmm2
shr rdx, 0x20
psrldq xmm0, 8
movd eax, xmm0
mov dword [rbp - 0xc], edx
movzx eax, al
mov ecx, dword [rbp + rax*4 - 0x24]
mov dword [rbp - 0x10], ecx
psrldq xmm2, 2
movd eax, xmm2
test al, al
je 0x1401bb054
movzx ecx, al
mov eax, 4
sub rax, rcx
cmp rax, 4
jae 0x1401bb054
movzx ecx, byte [rbp + rax - 0xc]
not cl
xor byte [rbp + rax - 0x10], cl
inc rax
cmp rax, 4
jb 0x1401bb040
mov eax, dword [rbp - 0x10]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14022f560
add rsp, 0x30
pop rbp
ret
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14022f560
add rsp, 0x30
pop rbp
ret