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

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov r9, rcx
mov r11, rdx
mov r12d, r8d
test r8d, r8d
je 0x4f966e
mov rax, rdx
lea edx, [r8 - 1]
lea rbp, [rcx + 0x100]
mov rbx, rdx
shl rdx, 9
lea r10, [rcx + 0x208]
lea r13, [r11 + rdx + 0x200]
mov rdx, qword [r9]
lea rdi, [rax + 8]
lea r8, [rax + 0x200]
mov rsi, r9
and rdi, 0xfffffffffffffff8
mov qword [rax], rdx
mov rdx, qword [r10 - 0x10]
mov qword [rax + 0x1f8], rdx
sub rax, rdi
mov rdx, rbp
sub rsi, rax
add eax, 0x200
shr eax, 3
mov ecx, eax
rep movsq qword [rdi], qword [rsi]
mov rcx, r9
call fcn.004f5c00
mov rcx, rbp
mov rdx, r9
call fcn.004f5c00
mov rax, r8
cmp r13, r8
jne 0x4f9562
xor esi, esi
mov r10d, dword [r9 + 0x100]
mov r8d, dword [r9 + 0x104]
xor eax, eax
mov ecx, dword [r9 + 0x108]
mov edx, dword [r9 + 0x10c]
and r10d, ebx
and r8d, ebx
shl r10d, 5
and ecx, ebx
and edx, ebx
shl r8d, 5
shl ecx, 5
shl edx, 5
shl r10, 4
shl r8, 4
shl rcx, 4
shl rdx, 4
add r10, r11
add r8, r11
add rcx, r11
add rdx, r11
nop word [rax + rax]
movd xmm1, dword [rax + rcx + 8]
movd xmm2, dword [rdx + rax + 0xc]
movd xmm0, dword [r10 + rax]
movd xmm3, dword [r8 + rax + 4]
punpckldq xmm1, xmm2
punpckldq xmm0, xmm3
punpcklqdq xmm0, xmm1
pxor xmm0, xmmword [r9 + rax]
movups xmmword [r9 + rax], xmm0
add rax, 0x10
cmp rax, 0x200
jne 0x4f9610
mov rcx, r9
mov rdx, rbp
add esi, 1
call fcn.004f5c00
mov rcx, rbp
mov rdx, r9
call fcn.004f5c00
cmp esi, r12d
jne 0x4f95b8
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x4fd0c0
Capabilities:
Hash data using sha256

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x140
xor eax, eax
movdqu xmm0, xmmword [0x00620b00]
movdqu xmm1, xmmword [rdx]
movdqu xmm2, xmmword [rdx + 0x10]
mov rsi, r8
mov r13, rcx
lea r8, [rsp + 0xa0]
mov ecx, 0x12
mov rdi, r8
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], 0x1012020
lea r12, [rsp + 0x80]
rep stosq qword [rdi], rax
mov rdx, r8
mov qword [rsp + 0x28], 0
pxor xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], 0
mov rcx, r12
mov qword [rsp + 0x38], 0
movups xmmword [rsp + 0x80], xmm0
movdqu xmm0, xmmword [0x00620b10]
pxor xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x90], xmm0
mov dword [rdi], 0
movups xmmword [rsp + 0x50], xmm2
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
call fcn.004fcb10
mov rdx, r13
mov rcx, r12
lea r13, [rsp + 0xb0]
call fcn.004fcb10
mov eax, dword [rsp + 0x130]
cmp eax, 0x40
ja 0x4fd240
mov ebx, pe_nt_image_headers64
mov ecx, eax
add dword [rsp + 0xa0], eax
mov dword [rsp + 0xa8], 0xffffffff
sub ebx, eax
add rcx, r13
mov eax, ebx
shr eax, 2
je 0x4fd1eb
sub eax, 1
xor edx, edx
lea r8, [rax*4 + 4]
call sub.msvcrt.dll_memset
mov rcx, rax
mov edx, ebx
and edx, 3
je 0x4fd20b
mov eax, ebx
sub eax, edx
cmp ebx, eax
jbe 0x4fd20b
sub edx, 1
add rcx, rax
lea r8, [rdx + 1]
xor edx, edx
call sub.msvcrt.dll_memset
mov rdx, r13
mov rcx, r12
call fcn.004fb8d0
movdqu xmm3, xmmword [rsp + 0x80]
movdqu xmm4, xmmword [rsp + 0x90]
movups xmmword [rsi], xmm3
movups xmmword [rsi + 0x10], xmm4
add rsp, 0x140
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret
mov rdx, r13
mov rcx, r12
add dword [rsp + 0xa0], 0x40
call fcn.004fb8d0
mov edi, dword [rsp + 0x130]
lea ebx, [rdi - 0x40]
mov eax, ebx
mov dword [rsp + 0x130], ebx
shr eax, 2
je 0x4fd286
sub eax, 1
lea rdx, [rsp + 0xf0]
mov rcx, r13
lea r8, [rax*4 + 4]
call sub.msvcrt.dll_memmove
mov edx, ebx
and edx, 3
je 0x4fd2b2
mov eax, ebx
sub eax, edx
cmp ebx, eax
jbe 0x4fd2b2
sub edx, ebx
lea rcx, [r13 + rax]
lea r8d, [rdi + rdx - 0x41]
lea rdx, [rsp + rax + 0xf0]
add r8, 1
call sub.msvcrt.dll_memmove
mov eax, dword [rsp + 0x130]
jmp 0x4fd1b1
Function at 0x50a6f0
Capabilities:
Hash data using sha256

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0xc0
movdqu xmm0, xmmword [0x00620b60]
movdqu xmm1, xmmword [0x00620b70]
lea rbx, [rsp + 0x5f]
mov rsi, rcx
and rbx, 0xffffffffffffffc0
mov rcx, rbx
mov qword [rbx + 0x60], 0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm1
call fcn.00509ea0
mov rax, qword [rbx + 0x60]
mov ecx, eax
and ecx, 0x3f
lea edx, [rcx + 1]
mov byte [rbx + rcx], pe_nt_image_headers64
cmp edx, 0x38
jbe 0x50a818
mov ecx, edx
mov eax, 0x40
add rcx, rbx
sub eax, edx
mov edx, eax
je 0x50a769
xor eax, eax
mov r8d, eax
add eax, 1
mov byte [rcx + r8], 0
cmp eax, edx
jb 0x50a75a
lea r12, [rbx + 0x40]
mov rcx, rbx
mov rdx, r12
call fcn.00502440
mov qword [rbx], 0
mov rax, qword [rbx + 0x60]
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x28], 0
mov qword [rbx + 0x30], 0
shl rax, 3
bswap rax
mov rdx, r12
mov rcx, rbx
mov qword [rbx + 0x38], rax
call fcn.00502440
mov eax, dword [rbx + 0x40]
bswap eax
mov dword [rsi], eax
mov eax, dword [rbx + 0x44]
bswap eax
mov dword [rsi + 4], eax
mov eax, dword [rbx + 0x48]
bswap eax
mov dword [rsi + 8], eax
mov eax, dword [rbx + 0x4c]
bswap eax
mov dword [rsi + 0xc], eax
mov eax, dword [rbx + 0x50]
bswap eax
mov dword [rsi + 0x10], eax
mov eax, dword [rbx + 0x54]
bswap eax
mov dword [rsi + 0x14], eax
mov eax, dword [rbx + 0x58]
bswap eax
mov dword [rsi + 0x18], eax
mov eax, dword [rbx + 0x5c]
bswap eax
mov dword [rsi + 0x1c], eax
add rsp, 0xc0
pop rbx
pop rsi
pop r12
ret
mov ecx, 0x38
xor r9d, r9d
sub ecx, edx
add rdx, rbx
cmp ecx, 8
jae 0x50a850
test cl, 4
jne 0x50a8a0
lea r12, [rbx + 0x40]
test ecx, ecx
je 0x50a7b3
mov byte [rdx], 0
test cl, 2
jne 0x50a8c0
mov rax, qword [rbx + 0x60]
jmp 0x50a7b3
lea r8, [rdx + 8]
mov eax, ecx
mov qword [rdx], 0
mov qword [rdx + rax - 8], 0
and r8, 0xfffffffffffffff8
sub rdx, r8
add edx, ecx
and edx, 0xfffffff8
cmp edx, 8
jb 0x50a889
and edx, 0xfffffff8
xor eax, eax
mov ecx, eax
add eax, 8
mov qword [r8 + rcx], r9
cmp eax, edx
jb 0x50a87c
mov rax, qword [rbx + 0x60]
lea r12, [rbx + 0x40]
jmp 0x50a7b3
mov dword [rdx], 0
lea r12, [rbx + 0x40]
mov dword [rdx + rcx - 4], 0
mov rax, qword [rbx + 0x60]
jmp 0x50a7b3
xor eax, eax
mov word [rdx + rcx - 2], ax
jmp 0x50a843
Function at 0x51d300
Capabilities:
Hash data using sha256

Disassembly:
push r12
sub rsp, 0x20
mov r12, rcx
movsxd r8, r8d
call fcn.0050a6f0
mov r8d, 0x20
mov rdx, r12
mov rcx, r12
add rsp, 0x20
pop r12
jmp fcn.0050a6f0
Function at 0x576ba0
Capabilities:
Encode data using base64

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x80]
and eax, 0x3f
mov rbx, rcx
lea ecx, [rax + 1]
mov rsi, rdx
mov byte [rbx + rax], pe_nt_image_headers64
mov eax, ecx
lea rdi, [rbx + 0x40]
add rax, rbx
cmp ecx, 0x20
jbe 0x576cc8
mov edx, 0x40
xor r9d, r9d
sub edx, ecx
cmp edx, 8
jb 0x576d50
mov ecx, edx
mov qword [rax], 0
mov qword [rax + rcx - 8], 0
lea rcx, [rax + 8]
and rcx, 0xfffffffffffffff8
sub rax, rcx
add edx, eax
and edx, 0xfffffff8
cmp edx, 8
jb 0x576c1c
and edx, 0xfffffff8
xor eax, eax
mov r8d, eax
add eax, 8
mov qword [rcx + r8], r9
cmp eax, edx
jb 0x576c0e
mov rdx, rdi
mov rcx, rbx
call fcn.005743c0
mov qword [rbx], 0
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov rax, qword [rbx + 0x80]
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x28], 0
mov rdx, rax
shr rdx, 0x3d
bswap rdx
mov qword [rbx + 0x30], rdx
shl rax, 3
bswap rax
mov qword [rbx + 0x38], rax
mov rdx, rdi
mov rcx, rbx
call fcn.005743c0
lea rax, [rsi + 0x10]
cmp rdi, rax
jae 0x576c97
lea rax, [rbx + 0x50]
cmp rsi, rax
jb 0x576d80
movdqu xmm1, xmmword [rbx + 0x40]
movups xmmword [rsi], xmm1
movdqu xmm2, xmmword [rbx + 0x50]
movups xmmword [rsi + 0x10], xmm2
movdqu xmm3, xmmword [rbx + 0x60]
movups xmmword [rsi + 0x20], xmm3
movdqu xmm0, xmmword [rbx + 0x70]
movups xmmword [rsi + 0x30], xmm0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, 0x20
xor r9d, r9d
sub edx, ecx
cmp edx, 8
jb 0x576d20
mov ecx, edx
mov qword [rax], 0
mov qword [rax + rcx - 8], 0
lea rcx, [rax + 8]
and rcx, 0xfffffffffffffff8
sub rax, rcx
add edx, eax
and edx, 0xfffffff8
cmp edx, 8
jb 0x576c46
and edx, 0xfffffff8
xor eax, eax
mov r8d, eax
add eax, 8
mov qword [rcx + r8], r9
cmp eax, edx
jb 0x576d07
jmp 0x576c46
test dl, 4
jne 0x576dc7
test edx, edx
je 0x576c46
mov byte [rax], 0
test dl, 2
je 0x576c46
xor ecx, ecx
mov word [rax + rdx - 2], cx
jmp 0x576c46
test dl, 4
jne 0x576dda
test edx, edx
je 0x576c1c
mov byte [rax], 0
test dl, 2
je 0x576c1c
xor r8d, r8d
mov word [rax + rdx - 2], r8w
jmp 0x576c1c
mov rax, qword [rbx + 0x40]
mov qword [rsi], rax
mov rax, qword [rbx + 0x48]
mov qword [rsi + 8], rax
mov rax, qword [rbx + 0x50]
mov qword [rsi + 0x10], rax
mov rax, qword [rbx + 0x58]
mov qword [rsi + 0x18], rax
mov rax, qword [rbx + 0x60]
mov qword [rsi + 0x20], rax
mov rax, qword [rbx + 0x68]
mov qword [rsi + 0x28], rax
mov rax, qword [rbx + 0x70]
mov qword [rsi + 0x30], rax
mov rax, qword [rbx + 0x78]
mov qword [rsi + 0x38], rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov dword [rax], 0
mov dword [rax + rdx - 4], 0
jmp 0x576c46
mov dword [rax], 0
mov dword [rax + rdx - 4], 0
jmp 0x576c1c
Function at 0x577040
Capabilities:
Encode data using base64

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x80]
and eax, 0x3f
mov rbx, rcx
lea ecx, [rax + 1]
mov rsi, rdx
mov byte [rbx + rax], pe_nt_image_headers64
mov eax, ecx
lea rdi, [rbx + 0x40]
add rax, rbx
cmp ecx, 0x20
jbe 0x577168
mov edx, 0x40
xor r9d, r9d
sub edx, ecx
cmp edx, 8
jb 0x5771f0
mov ecx, edx
mov qword [rax], 0
mov qword [rax + rcx - 8], 0
lea rcx, [rax + 8]
and rcx, 0xfffffffffffffff8
sub rax, rcx
add edx, eax
and edx, 0xfffffff8
cmp edx, 8
jb 0x5770bc
and edx, 0xfffffff8
xor eax, eax
mov r8d, eax
add eax, 8
mov qword [rcx + r8], r9
cmp eax, edx
jb 0x5770ae
mov rdx, rdi
mov rcx, rbx
call fcn.005759e0
mov qword [rbx], 0
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov rax, qword [rbx + 0x80]
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x28], 0
mov rdx, rax
shr rdx, 0x3d
bswap rdx
mov qword [rbx + 0x30], rdx
shl rax, 3
bswap rax
mov qword [rbx + 0x38], rax
mov rdx, rdi
mov rcx, rbx
call fcn.005759e0
lea rax, [rsi + 0x10]
cmp rdi, rax
jae 0x577137
lea rax, [rbx + 0x50]
cmp rsi, rax
jb 0x577220
movdqu xmm1, xmmword [rbx + 0x40]
movups xmmword [rsi], xmm1
movdqu xmm2, xmmword [rbx + 0x50]
movups xmmword [rsi + 0x10], xmm2
movdqu xmm3, xmmword [rbx + 0x60]
movups xmmword [rsi + 0x20], xmm3
movdqu xmm0, xmmword [rbx + 0x70]
movups xmmword [rsi + 0x30], xmm0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, 0x20
xor r9d, r9d
sub edx, ecx
cmp edx, 8
jb 0x5771c0
mov ecx, edx
mov qword [rax], 0
mov qword [rax + rcx - 8], 0
lea rcx, [rax + 8]
and rcx, 0xfffffffffffffff8
sub rax, rcx
add edx, eax
and edx, 0xfffffff8
cmp edx, 8
jb 0x5770e6
and edx, 0xfffffff8
xor eax, eax
mov r8d, eax
add eax, 8
mov qword [rcx + r8], r9
cmp eax, edx
jb 0x5771a7
jmp 0x5770e6
test dl, 4
jne 0x577267
test edx, edx
je 0x5770e6
mov byte [rax], 0
test dl, 2
je 0x5770e6
xor ecx, ecx
mov word [rax + rdx - 2], cx
jmp 0x5770e6
test dl, 4
jne 0x57727a
test edx, edx
je 0x5770bc
mov byte [rax], 0
test dl, 2
je 0x5770bc
xor r8d, r8d
mov word [rax + rdx - 2], r8w
jmp 0x5770bc
mov rax, qword [rbx + 0x40]
mov qword [rsi], rax
mov rax, qword [rbx + 0x48]
mov qword [rsi + 8], rax
mov rax, qword [rbx + 0x50]
mov qword [rsi + 0x10], rax
mov rax, qword [rbx + 0x58]
mov qword [rsi + 0x18], rax
mov rax, qword [rbx + 0x60]
mov qword [rsi + 0x20], rax
mov rax, qword [rbx + 0x68]
mov qword [rsi + 0x28], rax
mov rax, qword [rbx + 0x70]
mov qword [rsi + 0x30], rax
mov rax, qword [rbx + 0x78]
mov qword [rsi + 0x38], rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov dword [rax], 0
mov dword [rax + rdx - 4], 0
jmp 0x5770e6
mov dword [rax], 0
mov dword [rax + rdx - 4], 0
jmp 0x5770bc
Function at 0x591340
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x4f8
mov rbx, r9
mov r12, r8
mov r13, rcx
mov r8, rdx
lea r9, [rsp + 0xff]
mov r14, rdx
mov rdx, rcx
and r9, 0xffffffffffffffc0
lea rax, [r9 + 0x200]
mov r15, r9
mov rdi, rax
mov rcx, rax
mov qword [rsp + 0x40], rax
call fcn.00590c20
mov r8, rbx
mov rdx, r12
mov rcx, rdi
call fcn.00441120
cmp qword [rsp + 0x570], 0
je 0x5915ce
lea rdi, [rsp + 0x5c]
mov qword [rsp + 0x548], r14
lea rbx, [r15 + 0x100]
mov r14, r13
mov qword [rsp + 0x48], rdi
mov r13, r15
mov eax, 0x1000000
lea r12, [rsp + 0x60]
lea rdi, [rsp + 0x80]
mov r15, qword [rsp + 0x548]
mov qword [rsp + 0x30], 1
lea rbp, [rsp + 0xa0]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x38], rdi
mov rsi, qword [rsp + 0x40]
mov ecx, 0x40
mov rdi, r13
mov rdx, qword [rsp + 0x48]
rep movsq qword [rdi], qword [rsi]
mov r8d, 4
mov rcx, r13
mov dword [rsp + 0x5c], eax
mov esi, 2
call fcn.00441120
mov rdx, rbp
mov rcx, r13
call fcn.004411b0
mov r8d, 0x20
mov rdx, rbp
mov rcx, rbx
call fcn.00441120
mov rdx, r12
mov rcx, rbx
call fcn.004411b0
movdqu xmm1, xmmword [rsp + 0x60]
movdqu xmm2, xmmword [rsp + 0x70]
cmp qword [rsp + 0x560], 1
mov rdi, qword [rsp + 0x560]
movups xmmword [rsp + 0x80], xmm1
movups xmmword [rsp + 0x90], xmm2
jbe 0x59150d
nop word cs:[rax + rax]
mov r8, r15
mov rdx, r14
mov rcx, r13
add rsi, 1
call fcn.00590c20
mov r8d, 0x20
mov rdx, r12
mov rcx, r13
call fcn.00441120
mov rdx, rbp
mov rcx, r13
call fcn.004411b0
mov r8d, 0x20
mov rdx, rbp
mov rcx, rbx
call fcn.00441120
mov rdx, r12
mov rcx, rbx
call fcn.004411b0
movdqu xmm0, xmmword [rsp + 0x80]
pxor xmm0, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x80], xmm0
movdqu xmm0, xmmword [rsp + 0x90]
pxor xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x90], xmm0
cmp rdi, rsi
jae 0x591490
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x570]
mov rcx, qword [rsp + 0x568]
sub rdx, rax
add rcx, rax
mov eax, 0x20
cmp rdx, 0x20
cmova rdx, rax
mov eax, edx
cmp edx, 8
jae 0x591581
and edx, 4
jne 0x5915e2
test eax, eax
je 0x59155b
mov rsi, qword [rsp + 0x38]
movzx edx, byte [rsi]
mov byte [rcx], dl
test al, 2
jne 0x5915f8
add qword [rsp + 0x28], 0x20
mov rax, qword [rsp + 0x28]
add qword [rsp + 0x30], 1
cmp qword [rsp + 0x570], rax
jbe 0x5915ce
mov eax, dword [rsp + 0x30]
bswap eax
jmp 0x591400
mov rdi, qword [rsp + 0x38]
mov rax, qword [rdi]
mov qword [rcx], rax
mov eax, edx
mov r8, qword [rdi + rax - 8]
mov qword [rcx + rax - 8], r8
lea r8, [rcx + 8]
mov rax, rcx
and r8, 0xfffffffffffffff8
sub rax, r8
sub rdi, rax
add eax, edx
and eax, 0xfffffff8
mov r10, rdi
cmp eax, 8
jb 0x59155b
and eax, 0xfffffff8
xor edx, edx
mov ecx, edx
add edx, 8
mov r9, qword [r10 + rcx]
mov qword [r8 + rcx], r9
cmp edx, eax
jb 0x5915bb
jmp 0x59155b
add rsp, 0x4f8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rsp + 0x38]
mov edx, dword [rdi]
mov dword [rcx], edx
mov edx, dword [rdi + rax - 4]
mov dword [rcx + rax - 4], edx
jmp 0x59155b
mov rdi, qword [rsp + 0x38]
movzx edx, word [rdi + rax - 2]
mov word [rcx + rax - 2], dx
jmp 0x59155b
Function at 0x5a3704
Capabilities:
Encode data using xor

Disassembly:
mov r10, rdi
mov r11, rsi
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
xor rcx, rcx
mov ecx, edx
shr ecx, 6
mov rax, 0x40
movdqa xmm0, xmmword [rdi]
movdqa xmm1, xmmword [rdi + 0x10]
movdqa xmm2, xmmword [rdi + 0x20]
movdqa xmm3, xmmword [rdi + 0x30]
movdqa xmm4, xmmword [rsi]
movdqa xmm5, xmmword [rsi + 0x10]
movdqa xmm8, xmmword [rsi + 0x20]
movdqa xmm9, xmmword [rsi + 0x30]
pxor xmm0, xmm4
pxor xmm1, xmm5
pxor xmm2, xmm8
pxor xmm3, xmm9
movdqa xmmword [rdi], xmm0
movdqa xmmword [rdi + 0x10], xmm1
movdqa xmmword [rdi + 0x20], xmm2
movdqa xmmword [rdi + 0x30], xmm3
add rdi, rax
add rsi, rax
dec ecx
jne 0x5a3722
mov rdi, r10
mov rsi, r11
ret

Function at 0x5a3780
Capabilities:
Encode data using xor

Disassembly:
mov r10, rdi
mov r11, rsi
mov rdi, rcx
mov rsi, rdx
xor rcx, rcx
mov ecx, esi
shr ecx, 1
movdqa xmm0, xmmword [rdi]
movdqa xmm12, xmm0
movdqa xmm1, xmmword [rdi + 0x10]
movdqa xmm13, xmm1
movdqa xmm2, xmmword [rdi + 0x20]
movdqa xmm14, xmm2
movdqa xmm3, xmmword [rdi + 0x30]
movdqa xmm15, xmm3
movdqa xmm4, xmm1
paddd xmm4, xmm0
movdqa xmm5, xmm4
pslld xmm4, 7
psrld xmm5, 0x19
pxor xmm3, xmm4
movdqa xmm4, xmm0
pxor xmm3, xmm5
paddd xmm4, xmm3
movdqa xmm5, xmm4
pslld xmm4, 9
psrld xmm5, 0x17
pxor xmm2, xmm4
movdqa xmm4, xmm3
pxor xmm2, xmm5
pshufd xmm3, xmm3, 0x93
paddd xmm4, xmm2
movdqa xmm5, xmm4
pslld xmm4, 0xd
psrld xmm5, 0x13
pxor xmm1, xmm4
movdqa xmm4, xmm2
pxor xmm1, xmm5
pshufd xmm2, xmm2, 0x4e
paddd xmm4, xmm1
movdqa xmm5, xmm4
pslld xmm4, 0x12
psrld xmm5, 0xe
pxor xmm0, xmm4
movdqa xmm4, xmm3
pxor xmm0, xmm5
pshufd xmm1, xmm1, 0x39
paddd xmm4, xmm0
movdqa xmm5, xmm4
pslld xmm4, 7
psrld xmm5, 0x19
pxor xmm1, xmm4
movdqa xmm4, xmm0
pxor xmm1, xmm5
paddd xmm4, xmm1
movdqa xmm5, xmm4
pslld xmm4, 9
psrld xmm5, 0x17
pxor xmm2, xmm4
movdqa xmm4, xmm1
pxor xmm2, xmm5
pshufd xmm1, xmm1, 0x93
paddd xmm4, xmm2
movdqa xmm5, xmm4
pslld xmm4, 0xd
psrld xmm5, 0x13
pxor xmm3, xmm4
movdqa xmm4, xmm2
pxor xmm3, xmm5
pshufd xmm2, xmm2, 0x4e
paddd xmm4, xmm3
movdqa xmm5, xmm4
pslld xmm4, 0x12
psrld xmm5, 0xe
pxor xmm0, xmm4
pshufd xmm3, xmm3, 0x39
pxor xmm0, xmm5
dec ecx
jne 0x5a37ba
paddd xmm0, xmm12
movdqa xmmword [rdi], xmm0
paddd xmm1, xmm13
movdqa xmmword [rdi + 0x10], xmm1
paddd xmm2, xmm14
movdqa xmmword [rdi + 0x20], xmm2
paddd xmm3, xmm15
movdqa xmmword [rdi + 0x30], xmm3
mov rdi, r10
mov rsi, r11
ret
Function at 0x5a396c
Capabilities:
Encode data using xor

Disassembly:
mov r10, rdi
mov r11, rsi
mov rdi, rcx
mov rsi, rdx
xor rcx, rcx
mov ecx, esi
shr ecx, 1
movdqa xmm0, xmmword [rdi]
movdqa xmm12, xmm0
movdqa xmm1, xmmword [rdi + 0x10]
movdqa xmm13, xmm1
movdqa xmm2, xmmword [rdi + 0x20]
movdqa xmm14, xmm2
movdqa xmm3, xmmword [rdi + 0x30]
movdqa xmm15, xmm3
paddd xmm0, xmm1
pxor xmm3, xmm0
pshuflw xmm3, xmm3, 0xb1
pshufhw xmm3, xmm3, 0xb1
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
pslld xmm1, 0xc
psrld xmm4, 0x14
pxor xmm1, xmm4
paddd xmm0, xmm1
pxor xmm3, xmm0
movdqa xmm4, xmm3
pslld xmm3, 8
psrld xmm4, 0x18
pxor xmm3, xmm4
pshufd xmm0, xmm0, 0x93
paddd xmm2, xmm3
pshufd xmm3, xmm3, 0x4e
pxor xmm1, xmm2
pshufd xmm2, xmm2, 0x39
movdqa xmm4, xmm1
pslld xmm1, 7
psrld xmm4, 0x19
pxor xmm1, xmm4
paddd xmm0, xmm1
pxor xmm3, xmm0
pshuflw xmm3, xmm3, 0xb1
pshufhw xmm3, xmm3, 0xb1
paddd xmm2, xmm3
pxor xmm1, xmm2
movdqa xmm4, xmm1
pslld xmm1, 0xc
psrld xmm4, 0x14
pxor xmm1, xmm4
paddd xmm0, xmm1
pxor xmm3, xmm0
movdqa xmm4, xmm3
pslld xmm3, 8
psrld xmm4, 0x18
pxor xmm3, xmm4
pshufd xmm0, xmm0, 0x39
paddd xmm2, xmm3
pshufd xmm3, xmm3, 0x4e
pxor xmm1, xmm2
pshufd xmm2, xmm2, 0x93
movdqa xmm4, xmm1
pslld xmm1, 7
psrld xmm4, 0x19
pxor xmm1, xmm4
dec ecx
jne 0x5a39a6
paddd xmm0, xmm12
movdqa xmmword [rdi], xmm0
paddd xmm1, xmm13
movdqa xmmword [rdi + 0x10], xmm1
paddd xmm2, xmm14
movdqa xmmword [rdi + 0x20], xmm2
paddd xmm3, xmm15
movdqa xmmword [rdi + 0x30], xmm3
mov rdi, r10
mov rsi, r11
ret
Function at 0x5a5f70
Capabilities:
Hash data using djb2

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, rdx
movsx rdx, byte [rdx]
test rdx, rdx
je 0x5a6030
mov r8, rbp
mov esi, 0x1505
mov rax, rsi
add r8, 1
shl rax, 5
add rax, rdx
movsx rdx, byte [r8]
add rsi, rax
test rdx, rdx
jne 0x5a5f90
mov r8, qword [rcx + 0x10]
lea rdi, [0x0063ae60]
mov rax, rsi
xor edx, edx
add rcx, 0x18
div qword [rdi + r8*8]
mov rdi, qword [rcx - 0x10]
shl rdx, 4
add rdi, rdx
mov rbx, qword [rdi]
cmp rbx, rcx
jne 0x5a5fea
jmp 0x5a6020
cmp rbx, qword [rdi + 8]
je 0x5a6010
mov rbx, qword [rbx + 8]
cmp qword [rbx - 8], rsi
jne 0x5a5fe0
lea rcx, [rbx + 0x20]
mov rdx, rbp
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x5a5fe0
mov rax, qword [rbx + 0x10]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor eax, eax
cmp rbx, qword [rdi + 8]
jne 0x5a5fea
jmp 0x5a6004
mov esi, 0x1505
jmp 0x5a5faa

Function at 0x5a8de0
Capabilities:
Hash data using djb2

Disassembly:
test rcx, rcx
je 0x5a8df8
mov eax, dword [rcx]
test eax, eax
jne 0x5a8df8
add rcx, 0x10
jmp fcn.005a5f70
xor eax, eax
ret
Function at 0x5ab9b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rbx, qword [0x00652cd0]
test rbx, rbx
je 0x5abb80
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rbx, rbx
je 0x5abb80
mov rax, qword [rbx + 0x10]
lea rbp, [rsp + 0x20]
mov rdx, qword [rbx + 0x18]
lea rsi, [rsp + 0x30]
mov rcx, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdx
call fcn.005ab230
lea rax, [rbx + 0x38]
mov rcx, rsi
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
xchg qword [rax], rcx
test rcx, rcx
je 0x5aba7c
mov qword [rcx + 8], rsi
lea rdx, [rcx + 0x18]
xor eax, eax
mov rcx, 0xffffffffffffffff
lock cmpxchg qword [rdx], rcx
test rax, rax
mov rcx, rax
je 0x5aba67
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea r12, [rsi + 0x10]
xor edi, edi
lock xadd qword [r12], rdi
test rdi, rdi
je 0x5abb90
mov dword [rbx + 0x28], 6
mov r8, qword [rsp + 0x30]
lea rax, [rsi + 8]
xor edx, edx
lock xadd qword [rax], rdx
test rdx, rdx
mov rcx, rdx
je 0x5abbd0
add rcx, 0x10
xor eax, eax
mov rdx, 0xffffffffffffffff
lock cmpxchg qword [rcx], rdx
test rax, rax
mov rcx, rax
je 0x5ababf
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rax, qword [rbx + 0x178]
mov esi, 0xffffffff
mov rdi, qword [sym.imp.KERNEL32.dll_SetEvent]
test rax, rax
jne 0x5abafb
jmp 0x5abb45
add r8, 8
mov eax, esi
xchg dword [r8], eax
mov rcx, qword [rdx + 0x20]
call rdi
mov rax, qword [rbx + 0x178]
test rax, rax
je 0x5abb45
mov rdx, qword [rax]
mov r9, qword [rdx + 0x28]
mov r10, qword [rdx + 0x10]
mov qword [rdx + 0x10], rbx
mov rax, qword [r9 + 0x18]
test rax, rax
je 0x5abb1b
mov rcx, qword [r9 + 0x10]
mov qword [rax + 0x10], rcx
mov rcx, qword [r9 + 0x10]
test rcx, rcx
je 0x5abb28
mov qword [rcx + 0x18], rax
cmp r9, qword [r10 + 0x178]
mov r8, r9
jne 0x5abae0
mov rax, qword [r9 + 0x18]
mov qword [r10 + 0x178], rax
mov r8, qword [rdx + 0x28]
jmp 0x5abae0
cmp dword [rbx + 0x184], 1
jne 0x5abb80
mov rax, qword [rbx + 0x10]
mov rcx, rbp
mov rdx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdx
call fcn.005aaf30
mov rax, qword [0x00652cd0]
xor edx, edx
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop dword [rax]
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov r13, rax
mov rax, rdi
lock cmpxchg qword [r12], r13
test rax, rax
je 0x5abbbf
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5aba7c
mov edx, 0xffffffff
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x5abbb1
mov rax, rsi
lock cmpxchg qword [r8], rdx
cmp rsi, rax
je 0x5ababf
lea rcx, [rsi + 0x18]
lock xadd qword [rcx], rdx
test rdx, rdx
je 0x5abbff
add rsi, 8
xor ecx, ecx
lock xadd qword [rsi], rcx
jmp 0x5aba9f
call fcn.005aac30
jmp 0x5abbef