joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a02d0
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.1400a02d0
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 0x1400a03da
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 0x1400a03b0
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 0x1400a1680
Capabilities:
Encode data using xor

Disassembly:
xor r10, r10
xor r11, r11
xor r12, r12
cmp r8, 0xd
jne 0x1400a172f
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 0x1400a17da
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 0x1400a172f
cmp r8, 0
je 0x1400a18a0
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 0x1400a17f0
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 0x1400bd52c
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, [0x140105180]
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x1400bd61b
lea rdx, str.NtCancelIoFileEx
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400bd61b
lea rdx, str.NtCreateFile
mov qword [0x14013f568], rax
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400bd61b
lea rdx, str.NtCreateKeyedEvent
mov qword [0x14013f570], rax
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400bd61b
lea rdx, str.NtDeviceIoControlFile
mov qword [0x14013f578], rax
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400bd61b
lea rdx, str.NtReleaseKeyedEvent
mov qword [0x14013f580], rax
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400bd61b
lea rdx, str.NtWaitForKeyedEvent
mov qword [0x14013f588], rax
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400bd61b
lea rdx, [0x140105220]
mov qword [0x14013f590], rax
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400bd61b
mov qword [0x14013f598], rax
xor eax, eax
jmp 0x1400bd61e
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
Function at 0x1400bed50
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
sub rsp, 0x98
mov rax, qword [0x14013f248]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, r8
cmp edx, 0x80
je 0x1400bed99
cmp edx, 0x100
je 0x1400bed89
mov eax, 1
jmp 0x1400beee8
mov rdx, rcx
mov rcx, rdi
call fcn.1400bf6b0
jmp 0x1400beee6
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.1400bef10
movups xmm0, xmmword [rsp + 0x60]
mov ebx, 1
lea r14, [0x1401055d8]
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.1400bff90
lea rcx, [rsp + 0x20]
call fcn.1400bfac0
lea rcx, [rsp + 0x20]
call fcn.1400bff90
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 0x1400bee60
movups xmm0, xmmword [rsp + 0x60]
inc rbx
movups xmmword [rdi], xmm0
add rdi, 0x10
cmp rbx, 0xa
jbe 0x1400bedf0
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.1400c9700
add rsp, 0x98
pop rdi
pop rbx
ret
Function at 0x1400bf010
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 0x1400bf0eb
mov qword [rsp + 0x30], rbp
lea rbp, [rdx - 1]
mov qword [rsp + 0x38], rdi
lea rdi, [rcx + 0x50]
nop
mov rcx, rbx
call fcn.1400bfac0
mov rcx, rbx
call fcn.1400bf8f0
mov rcx, rbx
call fcn.1400bf3b0
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 0x1400bf080
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rcx, rbx
call fcn.1400bfac0
mov rcx, rbx
call fcn.1400bf8f0
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 0x1400bf200
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
sub rsp, 0x88
mov rax, qword [0x14013f248]
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.1400bff90
xor r11d, r11d
test rbx, rbx
je 0x1400bf38f
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 0x1400bf2a0
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.1400c9700
add rsp, 0x88
pop rdi
pop rbx
ret
Function at 0x1400bf6b0
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, 0xa0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14013f248]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, rcx
mov dword [rcx + 0xf0], 0xe
lea rcx, [rbp + 7]
mov rbx, rdx
call fcn.1400bef10
movups xmm0, xmmword [rbp + 7]
lea rdx, [rbx + 0x10]
lea rcx, [rbp - 9]
movups xmmword [rdi], xmm0
call fcn.1400bef10
movdqu xmm6, xmmword [rbp - 9]
mov ebx, 2
lea r15, [0x1401055d8]
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 [rbp - 0x41], rsi
movdqu xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x49]
xorps xmm1, xmm1
mov qword [rbp - 0x21], rsi
movdqa xmm0, xmm6
movdqu xmmword [rbp - 0x19], xmm1
psrldq xmm0, 8
movq qword [rbp - 0x29], xmm0
movq qword [rbp - 0x49], xmm6
call fcn.1400bff90
lea rcx, [rbp - 0x49]
call fcn.1400bfac0
lea rcx, [rbp - 0x49]
call fcn.1400bff90
mov rax, qword [rbp - 0x49]
mov rcx, rbx
mov qword [rbp - 9], rax
mov rax, qword [rbp - 0x29]
shr rcx, 1
mov qword [rbp - 1], rax
mov rax, rsi
movzx r9d, byte [rcx + r15 - 1]
nop word [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 0x1400bf7b0
movups xmm0, xmmword [rbp + 7]
movups xmmword [rdi], xmm0
cmp rbx, 0xe
je 0x1400bf8be
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.1400bff90
lea rcx, [rbp - 0x49]
call fcn.1400bfac0
lea rcx, [rbp - 0x49]
call fcn.1400bff90
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 0x1400bf740
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400c9700
lea r11, [rsp + 0xa0]
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 0x1400bfe20
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 0x1400bff77
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 0x1400bfe90
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.1400bff90
Function at 0x1400c18b0
Capabilities:
Encrypt data using curve25519

Disassembly:
movzx eax, byte [rcx + 0x1f]
and byte [rcx], 0xf8
and al, 0x3f
or al, 0x40
mov byte [rcx + 0x1f], al
ret

Function at 0x1400c6ad0
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
xor r9b, r9b
xor ecx, ecx
mov r11, rdx
test r8, r8
je 0x1400c6ba4
sub r10, rdx
cmp r8, 0x20
jb 0x1400c6b87
mov rdx, r8
lea rax, [r11 + 0x10]
and rdx, 0xffffffffffffffe0
xorps xmm3, xmm3
xorps xmm2, xmm2
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add rcx, 0x20
movdqu xmm1, xmmword [r10 + rax - 0x10]
lea rax, [rax + 0x20]
pxor xmm1, xmm0
por xmm3, xmm1
movdqu xmm1, xmmword [r10 + rax - 0x20]
movdqu xmm0, xmmword [rax - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp rcx, rdx
jb 0x1400c6b10
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 rcx, r8
jae 0x1400c6ba4
lea rax, [rcx + r11]
sub r8, rcx
nop
movzx ecx, byte [r10 + rax]
xor cl, byte [rax]
lea rax, [rax + 1]
or r9b, cl
sub r8, 1
jne 0x1400c6b90
movzx eax, r9b
ret
Function at 0x1400c75a0
Capabilities:
Encode data using xor

Disassembly:
mov r9, rdx
mov r10, rcx
mov rax, 0xffffffffffffffff
test r8, r8
je 0x1400c75f2
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 0x1400c75c0
ret

Function at 0x1400c9060
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 0x1400c9090
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret

Function at 0x1400c9be8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400c9c32
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400c9c32
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400c9c32
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400c9c32
cmp dword [rcx + 0x84], 0xe
jbe 0x1400c9c32
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400c9c34
xor al, al
add rsp, 0x28
ret

Function at 0x1400d0370
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.14000c870
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400d03ca
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 0x1400d0454
mov edx, 1
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.14000c420
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
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 0x1400d0429
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x1400d043c
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 0x1400d0454
mov edx, 1
mov rcx, rdi
call fcn.14000c420
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140002930
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13c0
call fcn.14001d920
sub rsp, rax
mov rax, qword [0x14002f040]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov edi, edx
mov ebx, ecx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x13a4], 0xffffffff
mov r9d, 1
mov dword [rsp + 0x24], eax
mov r10d, 0x270
mov r8d, eax
shr r8d, 0x1e
xor r8d, eax
imul eax, r8d, 0x6c078965
add eax, r9d
mov dword [rsp + r9*4 + 0x24], eax
inc r9
cmp r9, r10
jb 0x140002984
lea eax, [rbx - 0x80000000]
mov dword [rsp + 0x20], r10d
mov ebp, 0x80000000
cmp ebx, ebp
lea esi, [rbx + rbp]
cmovae esi, eax
lea ebx, [rdi + rbp]
cmp edi, ebp
lea eax, [rdi - 0x80000000]
cmovae ebx, eax
sub ebx, esi
cmp ebx, 0xffffffff
jne 0x140002a50
lea r8, [rsp + 0x28]
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1400029e0
mov eax, dword [rsp + 0x20]
mov edx, dword [rsp + rax*4 + 0x24]
mov eax, edx
shr eax, 0xb
and eax, dword [rsp + 0x13a4]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
jmp 0x140002a8e
lea rcx, [rsp + 0x20]
inc ebx
call fcn.14000b1c0
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x140002a8a
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x140002a8a
lea rcx, [rsp + 0x20]
call fcn.14000b1c0
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x140002a76
shr rcx, 0x20
lea edx, [rsi + rcx]
cmp edx, ebp
lea ecx, [rdx - 0x80000000]
lea eax, [rdx + rbp]
cmovae eax, ecx
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.14001c890
lea r11, [rsp + 0x13c0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400030b0
Capabilities:
Check if file exists
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x14002f040]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
mov qword [rsp + 0xa8], rdi
mov dword [rsp + 0x74], ebx
mov rdi, rcx
call fcn.14001c0e0
lea rdx, [rsp + 0x74]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov rdi, qword [rsp + 0xa8]
test eax, eax
jne 0x1400032e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x14002f088], 2
mov r9d, eax
movups xmm0, xmmword [0x1400200b8]
movzx ecx, byte [0x1400200e8]
movups xmm1, xmmword [0x1400200c8]
mov byte [rsp + 0x50], cl
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x1400200d8]
movups xmmword [rsp + 0x30], xmm1
movups xmmword [rsp + 0x40], xmm0
jl 0x140003292
movdqa xmm0, xmmword [0x140029d50]
lea rcx, [rsp + 0x24]
movdqa xmm5, xmmword [0x140029c80]
movdqa xmm4, xmmword [0x140029db0]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
movaps xmmword [rsp + 0x80], xmm6
movdqa xmm6, xmmword [0x140029cd0]
nop dword [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140029d30]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140029d30]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x30
jl 0x140003180
movaps xmm6, xmmword [rsp + 0x80]
cmp ebx, 0x31
jge 0x1400032cf
movsxd rax, ebx
lea r8, [rsp + 0x20]
add r8, rax
nop dword [rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, bl
inc ebx
sub al, cl
add al, 0x35
xor byte [r8 - 1], al
cmp ebx, 0x31
jl 0x1400032a0
mov edx, r9d
lea rcx, [rsp + 0x20]
call fcn.140002630
xor al, al
jmp 0x140003303
mov dword [rsp + 0x70], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x74], eax
sete al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001c890
add rsp, 0x90
pop rbx
ret