joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4523b0
Capabilities:
Hash data using sha256

Disassembly:
push rdi
sub rsp, 0x20
lea eax, [rdx - 1]
mov r8, rcx
cmp al, 0x1f
ja 0x452450
mov eax, 0x101
lea rdi, [rcx + 0x28]
mov byte [rsp], dl
mov word [rsp + 2], ax
and rdi, 0xfffffffffffffff8
mov eax, ecx
sub eax, edi
mov byte [rsp + 1], 0
mov dword [rsp + 4], 0
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
mov qword [rsp + 0x18], 0
mov qword [rcx + 0x20], 0
mov qword [rcx + 0xb8], 0
lea ecx, [rax + 0xc0]
xor eax, eax
shr ecx, 3
rep stosq qword [rdi], rax
vmovdqu xmm1, xmmword [rsp]
vinserti128 ymm0, ymm1, xmmword [rsp + 0x10], 1
vpxor ymm0, ymm0, ymmword [0x00698fc0]
vmovdqu ymmword [r8], ymm0
vzeroupper
add rsp, 0x20
pop rdi
ret
mov eax, 0xffffffff
jmp 0x452442

Function at 0x4532e0
Capabilities:
Hash data using sha256

Disassembly:
push rdi
push rbx
sub rsp, 0x88
mov eax, edx
mov r10, rcx
movzx edx, r9b
lea ecx, [rax - 1]
cmp cl, 0x1f
ja 0x4534b6
lea ecx, [r9 - 1]
cmp cl, 7
ja 0x4534af
test r8, r8
je 0x4534af
mov byte [rsp + 0x20], al
lea rdi, [r10 + 0x28]
mov eax, 0x101
lea rbx, [rsp + 0x40]
mov word [rsp + 0x22], ax
and rdi, 0xfffffffffffffff8
mov eax, r10d
sub eax, edi
mov byte [rsp + 0x21], r9b
mov r9, rbx
lea ecx, [rax + 0xc0]
xor eax, eax
mov dword [rsp + 0x24], 0
shr ecx, 3
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [r10 + 0x20], 0
mov qword [r10 + 0xb8], 0
rep stosq qword [rdi], rax
mov rax, r8
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
vmovdqu xmm1, xmmword [rsp + 0x20]
vinserti128 ymm0, ymm1, xmmword [rsp + 0x30], 1
vpxor ymm0, ymm0, ymmword [0x00698fc0]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
vmovdqu ymmword [r10], ymm0
cmp edx, 8
jae 0x453488
xor ecx, ecx
test dl, 4
jne 0x453470
test dl, 2
jne 0x453458
and edx, 1
jne 0x453448
mov r8d, 0x40
mov rdx, rbx
mov rcx, r10
vzeroupper
call fcn.004531e0
mov rax, rbx
nop word [rax + rax]
mov rdx, rax
lea rdi, [rsp + 0x80]
add rax, 1
mov byte [rdx], 0
cmp rax, rdi
jne 0x453420
xor eax, eax
add rsp, 0x88
pop rbx
pop rdi
ret
movzx eax, byte [rax + rcx]
mov byte [r9 + rcx], al
jmp 0x453400
movzx r8d, word [rax + rcx]
mov word [r9 + rcx], r8w
add rcx, 2
and edx, 1
je 0x453400
jmp 0x453448
mov ecx, dword [rax]
mov dword [r9], ecx
mov ecx, 4
test dl, 2
je 0x4533fb
jmp 0x453458
mov r11d, edx
xor eax, eax
and r11d, 0xfffffff8
mov ecx, eax
add eax, 8
mov r9, qword [r8 + rcx]
mov qword [rbx + rcx], r9
cmp eax, r11d
jb 0x453491
lea r9, [rbx + rax]
add rax, r8
jmp 0x4533ef
mov eax, 0xffffffff
jmp 0x453439
mov eax, 0xffffffff
jmp 0x453439
Function at 0x51b940
Capabilities:
Encode data using xor

Disassembly:
mov r9d, 0x48
jmp fcn.00518940
Function at 0x5238e0
Capabilities:
Encode data using base64

Disassembly:
mov r9d, 0x88
jmp fcn.0051bc30

Function at 0x523b00
Capabilities:
Encode data using base64

Disassembly:
mov r9d, 0x48
jmp fcn.0051bc30
Function at 0x574180
Capabilities:
Hash data using sha256

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x140
xor eax, eax
vmovdqu xmm2, xmmword [0x006d57e0]
vinserti128 ymm1, ymm2, xmmword [0x006d57f0], 1
vmovdqu xmm4, xmmword [rdx]
vmovdqu xmm5, 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
vmovdqu xmm3, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], 0
mov rcx, r12
mov qword [rsp + 0x38], 0
vinserti128 ymm0, ymm3, xmmword [rsp + 0x30], 1
mov qword [rsp + 0x60], 0
vpxor ymm0, ymm0, ymm1
vmovups xmmword [rsp + 0x40], xmm4
mov qword [rsp + 0x68], 0
vextracti128 xmmword [rsp + 0x90], ymm0, 1
mov dword [rdi], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
vmovups xmmword [rsp + 0x80], xmm0
vmovups xmmword [rsp + 0x50], xmm5
vzeroupper
call fcn.00573cd0
mov rdx, r13
mov rcx, r12
lea r13, [rsp + 0xb0]
call fcn.00573cd0
mov eax, dword [rsp + 0x130]
cmp eax, 0x40
ja 0x574318
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 0x5742bc
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 0x5742dc
mov eax, ebx
sub eax, edx
cmp ebx, eax
jbe 0x5742dc
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.00572a60
vmovdqu xmm1, xmmword [rsp + 0x80]
vmovdqu xmm2, xmmword [rsp + 0x90]
vmovups xmmword [rsi], xmm1
vmovups xmmword [rsi + 0x10], xmm2
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.00572a60
mov edi, dword [rsp + 0x130]
lea ebx, [rdi - 0x40]
mov eax, ebx
mov dword [rsp + 0x130], ebx
shr eax, 2
je 0x57435e
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 0x57438a
mov eax, ebx
sub eax, edx
cmp ebx, eax
jbe 0x57438a
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 0x574282
Function at 0x579ea0
Capabilities:
Hash data using sha256 via x86 extensions

Disassembly:
vpshufd xmm0, xmmword [r9], 0xb1
vpshufd xmm1, xmmword [r9 + 0x10], 0x1b
vpalignr xmm2, xmm0, xmm1, 8
vpblendw xmm1, xmm1, xmm0, 0xf0
vmovdqu xmm0, xmmword [0x006d5880]
vmovups xmmword [r8], xmm2
vmovups xmmword [r8 + 0x10], xmm1
vpaddd xmm0, xmm0, xmmword [rdx]
sha256rnds2 xmm1, xmm2, xmm0
vpshufd xmm0, xmm0, 0xe
sha256rnds2 xmm2, xmm1, xmm0
vmovups xmmword [rcx + 0x10], xmm1
vmovups xmmword [rcx], xmm2
ret
Function at 0x57aa20
Capabilities:
Hash data using sha256

Disassembly:
push r13
push r12
sub rsp, 0xc8
vmovdqu xmm0, xmmword [0x006d5860]
vmovdqu xmm1, xmmword [0x006d5870]
lea r12, [rsp + 0x5f]
mov r13, rcx
mov r9, rdx
mov rax, r8
and r12, 0xffffffffffffffc0
mov qword [r12 + 0x60], r8
vmovups xmmword [r12 + 0x40], xmm0
vmovups xmmword [r12 + 0x50], xmm1
cmp r8, 0x3f
jbe 0x57ab20
vmovdqu xmm2, xmmword [rdx]
vmovdqu xmm3, xmmword [rdx + 0x10]
lea r8, [r12 + 0x40]
vmovdqu xmm4, xmmword [rdx + 0x20]
vmovdqu xmm5, xmmword [rdx + 0x30]
mov rcx, r8
mov rdx, r12
vmovups xmmword [r12], xmm2
vmovups xmmword [r12 + 0x10], xmm3
vmovups xmmword [r12 + 0x20], xmm4
vmovups xmmword [r12 + 0x30], xmm5
call fcn.00578ad0
lea rdx, [rax - 0x40]
lea r11, [r9 + 0x40]
cmp rdx, 0x3f
jbe 0x57aaf6
add rax, 0xffffffffffffff80
mov r10, rax
shr r10, 6
lea rdx, [r10 + 2]
shl rdx, 6
add r9, rdx
mov rdx, r11
nop
mov rcx, r8
call fcn.00578ad0
add rdx, 0x40
cmp rdx, r9
jne 0x57aad0
lea rdx, [r10 + 1]
shl r10, 6
shl rdx, 6
sub rax, r10
add r11, rdx
mov rdx, rax
mov r8, rdx
mov rcx, r12
mov rdx, r11
call sub.msvcrt.dll_memcpy
mov rdx, r13
mov rcx, r12
call fcn.0057a850
nop
add rsp, 0xc8
pop r12
pop r13
ret
mov rcx, r12
call sub.msvcrt.dll_memcpy
jmp 0x57ab04
Function at 0x59fbf0
Capabilities:
Hash data using sha256

Disassembly:
push r12
sub rsp, 0x20
mov r12, rcx
movsxd r8, r8d
call fcn.0057aa20
mov r8d, 0x20
mov rdx, r12
mov rcx, r12
add rsp, 0x20
pop r12
jmp fcn.0057aa20
Function at 0x5fe4d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x278
lea rdi, [rsp + 0x5f]
mov r12, r8
lea rbx, [rdx - 0x20]
mov rsi, rcx
and rdi, 0xffffffffffffffc0
mov edx, 0x50
mov rcx, r12
mov rbp, r9
lea r13, [rdi + 0x200]
mov r9d, 0x20
shr rbx, 4
mov r8, r13
add ebx, 1
call fcn.006011a0
mov rdx, qword [r12 + 0x48]
mov rcx, rdi
call fcn.005fdfe0
vmovdqu ymm0, ymmword [rdi + 0x200]
mov rcx, rdi
vmovdqu ymm2, ymmword [0x006e4ba0]
mov r9d, 0x811c9dc5
nop
mov eax, dword [rcx]
xor edx, edx
add rcx, 4
xor eax, r9d
imul eax, eax, 0x1000193
div ebx
mov rax, rdx
shl rax, 4
add rax, rsi
xor r9d, dword [rax]
vpxor ymm0, ymm0, ymmword [rax]
imul r9d, r9d, 0x1000193
xor r9d, dword [rax + 4]
imul r9d, r9d, 0x1000193
vpmulld ymm0, ymm2, ymm0
xor r9d, dword [rax + 8]
imul r9d, r9d, 0x1000193
xor r9d, dword [rax + 0xc]
imul r9d, r9d, 0x1000193
xor r9d, dword [rax + 0x10]
imul r9d, r9d, 0x1000193
xor r9d, dword [rax + 0x14]
imul r9d, r9d, 0x1000193
xor r9d, dword [rax + 0x18]
imul r9d, r9d, 0x1000193
xor r9d, dword [rax + 0x1c]
imul r9d, r9d, 0x1000193
cmp r13, rcx
jne 0x5fe540
mov r11d, 1
mov ecx, r11d
mov r10, rdi
nop word [rax + rax]
mov eax, dword [r10]
xor edx, edx
add r10, 4
rol eax, cl
xor eax, r9d
imul eax, eax, 0x1000193
div ebx
shl rdx, 4
add rdx, rsi
xor r9d, dword [rdx]
vpxor ymm0, ymm0, ymmword [rdx]
imul r9d, r9d, 0x1000193
xor r9d, dword [rdx + 4]
imul r9d, r9d, 0x1000193
vpmulld ymm1, ymm2, ymm0
xor r9d, dword [rdx + 8]
imul r9d, r9d, 0x1000193
xor r9d, dword [rdx + 0xc]
imul r9d, r9d, 0x1000193
xor r9d, dword [rdx + 0x10]
imul r9d, r9d, 0x1000193
xor r9d, dword [rdx + 0x14]
imul r9d, r9d, 0x1000193
xor r9d, dword [rdx + 0x18]
imul r9d, r9d, 0x1000193
xor r9d, dword [rdx + 0x1c]
vmovdqu ymm0, ymm1
imul r9d, r9d, 0x1000193
cmp r13, r10
jne 0x5fe5d8
add r11, 1
cmp r11, 0x20
jne 0x5fe5cc
vmovdqu ymmword [rdi + 0x200], ymm1
mov rax, qword [rdi + 0x210]
mov rdx, qword [rdi + 0x218]
vmovups xmmword [rbp], xmm1
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdx
vzeroupper
add rsp, 0x278
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x6047b0
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 0x6048e8
mov edx, 0x40
xor r9d, r9d
sub edx, ecx
cmp edx, 8
jb 0x604970
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 0x60482c
and edx, 0xfffffff8
xor eax, eax
mov r8d, eax
add eax, 8
mov qword [rcx + r8], r9
cmp eax, edx
jb 0x60481e
mov rdx, rdi
mov rcx, rbx
call fcn.00601fd0
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.00601fd0
lea rax, [rsi + 0x20]
cmp rdi, rax
jae 0x6048a7
lea rax, [rbx + 0x60]
cmp rsi, rax
jb 0x6049a0
vmovdqu xmm1, xmmword [rbx + 0x40]
vinserti128 ymm0, ymm1, xmmword [rbx + 0x50], 1
vmovups xmmword [rsi], xmm0
vextracti128 xmmword [rsi + 0x10], ymm0, 1
vmovdqu xmm2, xmmword [rbx + 0x60]
vinserti128 ymm0, ymm2, xmmword [rbx + 0x70], 1
vmovups xmmword [rsi + 0x20], xmm0
vextracti128 xmmword [rsi + 0x30], ymm0, 1
vzeroupper
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, 0x20
xor r9d, r9d
sub edx, ecx
cmp edx, 8
jb 0x604940
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 0x604856
and edx, 0xfffffff8
xor eax, eax
mov r8d, eax
add eax, 8
mov qword [rcx + r8], r9
cmp eax, edx
jb 0x604927
jmp 0x604856
test dl, 4
jne 0x6049e7
test edx, edx
je 0x604856
mov byte [rax], 0
test dl, 2
je 0x604856
xor ecx, ecx
mov word [rax + rdx - 2], cx
jmp 0x604856
test dl, 4
jne 0x6049fa
test edx, edx
je 0x60482c
mov byte [rax], 0
test dl, 2
je 0x60482c
xor r8d, r8d
mov word [rax + rdx - 2], r8w
jmp 0x60482c
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 0x604856
mov dword [rax], 0
mov dword [rax + rdx - 4], 0
jmp 0x60482c
Function at 0x604c70
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 0x604da8
mov edx, 0x40
xor r9d, r9d
sub edx, ecx
cmp edx, 8
jb 0x604e30
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 0x604cec
and edx, 0xfffffff8
xor eax, eax
mov r8d, eax
add eax, 8
mov qword [rcx + r8], r9
cmp eax, edx
jb 0x604cde
mov rdx, rdi
mov rcx, rbx
call fcn.006035f0
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.006035f0
lea rax, [rsi + 0x20]
cmp rdi, rax
jae 0x604d67
lea rax, [rbx + 0x60]
cmp rsi, rax
jb 0x604e60
vmovdqu xmm1, xmmword [rbx + 0x40]
vinserti128 ymm0, ymm1, xmmword [rbx + 0x50], 1
vmovups xmmword [rsi], xmm0
vextracti128 xmmword [rsi + 0x10], ymm0, 1
vmovdqu xmm2, xmmword [rbx + 0x60]
vinserti128 ymm0, ymm2, xmmword [rbx + 0x70], 1
vmovups xmmword [rsi + 0x20], xmm0
vextracti128 xmmword [rsi + 0x30], ymm0, 1
vzeroupper
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, 0x20
xor r9d, r9d
sub edx, ecx
cmp edx, 8
jb 0x604e00
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 0x604d16
and edx, 0xfffffff8
xor eax, eax
mov r8d, eax
add eax, 8
mov qword [rcx + r8], r9
cmp eax, edx
jb 0x604de7
jmp 0x604d16
test dl, 4
jne 0x604ea7
test edx, edx
je 0x604d16
mov byte [rax], 0
test dl, 2
je 0x604d16
xor ecx, ecx
mov word [rax + rdx - 2], cx
jmp 0x604d16
test dl, 4
jne 0x604eba
test edx, edx
je 0x604cec
mov byte [rax], 0
test dl, 2
je 0x604cec
xor r8d, r8d
mov word [rax + rdx - 2], r8w
jmp 0x604cec
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 0x604d16
mov dword [rax], 0
mov dword [rax + rdx - 4], 0
jmp 0x604cec
Function at 0x650d64
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 0x650d82
mov rdi, r10
mov rsi, r11
ret

Function at 0x650de0
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 0x650e1a
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 0x650fcc
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 0x651006
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 0x653690
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 0x653750
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 0x6536b0
mov r8, qword [rcx + 0x10]
lea rdi, [0x006f2260]
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 0x65370a
jmp 0x653740
cmp rbx, qword [rdi + 8]
je 0x653730
mov rbx, qword [rbx + 8]
cmp qword [rbx - 8], rsi
jne 0x653700
lea rcx, [rbx + 0x20]
mov rdx, rbp
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x653700
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 0x65370a
jmp 0x653724
mov esi, 0x1505
jmp 0x6536ca

Function at 0x656540
Capabilities:
Hash data using djb2

Disassembly:
test rcx, rcx
je 0x656558
mov eax, dword [rcx]
test eax, eax
jne 0x656558
add rcx, 0x10
jmp fcn.00653690
xor eax, eax
ret
Function at 0x659150
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 [0x0071e750]
test rbx, rbx
je 0x659320
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 0x659320
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.006589d0
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 0x65921c
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 0x659207
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea r12, [rsi + 0x10]
xor edi, edi
lock xadd qword [r12], rdi
test rdi, rdi
je 0x659330
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 0x659370
add rcx, 0x10
xor eax, eax
mov rdx, 0xffffffffffffffff
lock cmpxchg qword [rcx], rdx
test rax, rax
mov rcx, rax
je 0x65925f
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 0x65929b
jmp 0x6592e5
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 0x6592e5
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 0x6592bb
mov rcx, qword [r9 + 0x10]
mov qword [rax + 0x10], rcx
mov rcx, qword [r9 + 0x10]
test rcx, rcx
je 0x6592c8
mov qword [rcx + 0x18], rax
cmp r9, qword [r10 + 0x178]
mov r8, r9
jne 0x659280
mov rax, qword [r9 + 0x18]
mov qword [r10 + 0x178], rax
mov r8, qword [rdx + 0x28]
jmp 0x659280
cmp dword [rbx + 0x184], 1
jne 0x659320
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.006586d0
mov rax, qword [0x0071e750]
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 0x65935f
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x65921c
mov edx, 0xffffffff
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x659351
mov rax, rsi
lock cmpxchg qword [r8], rdx
cmp rsi, rax
je 0x65925f
lea rcx, [rsi + 0x18]
lock xadd qword [rcx], rdx
test rdx, rdx
je 0x65939f
add rsi, 8
xor ecx, ecx
lock xadd qword [rsi], rcx
jmp 0x65923f
call fcn.006583d0
jmp 0x65938f