joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140018ff4
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
jmp 0x14001905e
cmp ecx, 0x7c
je 0x140019063
cmp ecx, 0x29
jne 0x14001906e
cmp dword [rdi + 0x1c], 0
jne 0x140019063
test dword [rdi + 0x80], 0x10000000
je 0x14001919e
cmp ecx, 0x5d
jne 0x14001903d
test dword [rdi + 0x80], 0x10000000
je 0x1400191ac
mov dl, byte [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.140018514
mov rcx, rdi
call fcn.14001c6f0
mov rcx, rdi
call fcn.14001cbc0
mov ecx, dword [rdi + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x140019008
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x2e
jne 0x14001907e
lea rcx, [rdi + 0x40]
call fcn.14001879c
jmp 0x140019049
cmp ecx, 0x5c
jne 0x1400190d0
mov rcx, rdi
call fcn.14001c6f0
test byte [rdi + 0x80], 0x80
je 0x1400190c6
mov al, byte [rdi + 0x78]
cmp al, 0x62
jne 0x1400190ae
lea rcx, [rdi + 0x40]
call fcn.140018f14
mov rcx, rdi
call fcn.14001c6f0
jmp 0x140019059
cmp al, 0x42
jne 0x1400190c6
lea rcx, [rdi + 0x40]
call fcn.140018f14
lea rcx, [rdi + 0x40]
call fcn.14001c68c
jmp 0x1400190a4
mov rcx, rdi
call fcn.1400191bc
jmp 0x140019051
cmp ecx, 0x5b
jne 0x1400190fb
mov rcx, rdi
call fcn.14001c6f0
mov rcx, rdi
call fcn.140019c5c
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.14001b17c
jmp 0x140019051
cmp ecx, 0x28
jne 0x140019130
mov rcx, rdi
call fcn.14001c6f0
mov rcx, rdi
call fcn.14001d890
mov edx, 0x29
mov rcx, rdi
mov bl, al
lea r8d, [rdx - 0x24]
call fcn.14001b17c
test bl, bl
je 0x140019059
jmp 0x140019051
cmp ecx, 0x5e
jne 0x140019143
lea rcx, [rdi + 0x40]
call fcn.140018508
jmp 0x1400190a4
cmp ecx, 0x24
jne 0x140019156
lea rcx, [rdi + 0x40]
call fcn.14001889c
jmp 0x1400190a4
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x140019182
cmp ecx, 0x3f
je 0x140019182
cmp ecx, 0x7b
je 0x140019182
cmp ecx, 0x7d
jne 0x140019028
test dword [rdi + 0x80], 0x10000000
je 0x140019190
jmp 0x14001903d
mov edx, 0xa
mov rcx, rdi
call fcn.14001b170
int3
mov edx, 6
mov rcx, rdi
call fcn.14001b170
int3
mov edx, 5
mov rcx, rdi
call fcn.14001b170
int3
mov edx, 4
mov rcx, rdi
call fcn.14001b170
int3
Function at 0x14001b028
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400a0280]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14001b097
cmp byte [rcx + 0x71], 0
je 0x14001b097
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14001b0ec
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 0x14001b0b1
sub eax, 1
je 0x14001b0b5
cmp eax, 2
jne 0x14001b0ec
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14007ae40
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 0x14001b0e3
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 0x14001b0ec
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14001b099
xor al, al
jmp 0x14001b099
Function at 0x1400222d4
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 [0x1400a0280]
xor rax, rsp
mov qword [rbp - 8], rax
or esi, 0xffffffff
mov r14d, edx
mov rdi, rcx
cmp edx, esi
jne 0x14002230e
xor eax, eax
jmp 0x14002242d
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x140022347
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x140022347
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], r14b
mov eax, r14d
jmp 0x14002242d
cmp qword [rdi + 0x80], 0
je 0x14002242b
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x140022381
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x1400223a2
movsx ecx, r14b
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, esi
jmp 0x140022427
lea rax, [rbp - 0x38]
mov byte [rbp - 0x40], r14b
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 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 0x1400223f0
sub eax, 1
je 0x1400223f0
cmp eax, 2
jne 0x14002242b
movsx ecx, byte [rbp - 0x40]
jmp 0x14002238e
mov rbx, qword [rbp - 0x38]
lea rax, [rbp - 0x28]
sub rbx, rax
je 0x14002241b
mov r9, qword [rdi + 0x80]
lea rcx, [rbp - 0x28]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x14002242b
lea rax, [rbp - 0x40]
mov byte [rdi + 0x71], 1
cmp qword [rbp - 0x30], rax
cmovne esi, r14d
mov eax, esi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14007ae40
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 0x140025d5c
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 rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x140025d8a
xor eax, eax
jmp 0x140025e71
cmp qword [rcx + 0x68], 0
je 0x140025d9c
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 0x140025e71
mov rdi, rsi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x140025ddc
cmp rax, rsi
mov rbx, rsi
mov rcx, rbp
cmovb rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, rbx
mov rcx, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebx
mov rcx, rbp
add r14, rbx
sub rdi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
je 0x140025e6b
mov rcx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rbp + 0x70]
cmp rax, rcx
jne 0x140025e16
mov rdx, qword [rbp + 0x88]
mov rcx, rbp
mov r9, qword [rbp + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, rdi
mov ebx, 0xfff
jmp 0x140025e46
mov r9, qword [rbp + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
add r14, rax
mov rcx, rdi
cmp rax, rbx
jne 0x140025e6b
cmp rdi, rbx
ja 0x140025e20
test rcx, rcx
je 0x140025e6b
mov r9, qword [rbp + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
sub rsi, rdi
mov rax, rsi
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 0x140025e8c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x140025eb6
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 0x140025f26
mov rsi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov rbp, rax
test rbx, rbx
jle 0x140025f20
test rax, rax
jle 0x140025f00
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, rbp
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x140025f20
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140025f20
mov r8, rbx
mov edx, 1
mov rcx, r14
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]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140033680
Capabilities:
Encode data using xor

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
xor r15d, r15d
lea r12, [0x140000000]
movzx eax, byte [r15 + r12 + 0x84670]
mov edi, eax
mov r8d, eax
shr edi, 5
mov r11d, eax
shr r8d, 6
mov ebp, edi
lea edx, [rax + rax]
shr r11d, 7
xor edx, eax
and ebp, 4
mov r10d, edi
mov r9d, r8d
and edi, 1
and r10d, 2
imul ecx, edi, 0x1b000000
and r8d, 1
lea ebx, [rdx + rdx]
and r9d, 2
lea edx, [rdx*4]
xor ebx, eax
xor edx, eax
shl ebx, 0x19
shl edx, 8
mov esi, eax
xor rbx, rcx
mov r14d, eax
imul ecx, r10d, 0x1b000000
xor rbx, rcx
imul ecx, r8d, 0x1b000000
xor rbx, rcx
imul ecx, r9d, 0x1b000000
xor rbx, rcx
imul ecx, ebp, 0x1b000000
xor rbx, rcx
imul ecx, r11d, 0x1b000000
xor rbx, rcx
imul ecx, edi, 0x11b00
xor rdx, rcx
imul ecx, r10d, 0x11b00
xor rdx, rcx
imul ecx, r8d, 0x11b00
xor rdx, rcx
imul ecx, r9d, 0x11b00
xor rdx, rcx
imul ecx, ebp, 0x11b00
xor rdx, rcx
imul ecx, edi, 0x11b0000
or rbx, rdx
lea edx, [rax*8]
xor edx, eax
lea eax, [rax*4]
shl edx, 0x10
xor eax, r14d
xor rdx, rcx
imul ecx, r10d, 0x11b0000
xor rdx, rcx
imul ecx, ebp, 0x11b0000
xor rdx, rcx
imul ecx, edi, 0x11b
or rbx, rdx
lea edx, [rax + rax]
xor rdx, rcx
imul ecx, r10d, 0x11b
xor rdx, rcx
imul ecx, ebp, 0x11b
xor rdx, rcx
imul ecx, r11d, 0x11b
xor rdx, rcx
xor rdx, rsi
or rdx, rbx
shl rdx, 0x20
or rdx, rbx
or rdx, rsi
mov qword [r12 + r15*8 + 0xa3830], rdx
inc r15
cmp r15, 0x100
jl 0x1400336a3
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov byte [0x1400a4031], 1
pop r15
pop r14
pop r12
ret

Function at 0x14003380c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r11d, r11d
lea rbx, [0x140000000]
movzx r9d, byte [r11 + rbx + 0x84570]
mov edx, r9d
shr edx, 7
imul r10d, edx, 0x1b000000
lea r8d, [r9 + r9]
imul ecx, edx, 0x11b
mov eax, r8d
shl eax, 0x18
xor r10, rax
mov eax, r9d
shl eax, 8
or eax, r9d
shl eax, 8
or r10, rax
mov eax, r8d
xor rcx, rax
xor rcx, r9
or rcx, r10
shl rcx, 0x20
or rcx, r10
mov qword [rbx + r11*8 + 0xa3020], rcx
inc r11
cmp r11, 0x100
jl 0x14003381b
and qword [0x1400a3828], 0
and qword [0x1400a3820], 0
mov rbx, qword [rsp + 8]
mov byte [0x1400a4030], 1
ret
Function at 0x1400415ec
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
cmp r8, 8
jb 0x14004165f
mov rbp, r8
shr rbp, 3
imul rax, rbp, 0xfffffffffffffff8
add rdi, rax
mov r8d, 8
lea rcx, [rsp + 0x58]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 8
lea rcx, [rsp + 0x50]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x50]
add rsi, 8
xor rax, qword [rsp + 0x58]
add rbx, 8
or r14, rax
sub rbp, 1
jne 0x14004161e
mov rcx, r14
shr rcx, 0x20
or ecx, r14d
mov edx, ecx
mov eax, ecx
shr edx, 8
or edx, ecx
shr eax, 0x10
and edx, 0xff00
or edx, eax
movzx eax, cl
shr edx, 8
or edx, eax
test rdi, rdi
je 0x1400416a1
sub rsi, rbx
movzx ecx, byte [rbx + rsi]
movzx eax, byte [rbx]
inc rbx
xor ecx, eax
or edx, ecx
sub rdi, 1
jne 0x14004168d
mov rbx, qword [rsp + 0x40]
test edx, edx
mov rbp, qword [rsp + 0x48]
sete al
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x1400416bc
Capabilities:
Encode data using xor

Disassembly:
test r9, r9
je 0x140041782
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbx, r9
mov r15d, 4
mov rdi, r8
mov rsi, rdx
mov r14, rcx
cmp rbx, r15
jb 0x14004174d
mov rbp, rbx
shr rbp, 2
imul rax, rbp, 0xfffffffffffffffc
add rbx, rax
mov r8, r15
lea rcx, [rsp + 0x20]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r15
lea rcx, [rsp + 0x68]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x68]
lea rdx, [rsp + 0x24]
xor eax, dword [rsp + 0x20]
mov r8, r15
mov rcx, r14
mov dword [rsp + 0x24], eax
call sub.VCRUNTIME140.dll_memcpy
add r14, r15
add rsi, r15
add rdi, r15
sub rbp, 1
jne 0x140041702
test rbx, rbx
je 0x14004176a
sub rsi, rdi
sub r14, rdi
mov al, byte [rsi + rdi]
xor al, byte [rdi]
mov byte [r14 + rdi], al
inc rdi
sub rbx, 1
jne 0x140041758
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x140043b64
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqu xmm1, xmmword [rcx]
mov r9d, 4
shl edx, 2
mov r8, rcx
movdqu xmm0, xmmword [rcx + rdx*4]
movdqu xmmword [rcx], xmm0
movdqu xmmword [rcx + rdx*4], xmm1
add edx, 0xfffffffc
cmp edx, r9d
jbe 0x140043bb3
aesimc xmm0, xmmword [r8 + rdx*4]
mov ecx, r9d
add r9d, 4
aesimc xmm1, xmmword [r8 + rcx*4]
movdqu xmmword [r8 + rcx*4], xmm0
movdqu xmmword [r8 + rdx*4], xmm1
add edx, 0xfffffffc
cmp r9d, edx
jb 0x140043b8a
mov eax, r9d
aesimc xmm0, xmmword [r8 + rax*4]
movdqu xmmword [r8 + rax*4], xmm0
ret
Function at 0x1400443e8
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rsi, r8
mov r11, r9
movdqa xmm0, xmmword [rsi]
movdqu xmm4, xmmword [rcx]
pxor xmm0, xmm4
movd ebx, xmm0
mov eax, 0xf0f0f0f0
and eax, ebx
shl ebx, 4
and ebx, 0xf0f0f0f0
movzx edi, ah
movdqa xmm5, xmmword [rsi + rdi + 0x420]
movzx edi, al
movdqa xmm4, xmmword [rsi + rdi + 0x420]
shr eax, 0x10
movzx edi, ah
movdqa xmm3, xmmword [rsi + rdi + 0x420]
movzx edi, al
movdqa xmm2, xmmword [rsi + rdi + 0x420]
psrldq xmm0, 4
movd eax, xmm0
and eax, 0xf0f0f0f0
movzx edi, bh
pxor xmm5, xmmword [rsi + rdi + 0x20]
movzx edi, bl
pxor xmm4, xmmword [rsi + rdi + 0x20]
shr ebx, 0x10
movzx edi, bh
pxor xmm3, xmmword [rsi + rdi + 0x20]
movzx edi, bl
pxor xmm2, xmmword [rsi + rdi + 0x20]
movd ebx, xmm0
shl ebx, 4
and ebx, 0xf0f0f0f0
movzx edi, ah
pxor xmm5, xmmword [rsi + rdi + 0x520]
movzx edi, al
pxor xmm4, xmmword [rsi + rdi + 0x520]
shr eax, 0x10
movzx edi, ah
pxor xmm3, xmmword [rsi + rdi + 0x520]
movzx edi, al
pxor xmm2, xmmword [rsi + rdi + 0x520]
psrldq xmm0, 4
movd eax, xmm0
and eax, 0xf0f0f0f0
movzx edi, bh
pxor xmm5, xmmword [rsi + rdi + 0x120]
movzx edi, bl
pxor xmm4, xmmword [rsi + rdi + 0x120]
shr ebx, 0x10
movzx edi, bh
pxor xmm3, xmmword [rsi + rdi + 0x120]
movzx edi, bl
pxor xmm2, xmmword [rsi + rdi + 0x120]
movd ebx, xmm0
shl ebx, 4
and ebx, 0xf0f0f0f0
movzx edi, ah
pxor xmm5, xmmword [rsi + rdi + 0x620]
movzx edi, al
pxor xmm4, xmmword [rsi + rdi + 0x620]
shr eax, 0x10
movzx edi, ah
pxor xmm3, xmmword [rsi + rdi + 0x620]
movzx edi, al
pxor xmm2, xmmword [rsi + rdi + 0x620]
psrldq xmm0, 4
movd eax, xmm0
and eax, 0xf0f0f0f0
movzx edi, bh
pxor xmm5, xmmword [rsi + rdi + 0x220]
movzx edi, bl
pxor xmm4, xmmword [rsi + rdi + 0x220]
shr ebx, 0x10
movzx edi, bh
pxor xmm3, xmmword [rsi + rdi + 0x220]
movzx edi, bl
pxor xmm2, xmmword [rsi + rdi + 0x220]
movd ebx, xmm0
shl ebx, 4
and ebx, 0xf0f0f0f0
movzx edi, ah
pxor xmm5, xmmword [rsi + rdi + 0x720]
movzx edi, al
pxor xmm4, xmmword [rsi + rdi + 0x720]
shr eax, 0x10
movzx edi, ah
pxor xmm3, xmmword [rsi + rdi + 0x720]
movzx edi, al
pxor xmm2, xmmword [rsi + rdi + 0x720]
movzx edi, bh
pxor xmm5, xmmword [rsi + rdi + 0x320]
movzx edi, bl
pxor xmm4, xmmword [rsi + rdi + 0x320]
shr ebx, 0x10
movzx edi, bh
pxor xmm3, xmmword [rsi + rdi + 0x320]
movzx edi, bl
pxor xmm2, xmmword [rsi + rdi + 0x320]
movdqa xmm0, xmm3
pslldq xmm3, 1
pxor xmm2, xmm3
movdqa xmm1, xmm2
pslldq xmm2, 1
pxor xmm5, xmm2
psrldq xmm0, 0xf
movq rdi, xmm0
movzx eax, word [r11 + rdi*2]
shl eax, 8
movdqa xmm0, xmm5
pslldq xmm5, 1
pxor xmm4, xmm5
psrldq xmm1, 0xf
movq rdi, xmm1
xor ax, word [r11 + rdi*2]
shl eax, 8
psrldq xmm0, 0xf
movq rdi, xmm0
xor ax, word [r11 + rdi*2]
movd xmm0, eax
pxor xmm0, xmm4
add rcx, 0x10
sub rdx, 1
jne 0x1400443f6
movdqa xmmword [rsi], xmm0
pop rbx
pop rdi
pop rsi
ret
Function at 0x140044668
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
mov rsi, r8
movdqa xmm0, xmmword [rsi]
movdqu xmm1, xmmword [rcx]
pxor xmm1, xmm0
pxor xmm0, xmm0
movd eax, xmm1
psrldq xmm1, 4
movzx edi, al
add rdi, rdi
pxor xmm0, xmmword [rsi + rdi*8 + 0x20]
movzx edi, ah
add rdi, rdi
pxor xmm0, xmmword [rsi + rdi*8 + 0x1020]
shr eax, 0x10
movzx edi, al
add rdi, rdi
pxor xmm0, xmmword [rsi + rdi*8 + 0x2020]
movzx edi, ah
add rdi, rdi
pxor xmm0, xmmword [rsi + rdi*8 + 0x3020]
movd eax, xmm1
psrldq xmm1, 4
movzx edi, al
add rdi, rdi
pxor xmm0, xmmword [rsi + rdi*8 + 0x4020]
movzx edi, ah
add rdi, rdi
pxor xmm0, xmmword [rsi + rdi*8 + 0x5020]
shr eax, 0x10
movzx edi, al
add rdi, rdi
pxor xmm0, xmmword [rsi + rdi*8 + 0x6020]
movzx edi, ah
add rdi, rdi
pxor xmm0, xmmword [rsi + rdi*8 + 0x7020]
movd eax, xmm1
psrldq xmm1, 4
movzx edi, al
add rdi, rdi
pxor xmm0, xmmword [rsi + rdi*8 + 0x8020]
movzx edi, ah
add rdi, rdi
pxor xmm0, xmmword [rsi + rdi*8 + 0x9020]
shr eax, 0x10
movzx edi, al
add rdi, rdi
pxor xmm0, xmmword [rsi + rdi*8 + 0xa020]
movzx edi, ah
add rdi, rdi
pxor xmm0, xmmword [rsi + rdi*8 + 0xb020]
movd eax, xmm1
psrldq xmm1, 4
movzx edi, al
add rdi, rdi
pxor xmm0, xmmword [rsi + rdi*8 + 0xc020]
movzx edi, ah
add rdi, rdi
pxor xmm0, xmmword [rsi + rdi*8 + 0xd020]
shr eax, 0x10
movzx edi, al
add rdi, rdi
pxor xmm0, xmmword [rsi + rdi*8 + 0xe020]
movzx edi, ah
add rdi, rdi
pxor xmm0, xmmword [rsi + rdi*8 + 0xf020]
add rcx, 0x10
sub rdx, 1
jne 0x140044672
movdqa xmmword [rsi], xmm0
pop rdi
pop rsi
ret
Function at 0x14004e4e0
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rsi, [rcx + rdx]
mov rbx, rcx
mov edi, 0x1505
cmp rcx, rsi
jae 0x14004e51a
mov cl, byte [rbx]
call fcn.14004cfa0
imul rdi, rdi, 0x21
movsx rdx, al
inc rbx
xor rdi, rdx
cmp rbx, rsi
jb 0x14004e500
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
movzx eax, dil
add rsp, 0x20
pop rdi
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14004e922
call fcn.140063d54
test al, al
jne 0x14004e922
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14004eb98
mov rdx, qword [rsp + 0x30]
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x14004e4e0
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14004e8ec
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rsi, [rcx + rdx]
mov rbx, rcx
mov edi, 0x1505
cmp rcx, rsi
jae 0x14004e51a
mov cl, byte [rbx]
call fcn.14004cfa0
imul rdi, rdi, 0x21
movsx rdx, al
inc rbx
xor rdi, rdx
cmp rbx, rsi
jb 0x14004e500
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
movzx eax, dil
add rsp, 0x20
pop rdi
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14004e922
call fcn.140063d54
test al, al
jne 0x14004e922
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14004eb98
mov rdx, qword [rsp + 0x30]
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x14004e4e0
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14005a2bc
Capabilities:
Write 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, 0x30
xor ebx, ebx
movsxd rsi, edx
mov rbp, r9
mov r14, r8
mov rdi, rcx
cmp byte [rcx + 0xb11], bl
je 0x14005a377
cmp qword [rcx + 0x278], rbx
je 0x14005a32a
mov dl, 1
call fcn.140055b04
mov rax, qword [rdi + 0x1d8]
mov r9, rbp
mov r8, r14
mov qword [rsp + 0x20], rax
mov edx, esi
mov rcx, rdi
call qword [rdi + 0x278]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.140055b04
jmp 0x14005a377
mov ecx, esi
test edx, edx
je 0x14005a33a
sub ecx, 1
je 0x14005a33a
cmp ecx, 1
jne 0x14005a377
mov r9, qword [rdi + 0x1d0]
lea rax, [0x140086e48]
mov edx, 2
lea rcx, [rsi + rsi*2]
add rcx, rax
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x1d0]
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14005a570
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x14005a5a9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
and qword [rbx], 0
mov ecx, 0x38
cmp eax, 0x2733
lea edx, [rcx + 0x19]
cmove ecx, edx
mov eax, ecx
jmp 0x14005a5ae
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret