joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5804e0
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
mov rsi, rdx
lea ecx, [rax + 1]
mov byte [rbx + rax], pe_nt_image_headers64
lea rdi, [rbx + 0x40]
mov eax, ecx
add rax, rbx
cmp ecx, 0x20
jbe 0x5805f0
mov edx, 0x40
xor r9d, r9d
sub edx, ecx
cmp edx, 8
jb 0x580660
mov ecx, edx
sub edx, 1
mov qword [rax + rcx - 8], 0
cmp edx, 8
jb 0x580548
and edx, 0xfffffff8
xor ecx, ecx
mov r8d, ecx
add ecx, 8
mov qword [rax + r8], r9
cmp ecx, edx
jb 0x58053a
mov rdx, rdi
mov rcx, rbx
call fcn.0057dd30
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.0057dd30
lea rax, [rsi + 0x10]
cmp rdi, rax
jae 0x5805c3
lea rax, [rbx + 0x50]
cmp rsi, rax
jb 0x580690
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 0x580630
mov ecx, edx
sub edx, 1
mov qword [rax + rcx - 8], 0
cmp edx, 8
jb 0x580572
and edx, 0xfffffff8
xor ecx, ecx
mov r8d, ecx
add ecx, 8
mov qword [rax + r8], r9
cmp ecx, edx
jb 0x58061b
jmp 0x580572
test dl, 4
jne 0x5806d7
test edx, edx
je 0x580572
mov byte [rax], 0
test dl, 2
je 0x580572
xor ecx, ecx
mov word [rax + rdx - 2], cx
jmp 0x580572
test dl, 4
jne 0x5806ea
test edx, edx
je 0x580548
mov byte [rax], 0
test dl, 2
je 0x580548
xor r8d, r8d
mov word [rax + rdx - 2], r8w
jmp 0x580548
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 0x580572
mov dword [rax], 0
mov dword [rax + rdx - 4], 0
jmp 0x580548
Function at 0x580920
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
mov rsi, rdx
lea ecx, [rax + 1]
mov byte [rbx + rax], pe_nt_image_headers64
lea rdi, [rbx + 0x40]
mov eax, ecx
add rax, rbx
cmp ecx, 0x20
jbe 0x580a30
mov edx, 0x40
xor r9d, r9d
sub edx, ecx
cmp edx, 8
jb 0x580aa0
mov ecx, edx
sub edx, 1
mov qword [rax + rcx - 8], 0
cmp edx, 8
jb 0x580988
and edx, 0xfffffff8
xor ecx, ecx
mov r8d, ecx
add ecx, 8
mov qword [rax + r8], r9
cmp ecx, edx
jb 0x58097a
mov rdx, rdi
mov rcx, rbx
call fcn.0057f350
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.0057f350
lea rax, [rsi + 0x10]
cmp rdi, rax
jae 0x580a03
lea rax, [rbx + 0x50]
cmp rsi, rax
jb 0x580ad0
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 0x580a70
mov ecx, edx
sub edx, 1
mov qword [rax + rcx - 8], 0
cmp edx, 8
jb 0x5809b2
and edx, 0xfffffff8
xor ecx, ecx
mov r8d, ecx
add ecx, 8
mov qword [rax + r8], r9
cmp ecx, edx
jb 0x580a5b
jmp 0x5809b2
test dl, 4
jne 0x580b17
test edx, edx
je 0x5809b2
mov byte [rax], 0
test dl, 2
je 0x5809b2
xor ecx, ecx
mov word [rax + rdx - 2], cx
jmp 0x5809b2
test dl, 4
jne 0x580b2a
test edx, edx
je 0x580988
mov byte [rax], 0
test dl, 2
je 0x580988
xor r8d, r8d
mov word [rax + rdx - 2], r8w
jmp 0x580988
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 0x5809b2
mov dword [rax], 0
mov dword [rax + rdx - 4], 0
jmp 0x580988
Function at 0x595dd0
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 r14, qword [rsp + 0x560]
lea rbx, [rsp + 0xff]
mov rsi, r9
mov r15, r8
and rbx, 0xffffffffffffffc0
mov r8, rdx
mov r12, rcx
lea rax, [rbx + 0x200]
mov r13, rdx
mov rdx, rcx
mov rdi, rax
mov rcx, rax
mov qword [rsp + 0x40], rax
call fcn.005956b0
mov r8, rsi
mov rdx, r15
mov rcx, rdi
call fcn.0043f7d0
cmp qword [rsp + 0x570], 0
je 0x596023
lea rsi, [rsp + 0x5c]
mov eax, 0x1000000
mov qword [rsp + 0x30], 1
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x28], 0
lea rdi, [rsp + 0xa0]
lea rsi, [rbx + 0x100]
mov qword [rsp + 0x38], rcx
lea rbp, [rsp + 0x60]
mov rdx, qword [rsp + 0x40]
mov r8d, 0x200
mov rcx, rbx
mov dword [rsp + 0x5c], eax
mov r15d, 2
call sub.msvcrt.dll_memcpy
mov rdx, qword [rsp + 0x48]
mov r8d, 4
mov rcx, rbx
call fcn.0043f7d0
mov rdx, rdi
mov rcx, rbx
call fcn.0043f860
mov r8d, 0x20
mov rdx, rdi
mov rcx, rsi
call fcn.0043f7d0
mov rdx, rbp
mov rcx, rsi
call fcn.0043f860
movdqu xmm1, xmmword [rsp + 0x60]
movdqu xmm2, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x80], xmm1
movups xmmword [rsp + 0x90], xmm2
cmp r14, 1
jbe 0x595f7d
nop dword [rax]
mov r8, r13
mov rdx, r12
mov rcx, rbx
call fcn.005956b0
mov rdx, rbp
mov rcx, rbx
add r15, 1
mov r8d, 0x20
call fcn.0043f7d0
mov rdx, rdi
mov rcx, rbx
call fcn.0043f860
mov r8d, 0x20
mov rdx, rdi
mov rcx, rsi
call fcn.0043f7d0
mov rdx, rbp
mov rcx, rsi
call fcn.0043f860
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 r14, r15
jae 0x595f00
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 0x595ff1
and edx, 4
jne 0x596037
test eax, eax
je 0x595fcb
mov rdx, qword [rsp + 0x38]
movzx edx, byte [rdx]
mov byte [rcx], dl
test al, 2
jne 0x59604f
add qword [rsp + 0x28], 0x20
add qword [rsp + 0x30], 1
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x570], rax
jbe 0x596023
mov eax, dword [rsp + 0x30]
bswap eax
jmp 0x595e7f
mov r10, qword [rsp + 0x38]
mov eax, edx
mov r8, qword [r10 + rax - 8]
mov qword [rcx + rax - 8], r8
lea eax, [rdx - 1]
cmp eax, 8
jb 0x595fcb
and eax, 0xfffffff8
xor edx, edx
mov r8d, edx
add edx, 8
mov r9, qword [r10 + r8]
mov qword [rcx + r8], r9
cmp edx, eax
jb 0x59600f
jmp 0x595fcb
add rsp, 0x4f8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r11, qword [rsp + 0x38]
mov edx, dword [r11]
mov dword [rcx], edx
mov edx, dword [r11 + rax - 4]
mov dword [rcx + rax - 4], edx
jmp 0x595fcb
mov rdx, qword [rsp + 0x38]
movzx edx, word [rdx + rax - 2]
mov word [rcx + rax - 2], dx
jmp 0x595fcb
Function at 0x5a00c0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rax, qword [rcx + 0x40]
lea r12, [rcx + 0x40]
mov rbx, rcx
mov qword [rsp + 0x50], rax
mov rcx, qword [rcx + 0x48]
mov r9d, eax
mov rax, qword [rbx + 0x50]
mov r10, qword [rbx + 0x68]
movdqu xmm2, xmmword [rbx + 0x70]
mov qword [rsp + 0x58], rcx
mov rcx, qword [rbx + 0x58]
mov qword [rsp + 0x60], rax
mov r8d, eax
mov rax, qword [rbx + 0x60]
movups xmmword [rsp + 0x80], xmm2
mov esi, dword [rsp + 0x88]
mov qword [rsp + 0x78], r10
mov r15d, dword [rsp + 0x8c]
mov qword [rsp + 0x68], rcx
mov r14d, dword [rsp + 0x54]
mov ecx, eax
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x44], esi
lea rsi, [rbx + 0x80]
mov r13d, dword [rsp + 0x5c]
mov dword [rsp + 0x34], ecx
mov ebp, dword [rsp + 0x64]
mov edi, dword [rsp + 0x6c]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x74]
mov r11d, dword [rsp + 0x7c]
mov r10d, dword [rsp + 0x84]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x80]
mov qword [rsp + 0x38], rsi
lea rsi, [rsp + 0x50]
mov qword [rsp + 0x48], r12
mov r12d, dword [rsp + 0x44]
nop dword [rax]
movd xmm0, dword [rsp + 0x30]
movd xmm2, r8d
movd xmm3, r12d
add rbx, 0x40
movdqu xmm5, xmmword [rbx - 0x30]
pinsrd xmm2, ebp, 1
pinsrd xmm3, r15d, 1
pinsrd xmm0, edi, 1
movd xmm1, dword [rsp + 0x34]
punpcklqdq xmm2, xmm0
movd xmm0, dword [rsp + 0x40]
pxor xmm2, xmm5
movups xmmword [rsp + 0x60], xmm2
movdqu xmm5, xmmword [rbx - 0x20]
pinsrd xmm1, ecx, 1
mov rcx, rsi
pinsrd xmm0, r11d, 1
movd xmm4, dword [rsp + 0x2c]
punpcklqdq xmm1, xmm0
movd xmm0, eax
pinsrd xmm0, r10d, 1
punpcklqdq xmm0, xmm3
movd xmm3, r9d
pxor xmm1, xmm5
pinsrd xmm4, r13d, 1
movdqu xmm5, xmmword [rbx - 0x10]
movups xmmword [rsp + 0x70], xmm1
pinsrd xmm3, r14d, 1
punpcklqdq xmm3, xmm4
movdqu xmm4, xmmword [rbx - 0x40]
pxor xmm0, xmm5
movups xmmword [rsp + 0x80], xmm0
pxor xmm3, xmm4
movups xmmword [rsp + 0x50], xmm3
call fcn.0059e770
mov eax, dword [rsp + 0x58]
movdqu xmm5, xmmword [rsp + 0x50]
movdqu xmm4, xmmword [rsp + 0x60]
movups xmmword [rbx - 0x40], xmm5
movdqu xmm5, xmmword [rsp + 0x70]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x68]
movdqu xmm1, xmmword [rsp + 0x80]
movups xmmword [rbx - 0x30], xmm4
movups xmmword [rbx - 0x20], xmm5
mov r9d, dword [rsp + 0x50]
movups xmmword [rbx - 0x10], xmm1
mov r14d, dword [rsp + 0x54]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x70]
mov r13d, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x60]
mov ebp, dword [rsp + 0x64]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x78]
mov edi, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x74]
mov r11d, dword [rsp + 0x7c]
mov dword [rsp + 0x40], eax
mov r10d, dword [rsp + 0x84]
mov eax, dword [rsp + 0x80]
mov r12d, dword [rsp + 0x88]
mov r15d, dword [rsp + 0x8c]
cmp rbx, qword [rsp + 0x38]
jne 0x5a01a0
mov r12, qword [rsp + 0x48]
mov edx, dword [rdx + 4]
mov rcx, r12
call fcn.0059e3d0
nop
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x5a4740
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rax, qword [rcx + 0x40]
lea r12, [rcx + 0x40]
mov rbx, rcx
mov qword [rsp + 0x50], rax
mov rcx, qword [rcx + 0x48]
mov r9d, eax
mov rax, qword [rbx + 0x50]
mov r10, qword [rbx + 0x68]
movdqu xmm2, xmmword [rbx + 0x70]
mov qword [rsp + 0x58], rcx
mov rcx, qword [rbx + 0x58]
mov qword [rsp + 0x60], rax
mov r8d, eax
mov rax, qword [rbx + 0x60]
movups xmmword [rsp + 0x80], xmm2
mov esi, dword [rsp + 0x88]
mov qword [rsp + 0x78], r10
mov r15d, dword [rsp + 0x8c]
mov qword [rsp + 0x68], rcx
mov r14d, dword [rsp + 0x54]
mov ecx, eax
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x44], esi
lea rsi, [rbx + 0x80]
mov r13d, dword [rsp + 0x5c]
mov dword [rsp + 0x34], ecx
mov ebp, dword [rsp + 0x64]
mov edi, dword [rsp + 0x6c]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x74]
mov r11d, dword [rsp + 0x7c]
mov r10d, dword [rsp + 0x84]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x80]
mov qword [rsp + 0x38], rsi
lea rsi, [rsp + 0x50]
mov qword [rsp + 0x48], r12
mov r12d, dword [rsp + 0x44]
nop dword [rax]
movd xmm0, dword [rsp + 0x30]
movd xmm2, r8d
movd xmm3, r12d
add rbx, 0x40
movdqu xmm5, xmmword [rbx - 0x30]
pinsrd xmm2, ebp, 1
pinsrd xmm3, r15d, 1
pinsrd xmm0, edi, 1
movd xmm1, dword [rsp + 0x34]
punpcklqdq xmm2, xmm0
movd xmm0, dword [rsp + 0x40]
pxor xmm2, xmm5
movups xmmword [rsp + 0x60], xmm2
movdqu xmm5, xmmword [rbx - 0x20]
pinsrd xmm1, ecx, 1
mov rcx, rsi
pinsrd xmm0, r11d, 1
movd xmm4, dword [rsp + 0x2c]
punpcklqdq xmm1, xmm0
movd xmm0, eax
pinsrd xmm0, r10d, 1
punpcklqdq xmm0, xmm3
movd xmm3, r9d
pxor xmm1, xmm5
pinsrd xmm4, r13d, 1
movdqu xmm5, xmmword [rbx - 0x10]
movups xmmword [rsp + 0x70], xmm1
pinsrd xmm3, r14d, 1
punpcklqdq xmm3, xmm4
movdqu xmm4, xmmword [rbx - 0x40]
pxor xmm0, xmm5
movups xmmword [rsp + 0x80], xmm0
pxor xmm3, xmm4
movups xmmword [rsp + 0x50], xmm3
call fcn.005a2df0
mov eax, dword [rsp + 0x58]
movdqu xmm5, xmmword [rsp + 0x50]
movdqu xmm4, xmmword [rsp + 0x60]
movups xmmword [rbx - 0x40], xmm5
movdqu xmm5, xmmword [rsp + 0x70]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x68]
movdqu xmm1, xmmword [rsp + 0x80]
movups xmmword [rbx - 0x30], xmm4
movups xmmword [rbx - 0x20], xmm5
mov r9d, dword [rsp + 0x50]
movups xmmword [rbx - 0x10], xmm1
mov r14d, dword [rsp + 0x54]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x70]
mov r13d, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x60]
mov ebp, dword [rsp + 0x64]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x78]
mov edi, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x74]
mov r11d, dword [rsp + 0x7c]
mov dword [rsp + 0x40], eax
mov r10d, dword [rsp + 0x84]
mov eax, dword [rsp + 0x80]
mov r12d, dword [rsp + 0x88]
mov r15d, dword [rsp + 0x8c]
cmp rbx, qword [rsp + 0x38]
jne 0x5a4820
mov r12, qword [rsp + 0x48]
mov edx, dword [rdx + 4]
mov rcx, r12
call fcn.005a2a50
nop
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x5a6d94
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 0x5a6db2
mov rdi, r10
mov rsi, r11
ret

Function at 0x5a6e10
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 0x5a6e4a
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 0x5a6ffc
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 0x5a7036
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 0x5d7930
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 0x5d79f0
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 0x5d7950
mov r8, qword [rcx + 0x10]
lea rdi, [0x00669940]
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 0x5d79aa
jmp 0x5d79e0
cmp rbx, qword [rdi + 8]
je 0x5d79d0
mov rbx, qword [rbx + 8]
cmp qword [rbx - 8], rsi
jne 0x5d79a0
mov rdx, rbp
lea rcx, [rbx + 0x20]
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x5d79a0
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 0x5d79aa
jmp 0x5d79c4
mov esi, 0x1505
jmp 0x5d796a

Function at 0x5da7c0
Capabilities:
Hash data using djb2

Disassembly:
test rcx, rcx
je 0x5da7d8
mov eax, dword [rcx]
test eax, eax
jne 0x5da7d8
add rcx, 0x10
jmp fcn.005d7930
xor eax, eax
ret
Function at 0x5dd360
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 [0x006832d0]
test rbx, rbx
je 0x5dd530
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 0x5dd530
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.005dcbe0
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 0x5dd42c
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 0x5dd417
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea r12, [rsi + 0x10]
xor edi, edi
lock xadd qword [r12], rdi
test rdi, rdi
je 0x5dd540
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 0x5dd580
add rcx, 0x10
xor eax, eax
mov rdx, 0xffffffffffffffff
lock cmpxchg qword [rcx], rdx
test rax, rax
mov rcx, rax
je 0x5dd46f
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 0x5dd4ab
jmp 0x5dd4f5
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 0x5dd4f5
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 0x5dd4cb
mov rcx, qword [r9 + 0x10]
mov qword [rax + 0x10], rcx
mov rcx, qword [r9 + 0x10]
test rcx, rcx
je 0x5dd4d8
mov qword [rcx + 0x18], rax
cmp r9, qword [r10 + 0x178]
mov r8, r9
jne 0x5dd490
mov rax, qword [r9 + 0x18]
mov qword [r10 + 0x178], rax
mov r8, qword [rdx + 0x28]
jmp 0x5dd490
cmp dword [rbx + 0x184], 1
jne 0x5dd530
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.005dc8e0
mov rax, qword [0x006832d0]
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 0x5dd56f
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5dd42c
mov edx, 0xffffffff
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x5dd561
mov rax, rsi
lock cmpxchg qword [r8], rdx
cmp rsi, rax
je 0x5dd46f
lea rcx, [rsi + 0x18]
lock xadd qword [rcx], rdx
test rdx, rdx
je 0x5dd5af
add rsi, 8
xor ecx, ecx
lock xadd qword [rsi], rcx
jmp 0x5dd44f
call fcn.005dc5e0
jmp 0x5dd59f