joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d6be0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, reloc.WS2_32.dll_recv
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x1400d6c23
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.1400c4440]
mov qword [rbp - 0x28], rax
lea rax, [0x140154480]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
mov qword [rbp - 0x60], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.14012b8e0
ud2

Function at 0x1400d89b0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
cmp qword [rdx], 0
jne 0x1400d8ab4
mov rsi, rcx
mov rbx, qword [rdi + 0x28]
mov rax, qword [rbx]
test rax, rax
jne 0x1400d89e7
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x1400d8a9e
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x1400d8a81
sub rax, rdx
add rdx, qword [rbx + 8]
mov r8, qword [rdi + 0x20]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rsp + 0x30], 0
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x30]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400d8a3e
mov eax, dword [rsp + 0x30]
mov ecx, 2
test rax, rax
jne 0x1400d8a5a
jmp 0x1400d8a4f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x3e5
je 0x1400d8a55
cmp eax, 0x6d
jne 0x1400d8a71
mov byte [rsi + 1], 0
jmp 0x1400d8a65
mov ecx, 1
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
xor eax, eax
mov byte [rsi], al
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov al, 1
jmp 0x1400d8a67
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.14012ec50
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x1400d89f4
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rbx
call fcn.14012ec50
mov rax, qword [rbx]
jmp 0x1400d89e7
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14012f0b0
ud2

Function at 0x1400dccc0
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, reloc.WS2_32.dll_recv
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x1400dccf5
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x1400dccfa
call fcn.1400d6be0
nop
add rsp, 0x38
ret
Function at 0x1400e5bb8
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1400e5bbf
test al, 1
je 0x1400e5bde
test al, 2
jne 0x1400e5bf3
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140157de0]
mov edx, 0x23
jmp 0x1400e5c06
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140157e20]
mov edx, 0x25
call fcn.14012b9c0
ud2
Function at 0x1400f2f80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [rcx - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [rbp - 1]
vmovups xmm15, xmmword [rcx - 0x70]
lea r12, [rcx - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x1400f30a0
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x1400f2fe0
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x1400f2fe0
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rdi]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rdi + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rdi + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rdi + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rdi + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rdi + 0x50]
lea rdi, [rdi + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rsi], xmm9
vmovups xmmword [rsi + 0x10], xmm10
vmovups xmmword [rsi + 0x20], xmm11
vmovups xmmword [rsi + 0x30], xmm12
vmovups xmmword [rsi + 0x40], xmm13
vmovups xmmword [rsi + 0x50], xmm14
lea rsi, [rsi + 0x60]
repz ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x1400f2fe0
Function at 0x1400f5b10
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne fcn.1400f5b10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
repz ret

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

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
aesenc xmm8, xmm0
aesenc xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400f5bf0
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
aesenclast xmm8, xmm0
aesenclast xmm9, xmm0
repz ret
Function at 0x1400f6ec0
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r8, 0xd
jne 0x1400f6f6f
mov r10, qword [rcx]
mov r11, qword [rcx + 5]
shr r11, 0x18
mov r12d, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
repz ret
cmp r8, 0x10
jb 0x1400f701a
add r10, qword [rcx]
adc r11, qword [rcx + 8]
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
lea rcx, [rcx + 0x10]
sub r8, 0x10
jmp 0x1400f6f6f
cmp r8, 0
je 0x1400f70e0
xor r13, r13
xor r14, r14
xor r15, r15
add rcx, r8
shld r14, r13, 8
shl r13, 8
movzx r15, byte [rcx - 1]
xor r13, r15
dec rcx
dec r8
jne 0x1400f7030
add r10, r13
adc r11, r14
adc r12, 1
mov rax, qword [rbp + 0xa0]
mov r15, rax
mul r10
mov r13, rax
mov r14, rdx
mov rax, qword [rbp + 0xa0]
mul r11
imul r15, r12
add r14, rax
adc r15, rdx
mov rax, qword [rbp + 0xa8]
mov r9, rax
mul r10
add r14, rax
adc rdx, 0
mov r10, rdx
mov rax, qword [rbp + 0xa8]
mul r11
add r15, rax
adc rdx, 0
imul r9, r12
add r15, r10
adc r9, rdx
mov r10, r13
mov r11, r14
mov r12, r15
and r12, 3
mov r13, r15
and r13, 0xfffffffffffffffc
mov r14, r9
shrd r15, r9, 2
shr r9, 2
add r15, r13
adc r9, r14
add r10, r15
adc r11, r9
adc r12, 0
repz ret
Function at 0x1401125f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
sub rsp, 0x98
mov rax, qword [0x1401d0118]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, r8
cmp edx, 0x80
je 0x140112639
cmp edx, 0x100
je 0x140112629
mov eax, 1
jmp 0x140112788
mov rdx, rcx
mov rcx, rdi
call fcn.140112f50
jmp 0x140112786
mov qword [rsp + 0xb8], rbp
mov rdx, rcx
mov qword [rsp + 0xc8], rsi
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x90], r14
mov dword [r8 + 0xf0], 0xa
call fcn.1401127b0
movups xmm0, xmmword [rsp + 0x60]
mov ebx, 1
lea r14, [0x14016b088]
movabs rbp, 0xf000000000000
movups xmmword [rdi], xmm0
add rdi, 0x10
xor esi, esi
nop dword [rax]
mov rax, qword [rsp + 0x60]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
mov rax, qword [rsp + 0x68]
xorps xmm1, xmm1
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], rsi
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x48], rsi
movdqa xmmword [rsp + 0x50], xmm1
call fcn.140113820
lea rcx, [rsp + 0x20]
call fcn.140113360
lea rcx, [rsp + 0x20]
call fcn.140113820
mov rax, qword [rsp + 0x20]
mov r9, rsi
movzx r10d, byte [rbx + r14 - 1]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
nop dword [rax + rax]
mov rdx, qword [rsp + r9*8 + 0x70]
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 + 0x60]
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 + 0x60], rax
inc r9
cmp r9, 2
jb 0x140112700
movups xmm0, xmmword [rsp + 0x60]
inc rbx
movups xmmword [rdi], xmm0
add rdi, 0x10
cmp rbx, 0xa
jbe 0x140112690
mov r14, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xc8]
mov rbp, qword [rsp + 0xb8]
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14011d530
add rsp, 0x98
pop rdi
pop rbx
ret
Function at 0x1401128b0
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 0x14011298b
mov qword [rsp + 0x30], rbp
lea rbp, [rdx - 1]
mov qword [rsp + 0x38], rdi
lea rdi, [rcx + 0x50]
nop
mov rcx, rbx
call fcn.140113360
mov rcx, rbx
call fcn.140113190
mov rcx, rbx
call fcn.140112c50
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 0x140112920
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rcx, rbx
call fcn.140113360
mov rcx, rbx
call fcn.140113190
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 0x140112aa0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
sub rsp, 0x88
mov rax, qword [0x1401d0118]
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.140113820
xor r11d, r11d
test rbx, rbx
je 0x140112c2f
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 r8, qword [rsp + r11*8 + 0x20]
mov rdx, r10
shl rdx, 0x20
and r10, r15
mov eax, r8d
inc r11
or rdx, rax
shr r8, 0x20
or r10, r8
mov rcx, rdx
shr rcx, 0x10
xor rcx, rdx
and rcx, rsi
mov rax, rcx
shl rax, 0x10
xor rax, rcx
xor rdx, rax
mov rcx, rdx
shr rcx, 8
xor rcx, rdx
and rcx, rbp
mov rax, rcx
shl rax, 8
xor rax, rcx
mov rcx, r10
xor rdx, rax
shr rcx, 0x10
xor rcx, r10
mov rax, rdx
shr rax, 4
and rcx, rsi
xor rax, rdx
and rax, r14
mov r9, rax
shl r9, 4
xor r9, rax
mov rax, rcx
shl rax, 0x10
xor r9, rdx
xor rax, rcx
mov qword [rdi - 0x10], r9
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 rcx, r10
shr rcx, 4
xor rcx, r10
and rcx, r14
mov rax, rcx
shl rax, 4
xor rax, rcx
xor rax, r10
mov qword [rdi - 8], rax
cmp r11, rbx
jb 0x140112b40
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.14011d530
add rsp, 0x88
pop rdi
pop rbx
ret
Function at 0x140112f50
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1401d0118]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, rcx
mov dword [rcx + 0xf0], send
lea rcx, [rbp + 7]
mov rbx, rdx
call fcn.1401127b0
movups xmm0, xmmword [rbp + 7]
lea rdx, [rbx + 0x10]
lea rcx, [rbp - 9]
movups xmmword [rdi], xmm0
call fcn.1401127b0
movdqu xmm6, xmmword [rbp - 9]
mov ebx, 2
lea r15, [0x14016b088]
movabs r14, 0xf000000000000
movups xmmword [rdi + 0x10], xmm6
add rdi, 0x20
xor esi, esi
lea r12d, [rbx + 0x2e]
lea r13d, [rbx + 0xe]
nop
xorps xmm0, xmm0
mov qword [rsp + 0x28], rsi
movdqu xmmword [rbp - 0x79], xmm0
lea rcx, [rsp + 0x20]
xorps xmm1, xmm1
mov qword [rbp - 0x61], rsi
movdqa xmm0, xmm6
movdqu xmmword [rbp - 0x59], xmm1
psrldq xmm0, 8
movq qword [rbp - 0x69], xmm0
movq qword [rsp + 0x20], xmm6
call fcn.140113820
lea rcx, [rsp + 0x20]
call fcn.140113360
lea rcx, [rsp + 0x20]
call fcn.140113820
mov rax, qword [rsp + 0x20]
mov rcx, rbx
mov qword [rbp - 9], rax
mov rax, qword [rbp - 0x69]
shr rcx, 1
mov qword [rbp - 1], rax
mov rax, rsi
movzx r9d, byte [rcx + r15 - 1]
nop dword [rax + rax]
mov rdx, qword [rbp + rax*8 - 9]
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 + 7]
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 + 7], rcx
inc rax
cmp rax, 2
jb 0x140113050
movups xmm0, xmmword [rbp + 7]
movups xmmword [rdi], xmm0
cmp rbx, 0xe
je 0x14011315e
mov rax, qword [rbp + 7]
lea rcx, [rbp - 0x49]
mov qword [rbp - 0x49], rax
xorps xmm0, xmm0
mov rax, qword [rbp + 0xf]
xorps xmm1, xmm1
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x41], rsi
movdqu xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x21], rsi
movdqu xmmword [rbp - 0x19], xmm1
call fcn.140113820
lea rcx, [rbp - 0x49]
call fcn.140113360
lea rcx, [rbp - 0x49]
call fcn.140113820
mov rax, qword [rbp - 0x49]
movq xmm2, r12
mov qword [rbp - 9], rax
movq xmm0, r13
mov rax, qword [rbp - 0x29]
add rbx, 2
mov qword [rbp - 1], rax
mov eax, 0x20
movdqu xmm3, xmmword [rbp - 9]
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 0x140112fe0
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14011d530
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1401136c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
sub rsp, 0x28
xorps xmm0, xmm0
xor ebx, ebx
mov r11, 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 0x140113814
mov qword [rsp + 0x40], rbp
movabs rbp, 0xff000000ff00
mov qword [rsp + 0x48], rsi
movabs rsi, 0xf000f000f000f0
mov qword [rsp + 0x50], r14
mov r14d, 0xffff0000
mov qword [rsp + 0x20], r15
movabs r15, 0xffffffff00000000
movups xmm0, xmmword [rdi]
lea rdi, [rdi + 0x10]
movq rdx, xmm0
psrldq xmm0, 8
mov rax, rdx
shr rax, 4
xor rax, rdx
and rax, rsi
mov r8, rax
shl r8, 4
xor r8, rax
xor r8, rdx
mov rdx, r8
shr rdx, 8
xor rdx, r8
and rdx, rbp
mov rax, rdx
shl rax, 8
xor rax, rdx
movq rdx, xmm0
xor r8, rax
mov rax, r8
shr rax, 0x10
xor rax, r8
and rax, r14
mov r10, rax
shl r10, 0x10
xor r10, rax
mov rax, rdx
shr rax, 4
xor r10, r8
xor rax, rdx
and rax, rsi
mov r9, rax
shl r9, 4
xor r9, rax
xor r9, rdx
mov rdx, r9
shr rdx, 8
xor rdx, r9
and rdx, rbp
mov rax, rdx
shl rax, 8
xor rax, rdx
xor r9, rax
mov rax, r9
shr rax, 0x10
xor rax, r9
and rax, r14
mov r8, rax
shl r8, 0x10
xor r8, rax
mov eax, r10d
xor r8, r9
shr r10, 0x20
mov rdx, r8
and r8, r15
shl rdx, 0x20
or r10, r8
or rdx, rax
mov qword [rcx + rbx*8 + 0x20], r10
mov qword [rcx + rbx*8], rdx
inc rbx
cmp rbx, r11
jb 0x140113722
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
add rsp, 0x28
pop rdi
pop rbx
jmp fcn.140113820
Function at 0x140115020
Capabilities:
Encrypt data using curve25519

Disassembly:
and byte [rcx + 0x1f], 0x3f
or byte [rcx + 0x1f], 0x40
and byte [rcx], 0xf8
ret
Function at 0x14011b420
Capabilities:
Encode data using xor

Disassembly:
mov r9, rdx
mov r10, rcx
mov rax, 0xffffffffffffffff
test r8, r8
je 0x14011b472
sub r10, rdx
nop word [rax + rax]
mov rcx, qword [r10 + r9]
xor rcx, qword [r9]
lea r9, [r9 + 8]
lea rdx, [rcx - 1]
not rcx
shr rcx, 0x3f
shr rdx, 0x3f
and rdx, rcx
mov rcx, rax
neg rdx
not rcx
or rdx, rcx
and rax, rdx
sub r8, 1
jne 0x14011b440
ret

Function at 0x14011ce60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor eax, eax
mov r11, rcx
mov r10d, 1
movabs rdi, 0x8000000000000000
lea ebx, [rax + 0x20]
nop dword [rax]
nop word [rax + rax]
shr rax, 1
mov r9, r10
and r9d, 1
neg r9
mov rdx, r9
and r9, rdi
add r9, rax
and rdx, r11
mov r8, rdx
shr r9, 1
xor r8, r10
and rdx, r10
shr r8, 1
add r8, rdx
mov rax, r8
and eax, 1
neg rax
mov rcx, rax
and rax, rdi
and rcx, r11
add rax, r9
mov r10, rcx
and rcx, r8
xor r10, r8
shr r10, 1
add r10, rcx
sub rbx, 1
jne 0x14011ce90
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret

Function at 0x140121ef0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140121d1c

Function at 0x14012ef40
Capabilities:
Resolve dns

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov ebx, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.140040740
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14012ef9a
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
cmp qword [rsp + 0x38], 0
je 0x14012f024
mov edx, 1
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140040300
mov rdi, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x14012eff9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x14012f00c
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bx
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test r14, r14
je 0x14012f024
mov edx, 1
mov rcx, rdi
call fcn.140040300
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret