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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x48
mov rax, qword [rcx + 0x168]
mov rsi, rcx
mov r13, qword [rcx + 0x160]
mov r14, r9
mov rcx, qword [rcx + 0x38]
mov r15, r8
mov rbx, qword [rsp + 0xa0]
mov rdi, rdx
mov qword [rsp + 0x30], rax
add rcx, rbx
movabs rax, 0xfffffffe0
cmp rcx, rax
ja 0x1400787a1
cmp rcx, rbx
jb 0x1400787a1
mov qword [rsp + 0x90], rbp
lea rdx, [rsi + 0x60]
mov qword [rsi + 0x38], rcx
cmp dword [rsi + 0x184], 0
mov qword [rsp + 0x40], r12
lea r12, [rsi + 0x40]
je 0x1400785b2
mov rcx, r12
call r13
lea rdx, [rsi + 0x60]
mov dword [rsi + 0x184], 0
mov ebp, dword [rsi + 0x180]
mov dword [rsp + 0x80], ebp
test ebp, ebp
je 0x1400785fa
test rbx, rbx
je 0x14007877b
mov ecx, ebp
dec rbx
movzx eax, byte [rcx + rsi + 0x10]
xor al, byte [r15]
inc r15
mov byte [r14], al
inc r14
xor byte [rcx + rsi + 0x40], al
inc ebp
and ebp, 0xf
jne 0x1400785c3
mov rcx, r12
call r13
mov dword [rsp + 0x80], ebp
test byte [rsi + 0x178], 1
je 0x14007862c
test rbx, rbx
je 0x14007862c
mov qword [rsp + 0x28], r12
mov r9, rdi
mov r8, rbx
mov qword [rsp + 0x20], rsi
mov rdx, r14
mov rcx, r15
call fcn.140007180
add r15, rax
add r14, rax
sub rbx, rax
mov r13d, dword [rsi + 0xc]
mov r10, qword [rsp + 0xa8]
bswap r13d
cmp rbx, 0xc00
jb 0x1400786e5
movabs rax, 0xaaaaaaaaaaaaaaab
mul rbx
mov rdi, rdx
shr rdi, 0xb
imul rax, rdi, 0xfffffffffffff400
add rbx, rax
mov qword [rsp + 0xa0], rbx
mov rbx, qword [rsp + 0x88]
nop word [rax + rax]
mov r9, rbx
mov qword [rsp + 0x20], rsi
mov r8d, 0xc0
mov rdx, r14
mov rcx, r15
call r10
add r13d, 0xc0
lea rdx, [rsi + 0x60]
mov eax, r13d
mov r9d, 0xc00
bswap eax
mov r8, r14
mov dword [rsi + 0xc], eax
mov rcx, r12
call qword [rsp + 0x30]
mov r10, qword [rsp + 0xa8]
add r14, 0xc00
add r15, 0xc00
sub rdi, 1
jne 0x140078680
mov rbx, qword [rsp + 0xa0]
mov ebp, dword [rsp + 0x80]
mov r12, rbx
and r12, 0xfffffffffffffff0
je 0x140078734
mov r9, qword [rsp + 0x88]
mov rdi, r12
shr rdi, 4
mov rdx, r14
mov r8, rdi
mov qword [rsp + 0x20], rsi
mov rcx, r15
call r10
add r13d, edi
lea rdx, [rsi + 0x60]
mov eax, r13d
lea rcx, [rsi + 0x40]
bswap eax
mov r9, r12
mov dword [rsi + 0xc], eax
mov r8, r14
add r15, r12
sub rbx, r12
call qword [rsp + 0x30]
add r14, r12
test rbx, rbx
je 0x14007877b
mov r8, qword [rsp + 0x88]
lea rdx, [rsi + 0x10]
mov rcx, rsi
call qword [rsi + 0x170]
lea eax, [r13 + 1]
bswap eax
mov dword [rsi + 0xc], eax
nop word [rax + rax]
mov ecx, ebp
inc ebp
movzx eax, byte [rcx + r15]
xor al, byte [rcx + rsi + 0x10]
mov byte [rcx + r14], al
xor byte [rcx + rsi + 0x40], al
sub rbx, 1
jne 0x140078760
mov r12, qword [rsp + 0x40]
mov eax, 1
mov dword [rsi + 0x180], ebp
mov rbp, qword [rsp + 0x90]
add rsp, 0x48
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
ret
xor eax, eax
add rsp, 0x48
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
ret
Function at 0x140078890
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r13
push r15
sub rsp, 0x28
mov r13, qword [rcx + 0x160]
xor esi, esi
mov qword [rcx], rsi
mov rbp, r9
mov qword [rcx + 8], rsi
mov rdi, r8
mov qword [rcx + 0x40], rsi
mov r15, rdx
mov qword [rcx + 0x48], rsi
mov rbx, rcx
mov qword [rcx + 0x30], rsi
mov qword [rcx + 0x38], rsi
mov qword [rcx + 0x180], rsi
cmp r9, 0xc
jne 0x1400788f6
movsd xmm0, qword [r8]
lea edi, [rsi + 1]
movsd qword [rcx], xmm0
mov eax, dword [r8 + 8]
mov dword [rcx + 8], eax
mov byte [rcx + 0xf], 1
jmp 0x140078ab2
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x20], r14
mov r14, rbp
mov qword [rsp + 0x60], rbp
cmp rbp, 0x10
jb 0x140078981
shr r14, 4
lea r15, [rcx + 0xf]
imul rax, r14, 0xfffffffffffffff0
add rbp, rax
nop dword [rax]
mov r8, rdi
sub r8, rbx
lea rax, [r15 + r8]
cmp rbx, rax
ja 0x140078953
cmp r15, rdi
jb 0x140078953
mov rax, rbx
mov edx, reloc.WS2_32.dll_recv
nop dword [rax]
movzx ecx, byte [rax + r8]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140078940
jmp 0x140078963
movdqu xmm1, xmmword [rbx]
movdqu xmm0, xmmword [rdi]
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
lea rdx, [rbx + 0x60]
mov rcx, rbx
call r13
add rdi, 0x10
sub r14, 1
jne 0x140078920
mov r14, qword [rsp + 0x60]
mov r15, qword [rsp + 0x68]
test rbp, rbp
je 0x140078a8a
cmp rbp, 8
jb 0x140078a66
lea rcx, [rbx - 1]
lea rax, [rbp - 1]
add rcx, rbp
add rax, rdi
cmp rbx, rax
ja 0x1400789b0
cmp rcx, rdi
jae 0x140078a66
mov rcx, rdi
cmp rbp, 0x40
jb 0x140078a34
mov rdx, rbp
mov r8, rbp
and edx, 0x3f
sub r8, rdx
lea rax, [rbx + 0x10]
sub rcx, rbx
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x10]
add rsi, 0x40
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm2, xmmword [rcx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [rcx + rax - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [rcx + rax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
cmp rsi, r8
jb 0x1400789d0
cmp rdx, 8
jb 0x140078a61
jmp 0x140078a37
sub rcx, rbx
mov rdx, rbp
lea rax, [rsi + rbx]
and rdx, 0xfffffffffffffff8
movq xmm0, qword [rax]
add rsi, 8
movq xmm1, qword [rcx + rax]
lea rax, [rax + 8]
pxor xmm1, xmm0
movq qword [rax - 8], xmm1
cmp rsi, rdx
jb 0x140078a42
cmp rsi, rbp
jae 0x140078a80
sub rdi, rbx
lea rcx, [rsi + rbx]
sub rbp, rsi
movzx eax, byte [rdi + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rbp, 1
jne 0x140078a70
lea rdx, [rbx + 0x60]
mov rcx, rbx
call r13
lea rax, [r14*8]
mov rcx, rbx
bswap rax
xor qword [rbx + 8], rax
lea rdx, [rbx + 0x60]
call r13
mov edi, dword [rbx + 0xc]
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x70]
bswap edi
lea rdx, [rbx + 0x20]
mov r8, r15
mov rcx, rbx
call qword [rbx + 0x170]
lea eax, [rdi + 1]
bswap eax
mov dword [rbx + 0xc], eax
add rsp, 0x28
pop r15
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140079bb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, r8
xor qword [r8], rax
mov r14, rdx
mov rax, qword [rcx + 8]
mov rsi, rcx
xor qword [r8 + 8], rax
mov rax, qword [rcx + 0x10]
xor qword [r8 + 0x10], rax
mov rax, qword [rcx + 0x18]
xor qword [r8 + 0x18], rax
mov rax, qword [rcx + 0x20]
xor qword [r8 + 0x20], rax
mov rax, qword [rcx + 0x28]
xor qword [r8 + 0x28], rax
mov rax, qword [rcx + 0x30]
xor qword [r8 + 0x30], rax
mov rax, qword [rcx + 0x38]
xor qword [r8 + 0x38], rax
cmp rdx, 1
jbe 0x140079c8b
mov qword [rsp + 0x30], rbp
lea rbp, [rdx - 1]
mov qword [rsp + 0x38], rdi
lea rdi, [rcx + 0x50]
nop
mov rcx, rbx
call fcn.14007acb0
mov rcx, rbx
call fcn.14007aae0
mov rcx, rbx
call fcn.14007a090
mov rax, qword [rdi - 0x10]
lea rdi, [rdi + 0x40]
xor qword [rbx], rax
mov rax, qword [rdi - 0x48]
xor qword [rbx + 8], rax
mov rax, qword [rdi - 0x40]
xor qword [rbx + 0x10], rax
mov rax, qword [rdi - 0x38]
xor qword [rbx + 0x18], rax
mov rax, qword [rdi - 0x30]
xor qword [rbx + 0x20], rax
mov rax, qword [rdi - 0x28]
xor qword [rbx + 0x28], rax
mov rax, qword [rdi - 0x20]
xor qword [rbx + 0x30], rax
mov rax, qword [rdi - 0x18]
xor qword [rbx + 0x38], rax
sub rbp, 1
jne 0x140079c20
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rcx, rbx
call fcn.14007acb0
mov rcx, rbx
call fcn.14007aae0
lea rcx, [r14*8]
mov rax, qword [rsi + rcx*8]
xor qword [rbx], rax
mov rax, qword [rsi + rcx*8 + 8]
xor qword [rbx + 8], rax
mov rax, qword [rsi + rcx*8 + 0x10]
xor qword [rbx + 0x10], rax
mov rax, qword [rsi + rcx*8 + 0x18]
xor qword [rbx + 0x18], rax
mov rax, qword [rsi + rcx*8 + 0x20]
xor qword [rbx + 0x20], rax
mov rax, qword [rsi + rcx*8 + 0x28]
xor qword [rbx + 0x28], rax
mov rax, qword [rsi + rcx*8 + 0x30]
xor qword [rbx + 0x30], rax
mov rax, qword [rsi + rcx*8 + 0x38]
xor qword [rbx + 0x38], rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140079d00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rax, [rdx + 0xf0]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], rax
lea r12, [rcx + 8]
mov r13, rdx
movabs r9, 0x5555555555555555
nop word [rax + rax]
movups xmm0, xmmword [r13]
movq rdi, xmm0
psrldq xmm0, 8
mov qword [r12 - 8], rdi
movq rbp, xmm0
mov qword [r12 + 0x18], rbp
mov r10, rdi
movups xmm0, xmmword [r13]
shr r10, 1
mov r11, rbp
shr r11, 1
movq rsi, xmm0
psrldq xmm0, 8
mov qword [r12], rsi
movq r15, xmm0
mov qword [r12 + 0x20], r15
xor r10, rsi
movups xmm0, xmmword [r13]
and r10, r9
xor r11, r15
and r11, r9
xor rsi, r10
movq rcx, xmm0
xor r15, r11
mov qword [r12 + 8], rcx
mov rax, rcx
shr rax, 1
psrldq xmm0, 8
movq rdx, xmm0
mov qword [r12 + 0x28], rdx
mov rbx, qword [r13]
mov r14, qword [r13 + 8]
xor rax, rbx
and rax, r9
xor rbx, rax
lea r8, [rax + rax]
mov rax, rdx
xor r8, rcx
shr rax, 1
xor rax, r14
lea rcx, [r10 + r10]
xor rcx, rdi
and rax, r9
xor r14, rax
movabs rdi, 0x3333333333333333
lea r9, [rax + rax]
xor r9, rdx
mov rdx, rcx
shr rdx, 2
xor rdx, r8
and rdx, rdi
xor r8, rdx
lea rax, [rdx*4]
xor rax, rcx
mov rcx, rsi
mov qword [r12 - 8], rax
shr rcx, 2
xor rcx, rbx
mov qword [r12 + 8], r8
and rcx, rdi
xor rbx, rcx
lea rax, [rcx*4]
xor rax, rsi
lea rcx, [r11 + r11]
xor rcx, rbp
mov qword [r12], rax
mov rdx, rcx
mov qword [r12 + 0x10], rbx
shr rdx, 2
xor rdx, r9
and rdx, rdi
xor r9, rdx
lea rax, [rdx*4]
xor rax, rcx
mov rcx, r15
shr rcx, 2
mov qword [r12 + 0x18], rax
xor rcx, r14
and rcx, rdi
mov qword [r12 + 0x28], r9
lea rax, [rcx*4]
xor rax, r15
lea r13, [r13 + 0x10]
mov qword [r12 + 0x20], rax
lea r12, [r12 + 0x40]
mov rax, qword [rsp + 0x48]
xor r14, rcx
mov rcx, qword [rsp + 0x40]
movabs r9, 0x5555555555555555
mov qword [r12 - 0x10], r14
inc rcx
mov qword [rsp + 0x40], rcx
mov eax, dword [rax]
cmp rcx, rax
jbe 0x140079d40
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x50]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140079ee0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
sub rsp, 0x88
mov rax, qword [0x1401fd600]
xor rax, rsp
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [r8]
mov rdi, rcx
lea rcx, [rsp + 0x20]
movups xmm1, xmmword [r8 + 0x10]
mov rbx, rdx
movaps xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [r8 + 0x20]
movaps xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [r8 + 0x30]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
call fcn.14007b180
xor r11d, r11d
test rbx, rbx
je 0x14007a06e
mov qword [rsp + 0xa8], rbp
movabs rbp, 0xff000000ff00
mov qword [rsp + 0x80], rsi
mov esi, 0xffff0000
mov qword [rsp + 0x78], r14
movabs r14, 0xf000f000f000f0
mov qword [rsp + 0x70], r15
movabs r15, 0xffffffff00000000
nop dword [rax]
mov r10, qword [rsp + r11*8 + 0x40]
lea rdi, [rdi + 0x10]
mov rdx, qword [rsp + r11*8 + 0x20]
mov r9, r10
shl r9, 0x20
and r10, r15
mov eax, edx
inc r11
or r9, rax
shr rdx, 0x20
or r10, rdx
mov rcx, r9
shr rcx, 0x10
xor rcx, r9
and rcx, rsi
mov rax, rcx
shl rax, 0x10
xor rax, rcx
xor r9, rax
mov rcx, r9
shr rcx, 8
xor rcx, r9
and rcx, rbp
mov rax, rcx
shl rax, 8
xor rax, rcx
mov rcx, r10
xor r9, rax
shr rcx, 0x10
xor rcx, r10
mov r8, r9
and rcx, rsi
shr r8, 4
mov rax, rcx
xor r8, r9
shl rax, 0x10
and r8, r14
xor rax, rcx
xor r10, rax
mov rcx, r10
shr rcx, 8
xor rcx, r10
and rcx, rbp
mov rax, rcx
shl rax, 8
xor rax, rcx
xor r10, rax
mov rax, r8
shl rax, 4
mov rcx, r10
xor rax, r8
shr rcx, 4
xor rax, r9
xor rcx, r10
mov qword [rdi - 0x10], rax
and rcx, r14
mov rax, rcx
shl rax, 4
xor rax, rcx
xor rax, r10
mov qword [rdi - 8], rax
cmp r11, rbx
jb 0x140079f80
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14015b500
add rsp, 0x88
pop rdi
pop rbx
ret
Function at 0x14007a390
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rdi, r8
sub edx, 0x80
je 0x14007a404
sub edx, 0x40
je 0x14007a3e6
cmp edx, 0x40
je 0x14007a3c8
mov eax, 1
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
mov rdx, rcx
mov rcx, rdi
call fcn.14007a8a0
xor eax, eax
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
mov rdx, rcx
mov rcx, rdi
call fcn.14007a570
xor eax, eax
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
mov qword [rsp + 0x90], rbp
mov rdx, rcx
mov qword [rsp + 0x98], rsi
lea rcx, [rsp + 0x20]
mov qword [rsp + 0xa0], r14
mov dword [r8 + 0xf0], 0xa
call fcn.140079880
movups xmm0, xmmword [rsp + 0x20]
mov ebx, 1
lea r14, [0x140193210]
movabs rbp, 0xf000000000000
movups xmmword [rdi], xmm0
add rdi, 0x10
xor esi, esi
nop dword [rax + rax]
mov rax, qword [rsp + 0x20]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
mov rax, qword [rsp + 0x28]
xorps xmm1, xmm1
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], rsi
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x68], rsi
movdqa xmmword [rsp + 0x70], xmm1
call fcn.14007b180
lea rcx, [rsp + 0x40]
call fcn.14007acb0
lea rcx, [rsp + 0x40]
call fcn.14007b180
mov rax, qword [rsp + 0x40]
mov r9, rsi
movzx r10d, byte [rbx + r14 - 1]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
nop dword [rax + rax]
mov rdx, qword [rsp + r9*8 + 0x30]
movzx ecx, r9b
mov rax, rdx
shl cl, 2
shr rax, 0x10
and rdx, rbp
or rax, rdx
mov r8, r10
shr rax, 0x24
shr r8, cl
and r8d, 0xf
xor r8, rax
xor r8, qword [rsp + r9*8 + 0x20]
mov rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
mov qword [rsp + r9*8 + 0x20], rax
inc r9
cmp r9, 2
jb 0x14007a4d0
movups xmm0, xmmword [rsp + 0x20]
inc rbx
movups xmmword [rdi], xmm0
add rdi, 0x10
cmp rbx, 0xa
jbe 0x14007a460
mov r14, qword [rsp + 0xa0]
xor eax, eax
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14007a8a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rdi, rcx
mov dword [rcx + 0xf0], send
lea rcx, [rbp - 0x39]
movaps xmmword [rax - 0x38], xmm6
mov rbx, rdx
call fcn.140079880
movups xmm0, xmmword [rbp - 0x39]
lea rdx, [rbx + 0x10]
lea rcx, [rbp - 0x29]
movups xmmword [rdi], xmm0
call fcn.140079880
movdqu xmm6, xmmword [rbp - 0x29]
mov ebx, 2
lea r15, [0x140193210]
movabs r14, 0xf000000000000
movups xmmword [rdi + 0x10], xmm6
add rdi, 0x20
xor esi, esi
lea r12d, [rbx + 0x2e]
lea r13d, [rbx + 0xe]
nop dword [rax]
nop word [rax + rax]
xorps xmm0, xmm0
mov qword [rbp - 0x11], rsi
movdqu xmmword [rbp - 9], xmm0
lea rcx, [rbp - 0x19]
xorps xmm1, xmm1
mov qword [rbp + 0xf], rsi
movdqa xmm0, xmm6
movdqu xmmword [rbp + 0x17], xmm1
psrldq xmm0, 8
movq qword [rbp + 7], xmm0
movq qword [rbp - 0x19], xmm6
call fcn.14007b180
lea rcx, [rbp - 0x19]
call fcn.14007acb0
lea rcx, [rbp - 0x19]
call fcn.14007b180
mov rax, qword [rbp - 0x19]
mov rcx, rbx
mov qword [rbp - 0x29], rax
mov rax, qword [rbp + 7]
shr rcx, 1
mov qword [rbp - 0x21], rax
mov rax, rsi
movzx r9d, byte [rcx + r15 - 1]
nop word [rax + rax]
mov rdx, qword [rbp + rax*8 - 0x29]
movzx ecx, al
shl cl, 2
mov r8, r9
shr r8, cl
mov rcx, rdx
shr rcx, 0x10
and r8d, 0xf
and rdx, r14
or rcx, rdx
shr rcx, 0x24
xor r8, rcx
xor r8, qword [rbp + rax*8 - 0x39]
mov rcx, r8
shl rcx, 0x10
xor rcx, r8
shl rcx, 0x10
xor rcx, r8
shl rcx, 0x10
xor rcx, r8
mov qword [rbp + rax*8 - 0x39], rcx
inc rax
cmp rax, 2
jb 0x14007a9a0
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rdi], xmm0
cmp rbx, 0xe
je 0x14007aaae
mov rax, qword [rbp - 0x39]
lea rcx, [rbp - 0x19]
mov qword [rbp - 0x19], rax
xorps xmm0, xmm0
mov rax, qword [rbp - 0x31]
xorps xmm1, xmm1
mov qword [rbp + 7], rax
mov qword [rbp - 0x11], rsi
movdqu xmmword [rbp - 9], xmm0
mov qword [rbp + 0xf], rsi
movdqu xmmword [rbp + 0x17], xmm1
call fcn.14007b180
lea rcx, [rbp - 0x19]
call fcn.14007acb0
lea rcx, [rbp - 0x19]
call fcn.14007b180
mov rax, qword [rbp - 0x19]
movq xmm2, r12
mov qword [rbp - 0x29], rax
movq xmm0, r13
mov rax, qword [rbp + 7]
add rbx, 2
mov qword [rbp - 0x21], rax
mov eax, 0x20
movdqu xmm3, xmmword [rbp - 0x29]
psrlq xmm3, xmm2
pxor xmm3, xmm6
movdqa xmm6, xmm3
movdqa xmm1, xmm3
psllq xmm6, xmm0
movq xmm0, rax
pxor xmm6, xmm3
psllq xmm1, xmm0
psllq xmm3, xmm2
pxor xmm6, xmm1
pxor xmm6, xmm3
movups xmmword [rdi + 0x10], xmm6
add rdi, rax
cmp rbx, 0xe
jbe 0x14007a930
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14007b010
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
xorps xmm0, xmm0
xor esi, esi
mov rbx, r8
mov rdi, rdx
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
test r8, r8
je 0x14007b167
mov qword [rsp + 0x40], rbp
movabs rbp, 0xf000f000f000f0
mov qword [rsp + 0x48], r12
movabs r12, 0xffffffff00000000
mov qword [rsp + 0x50], r14
movabs r14, 0xff000000ff00
mov qword [rsp + 0x58], r15
mov r15d, 0xffff0000
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rdi]
mov r10, qword [rdi + 8]
lea rdi, [rdi + 0x10]
mov rax, rdx
shr rax, 4
xor rax, rdx
and rax, rbp
mov r8, rax
shl r8, 4
xor r8, rax
xor r8, rdx
mov rdx, r8
shr rdx, 8
xor rdx, r8
and rdx, r14
mov rax, rdx
shl rax, 8
xor rax, rdx
xor r8, rax
mov rax, r8
shr rax, 0x10
xor rax, r8
and rax, r15
mov r11, rax
shl r11, 0x10
xor r11, rax
mov rax, r10
shr rax, 4
xor r11, r8
xor rax, r10
and rax, rbp
mov r9, rax
shl r9, 4
xor r9, rax
xor r9, r10
mov rdx, r9
shr rdx, 8
xor rdx, r9
and rdx, r14
mov rax, rdx
shl rax, 8
xor rax, rdx
xor r9, rax
mov rax, r9
shr rax, 0x10
xor rax, r9
and rax, r15
mov r8, rax
shl r8, 0x10
xor r8, rax
mov eax, r11d
xor r8, r9
shr r11, 0x20
mov rdx, r8
and r8, r12
shl rdx, 0x20
or r11, r8
or rdx, rax
mov qword [rcx + rsi*8 + 0x20], r11
mov qword [rcx + rsi*8], rdx
inc rsi
cmp rsi, rbx
jb 0x14007b080
mov r15, qword [rsp + 0x58]
mov r14, qword [rsp + 0x50]
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
jmp fcn.14007b180

Function at 0x14007b910
Capabilities:
Encode data using xor

Disassembly:
xor r9b, r9b
xor r10d, r10d
mov r11, rcx
test r8, r8
je 0x14007b9d3
sub rdx, rcx
cmp r8, 0x20
jb 0x14007b9b5
mov rcx, r8
lea rax, [r11 + 0x10]
and rcx, 0xffffffffffffffe0
xorps xmm3, xmm3
xorps xmm2, xmm2
movdqu xmm0, xmmword [rax - 0x10]
add r10, 0x20
movdqu xmm1, xmmword [rdx + rax - 0x10]
lea rax, [rax + 0x20]
pxor xmm1, xmm0
por xmm3, xmm1
movdqu xmm1, xmmword [rdx + rax - 0x20]
movdqu xmm0, xmmword [rax - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp r10, rcx
jb 0x14007b940
por xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd r9d, xmm2
cmp r10, r8
jae 0x14007b9d3
lea rax, [r10 + r11]
sub r8, r10
nop dword [rax]
movzx ecx, byte [rdx + rax]
xor cl, byte [rax]
lea rax, [rax + 1]
or r9b, cl
sub r8, 1
jne 0x14007b9c0
movzx eax, r9b
ret
Function at 0x14007bbc0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
movsxd rsi, ecx
lea rax, [0x14007bdb0]
lea rcx, [0x140200e98]
mov qword [rsp + 0x38], rax
xor r9d, r9d
lea r8, [rsp + 0x38]
lea rdx, [0x14007bda0]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14007bc4d
cmp dword [0x140200ea4], 0
mov qword [rsp + 0x40], rdi
jne 0x14007bc40
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x140200ea0]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x30]
test rdi, rdi
je 0x14007bc40
mov rax, qword [rdi + rsi*8]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov rdi, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x20
pop rsi
ret
call fcn.140169fe4
int3

Function at 0x14007bc90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x20
mov rsi, r8
movsxd r14, ecx
mov rbp, rdx
lea rax, [0x14007bdb0]
lea r8, [rsp + 0x58]
mov qword [rsp + 0x58], rax
lea rdx, [0x14007bda0]
xor r9d, r9d
lea rcx, [0x140200e98]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14007bd90
cmp dword [0x140200ea4], 0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
jne 0x14007bd3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x140200ea0]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
jne 0x14007bd58
lea ecx, [rdi + 0x20]
call fcn.14007ba50
mov rdi, rax
test rax, rax
je 0x14007bd3e
mov ecx, dword [0x140200ea0]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rdx, rax
movups xmmword [rax + 0x10], xmm0
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14007bd58
mov rcx, rdi
call fcn.14007b9e0
mov rcx, rbp
call rsi
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rsi
pop rbp
ret
lea rcx, [0x140200e70]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
lea rax, [0x140200e78]
lea rbx, [r14*8]
lea rcx, [0x140200e70]
mov qword [rbx + rax], rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, 1
mov qword [rbx + rdi], rbp
jmp 0x14007bd45
call fcn.140169fe4
int3
Function at 0x1400ab740
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov ebx, ecx
call fcn.14013cf90
test eax, eax
jne 0x1400ab8dd
mov qword [rsp + 0x30], rbp
xor ebp, ebp
cmp byte [0x1401fa1c4], bpl
mov qword [rsp + 0x38], rsi
jne 0x1400ab775
mov esi, ebp
jmp 0x1400ab791
mov ecx, 5
call qword [0x1401fa230]
mov rsi, rax
test rax, rax
je 0x1400ab791
mov rcx, rax
call qword [0x1401fa240]
test ebx, ebx
jle 0x1400ab8bf
test rdi, rdi
je 0x1400ab8bf
cmp dword [0x140201130], ebp
jne 0x1400ab848
xor ecx, ecx
call fcn.140097860
movups xmm0, xmmword [str.expand_32_byte_k]
movaps xmmword [0x140201130], xmm0
test rax, rax
jne 0x1400ab7e8
xorps xmm0, xmm0
mov qword [0x140201160], rax
movups xmmword [0x140201140], xmm0
mov dword [0x140201168], eax
movups xmmword [0x140201150], xmm0
jmp 0x1400ab82c
mov ecx, dword [0x1401fa370]
test ecx, ecx
je 0x1400ab81a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140201140], xmm0
mov dword [0x140201140], ecx
movups xmmword [0x140201150], xmm0
mov qword [0x140201160], rax
mov dword [0x140201168], eax
jmp 0x1400ab82c
lea r8, [0x140201140]
mov edx, 0x2c
mov rcx, rax
call qword [rax + 0x68]
mov eax, dword [0x140201160]
xor cl, cl
mov byte [0x1402011b0], cl
mov dword [0x14020116c], eax
mov dword [0x140201160], ebp
jmp 0x1400ab84f
movzx ecx, byte [0x1402011b0]
movzx eax, cl
lea rbp, [0x140201170]
cmp ebx, eax
jle 0x1400ab8a1
nop dword [rax]
test cl, cl
je 0x1400ab87f
movzx r8d, cl
mov rdx, rbp
mov rcx, rdi
call fcn.14015d720
movzx ecx, byte [0x1402011b0]
sub ebx, ecx
add rdi, rcx
inc dword [0x140201160]
lea rdx, [0x140201130]
mov rcx, rbp
call fcn.1400b4df0
mov cl, 0x40
mov byte [0x1402011b0], cl
cmp ebx, 0x40
jg 0x1400ab860
movzx eax, cl
mov rcx, rdi
sub eax, ebx
movsxd r8, ebx
movsxd rdx, eax
add rdx, rbp
call fcn.14015d720
sub byte [0x1402011b0], bl
jmp 0x1400ab8c5
mov dword [0x140201130], ebp
test rsi, rsi
je 0x1400ab8d3
mov rcx, rsi
call qword [0x1401fa250]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret