joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140175d90
Capabilities:
Copy file

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
lea rbp, [rsp + 0x80]
mov qword [rbp + 8], 0xfffffffffffffffe
mov rsi, r9
mov rdi, r8
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x38]
call fcn.14017ede0
mov rax, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov rcx, rax
neg rcx
jo 0x140175e02
mov rcx, qword [rbp - 0x28]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rcx
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 0x20]
mov r8b, 1
call fcn.1401808c0
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x48]
mov rax, rcx
neg rax
jno 0x140175e15
mov eax, 1
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp], rcx
mov qword [rbp - 8], rdx
lea rcx, [rbp - 0x38]
mov rdx, rdi
mov r8, rsi
call fcn.14017ede0
mov rax, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov rcx, rax
neg rcx
jo 0x140175e6c
mov rcx, qword [rbp - 0x28]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rcx
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 0x20]
mov r8b, 1
call fcn.1401808c0
mov rsi, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x48]
mov rax, rsi
neg rax
jno 0x140175e9f
mov rcx, qword [rbp - 8]
mov r14, qword [rbp]
mov eax, 1
test r14, r14
je 0x140175e07
add r14, r14
mov r8d, 2
mov rsi, rdx
mov rdx, r14
call fcn.140017ff0
mov eax, 1
mov rdx, rsi
jmp 0x140175e07
mov qword [rbp - 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [0x140175fb0]
lea r9, [rbp - 0x20]
mov rcx, qword [rbp - 8]
mov rbx, rcx
mov rdi, rdx
call qword [sym.imp.kernel32.dll_CopyFileExW]
test eax, eax
mov r14, qword [rbp]
je 0x140175f24
mov rdx, qword [rbp - 0x20]
test rsi, rsi
je 0x140175efe
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdi, rdx
mov rdx, rsi
call fcn.140017ff0
mov rdx, rdi
test r14, r14
je 0x140175f1d
add r14, r14
mov r8d, 2
mov rcx, rbx
mov rsi, rdx
mov rdx, r14
call fcn.140017ff0
mov rdx, rsi
xor eax, eax
jmp 0x140175e07
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
test rsi, rsi
je 0x140175f53
add rsi, rsi
mov r8d, 2
mov rcx, rdi
mov rdi, rdx
mov rdx, rsi
call fcn.140017ff0
mov rdx, rdi
mov rcx, rbx
mov eax, 1
test r14, r14
jne 0x140175e7e
jmp 0x140175e07
Function at 0x140175fd0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov rax, qword [rbp + 0x70]
mov qword [rbp - 8], r9
lea rcx, [rbp]
mov qword [rbp], rax
movups xmm0, xmmword [0x140255820]
movaps xmmword [rbp + 0x10], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xor r8d, r8d
test r9b, 1
cmove rcx, r8
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140176066
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp + 0x10]
cmp eax, 0x103
je 0x140176093
test eax, eax
js 0x140176072
mov rdx, qword [rbp + 0x18]
xor eax, eax
jmp 0x140176089
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb8
pop rsi
pop rbp
ret
mov dword [rbp + 0x28], 0
mov byte [rbp + 0x2c], 0
lea rax, str.9X__
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x30]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x28]
lea rdx, [rbp - 0x38]
call fcn.14016cad0
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.140163df0
mov ecx, 7
int 0x29
ud2

Function at 0x1401760f0
Capabilities:
Create udp socket

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov edi, edx
cmp byte [rcx], 0
mov eax, 0x17
mov r14d, 2
cmovne r14d, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
xor ebx, ebx
mov ecx, r14d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1401761d0
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x140176157
mov esi, eax
cmp eax, 0x2726
jne 0x1401761c3
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, r14d
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1401761bb
mov rsi, rax
xor ebx, ebx
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
jne 0x1401761d0
call qword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rsi
call qword [sym.imp.ws2_32.dll_closesocket]
mov ebx, 1
mov rsi, rdi
jmp 0x1401761d0
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov ebx, 1
mov rax, rbx
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x140176790
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, rdx
mov qword [rbp - 8], rcx
movzx r15d, byte [rdx + 0x18]
mov byte [rdx + 0x18], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 2
mov qword [rbp - 0x10], 0
mov r12, qword [rdx + 8]
movzx esi, word [rdx + 0x10]
mov eax, 2
xor edi, edi
xor r13d, r13d
jmp 0x1401767fc
mov word [rax + rdi*2], r14w
inc rdi
mov qword [rbp - 0x10], rdi
mov rdx, qword [rbx]
mov r14d, esi
test si, si
jne 0x1401768a0
nop dword [rax + rax]
cmp rdx, r12
je 0x14017695f
lea rcx, [rdx + 1]
mov qword [rbx], rcx
movzx r9d, byte [rdx]
movzx r14d, r9b
test r14b, r14b
jns 0x1401768ca
mov r8d, r14d
and r8d, 0x1f
lea rcx, [rdx + 2]
mov qword [rbx], rcx
movzx r10d, byte [rdx + 1]
and r10d, 0x3f
cmp r14b, 0xdf
jbe 0x1401768c0
lea rcx, [rdx + 3]
mov qword [rbx], rcx
movzx r14d, byte [rdx + 2]
shl r10d, 6
and r14d, 0x3f
or r14d, r10d
cmp r9b, 0xf0
jb 0x1401768e8
lea rcx, [rdx + 4]
mov qword [rbx], rcx
movzx edx, byte [rdx + 3]
and r8d, 7
shl r8d, 0x12
shl r14d, 6
and edx, 0x3f
or edx, r14d
or edx, r8d
mov r14d, edx
cmp r14d, 0xffff
jbe 0x1401768ca
jmp 0x1401768f8
mov word [rbx + 0x10], 0
xor esi, esi
cmp r14w, 0x22
je 0x1401768d6
jmp 0x140176930
shl r8d, 6
or r8d, r10d
mov r14d, r8d
xor esi, esi
mov rdx, rcx
cmp r14w, 0x22
jne 0x140176930
xor r13b, 1
mov r14d, esi
test si, si
je 0x140176810
jmp 0x1401768a0
shl r8d, 0xc
or r14d, r8d
cmp r14d, 0xffff
jbe 0x1401768ca
lea r8d, [r14 + 0xff0000]
shr r8d, 0xa
or r8d, 0xd800
and r14d, 0x3ff
or r14d, 0xdc00
mov word [rbx + 0x10], r14w
mov rdx, rcx
mov esi, r14d
mov r14d, r8d
cmp r14w, 0x22
je 0x1401768d6
nop dword [rax]
movzx ecx, r14w
cmp ecx, 0x3b
jne 0x14017693f
test r13b, 1
je 0x14017695b
cmp rdi, qword [rbp - 0x20]
jne 0x1401767f0
lea rcx, [rbp - 0x20]
call fcn.1401683c0
mov rax, qword [rbp - 0x18]
jmp 0x1401767f0
mov byte [rbx + 0x18], 1
test rdi, rdi
setne al
or r15b, al
je 0x140176998
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x40]
mov r8, rdi
call fcn.14016d8c0
movups xmm0, xmmword [rbp - 0x40]
movups xmm1, xmmword [rbp - 0x30]
mov rax, qword [rbp - 8]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov rdx, qword [rbp - 0x20]
test rdx, rdx
jne 0x1401769b2
jmp 0x1401769c4
movabs rax, 0x8000000000000000
mov rcx, qword [rbp - 8]
mov qword [rcx], rax
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1401769c4
mov rcx, qword [rbp - 0x18]
add rdx, rdx
mov r8d, 2
call fcn.140017ff0
mov rax, qword [rbp - 8]
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1401775f0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov dword [rbp - 4], 0
xorps xmm0, xmm0
movaps xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
lea rax, [rbp - 4]
mov qword [rbp - 0x18], rax
mov rcx, qword [rcx]
lea rax, [0x1401776d0]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
call qword [sym.imp.kernel32.dll_ReadFileEx]
test eax, eax
je 0x14017767f
mov rsi, qword [sym.imp.kernel32.dll_SleepEx]
nop dword [rax]
mov ecx, 0xffffffff
mov edx, 1
call rsi
cmp dword [rbp - 4], 1
jne 0x140177650
mov eax, dword [rbp]
mov esi, dword [rbp + 4]
mov rcx, rax
shl rcx, 0x20
or rcx, 2
test eax, eax
cmovne rsi, rcx
jne 0x140177692
xor eax, eax
jmp 0x1401776c2
call qword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
mov eax, ecx
and eax, 3
shr rcx, 0x20
cmp eax, 2
jne 0x1401776b2
call fcn.14017ebe0
xor ecx, ecx
cmp al, 0xb
setne al
cmove rsi, rcx
jmp 0x1401776c2
cmp rcx, 0xb
setne al
xor edx, edx
cmp ecx, 0xb
cmove rsi, rdx
movzx eax, al
mov rdx, rsi
add rsp, 0x68
pop rsi
pop rbp
ret
Function at 0x14017e600
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50

Function at 0x14017fd60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rdi, r8
mov rsi, rcx
mov rcx, qword [rcx + 8]
mov rbx, qword [rsi + 0x10]
xor r14d, r14d
mov eax, 0
cmp rbx, 3
jb 0x14017fdcc
movzx r8d, byte [rbx + rcx - 2]
mov r9d, r8d
and r9b, 0xf0
xor r14d, r14d
cmp r9b, 0xa0
jne 0x14017fdcc
xor r14d, r14d
cmp byte [rbx + rcx - 3], 0xed
jne 0x14017fdcc
movzx r14d, byte [rbx + rcx - 1]
and r8d, 0xf
and r14d, 0x3f
shl r8d, 0x10
shl r14d, 0xa
or r14d, r8d
mov al, 1
cmp rdi, 3
jb 0x14017fe78
cmp byte [rdx], 0xed
jne 0x14017fe81
movzx r12d, byte [rdx + 1]
mov r8d, r12d
and r8b, 0xf0
cmp r8b, 0xb0
setne r8b
xor al, 1
or al, r8b
jne 0x14017fe81
movzx r13d, byte [rdx + 2]
cmp rbx, 3
jb 0x14017fe11
add rbx, 0xfffffffffffffffd
mov qword [rsi + 0x10], rbx
and r13d, 0x3f
shl r12d, 6
lea r8, [rdi + 1]
mov rax, qword [rsi]
sub rax, rbx
cmp rax, r8
jb 0x14017ff6b
add rdx, 3
mov r15, rdx
and r12d, 0x3c0
or r14d, r13d
or r14d, r12d
add r14d, 0x10000
mov rcx, rsi
mov edx, r14d
call fcn.140171d60
add rdi, 0xfffffffffffffffd
mov rax, qword [rsi]
mov rbx, qword [rsi + 0x10]
sub rax, rbx
cmp rax, rdi
jb 0x14017ff90
mov rcx, qword [rsi + 8]
add rcx, rbx
mov rdx, r15
jmp 0x14017ff1e
test rdi, rdi
je 0x14017ff10
lea rax, [rdx + rdi]
mov r9, rdx
jmp 0x14017fea8
add r9, 2
cmp r8, rax
cmovne r8, r9
nop word cs:[rax + rax]
mov r9, r8
cmp r8, rax
je 0x14017ff10
lea r8, [r9 + 1]
movzx r10d, byte [r9]
test r10b, r10b
jns 0x14017fea0
cmp r10b, 0xe0
jb 0x14017fe8a
cmp r10b, 0xed
jne 0x14017fedf
cmp r8, rax
je 0x14017ff10
lea r8, [r9 + 2]
cmp r8, rax
je 0x14017ff10
cmp byte [r9 + 1], 0x9f
ja 0x14017ff0c
add r9, 3
mov r8, r9
jmp 0x14017fea0
add r9, 2
cmp r8, rax
cmove r9, r8
xor r8d, r8d
cmp r9, rax
setne r8b
add r8, r9
cmp r10b, 0xf0
jb 0x14017fea0
xor r9d, r9d
cmp r8, rax
setne r9b
add r8, r9
jmp 0x14017fea0
mov byte [rsi + 0x18], 0
mov rax, qword [rsi]
sub rax, rbx
cmp rax, rdi
jb 0x14017ff3e
add rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add rbx, rdi
mov qword [rsi + 0x10], rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r14, rdx
mov rdx, rbx
mov r8, rdi
call fcn.1401a5e50
mov rdx, r14
mov rcx, qword [rsi + 8]
mov rbx, qword [rsi + 0x10]
jmp 0x14017ff1b
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov r15, rdx
mov rdx, rbx
call fcn.1401a5e50
mov rdx, r15
jmp 0x14017fe2c
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.1401a5e50
mov rbx, qword [rsi + 0x10]
jmp 0x14017fe69
Function at 0x140181490
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x208
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rbp + 0x186], ax
mov eax, dword [0x1402b58a8]
cmp eax, 3
jne 0x1401815bf
lea rax, [rbp + 0x186]
mov qword [rbp + 0x170], rax
cmp rdi, 0x17f
ja 0x1401815e5
lea rbx, [rbp - 0x60]
mov rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi - 0x60], 0
inc rdi
lea rcx, [rbp + 0x158]
mov rdx, rbx
mov r8, rdi
call fcn.14018da10
test byte [rbp + 0x158], 1
je 0x14018152e
lea rax, str._bL__
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1401815b0
mov rcx, qword [rbp + 0x160]
xorps xmm0, xmm0
movaps xmmword [rbp + 0x120], xmm0
movaps xmmword [rbp + 0x140], xmm0
movaps xmmword [rbp + 0x130], xmm0
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x178], 0
lea r8, [rbp + 0x120]
lea r9, [rbp + 0x178]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x140181591
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1401815a9
mov rax, qword [rbp + 0x178]
movzx ecx, word [rbp + 0x186]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov rax, rsi
add rsp, 0x208
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rbx, rdx
call fcn.1401a5fbd
mov rdx, rbx
lea rax, [rbp + 0x186]
mov qword [rbp + 0x170], rax
cmp rdi, 0x17f
jbe 0x1401814e5
lea r9, [rbp + 0x170]
mov rcx, rsi
mov r8, rdi
call fcn.1401a6080
jmp 0x1401815b0
Function at 0x140181730
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x60], xmm0
mov dword [rbp + 0x34], 0x80
lea rdx, [rbp - 0x60]
lea r8, [rbp + 0x34]
mov rcx, rax
call qword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x1401817ba
mov eax, dword [rbp + 0x34]
movzx ecx, word [rbp - 0x60]
cmp ecx, 0x17
je 0x1401817ca
cmp ecx, 2
jne 0x140181808
cmp eax, 0xf
jbe 0x140181822
movzx eax, word [rbp - 0x5e]
rol ax, 8
mov ecx, dword [rbp - 0x5c]
mov word [rsi], 0
mov word [rsi + 6], ax
mov dword [rsi + 2], ecx
jmp 0x140181818
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x14018180f
cmp eax, 0x1b
jbe 0x14018183a
movzx eax, word [rbp - 0x5e]
rol ax, 8
mov ecx, dword [rbp - 0x5c]
mov edx, dword [rbp - 0x48]
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rbp + 0x24], xmm0
mov word [rsi], 1
movups xmm0, xmmword [rbp + 0x22]
movups xmmword [rsi + 2], xmm0
movzx r8d, word [rbp + 0x32]
mov word [rsi + 0x12], r8w
mov dword [rsi + 0x14], ecx
mov dword [rsi + 0x18], edx
mov word [rsi + 0x1c], ax
jmp 0x140181818
lea rax, str.invalid_argument_be__
mov qword [rsi + 8], rax
mov word [rsi], 2
add rsp, 0xb8
pop rsi
pop rbp
ret
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in___std_src_sys_common_net.rs
lea r8, [0x140256498]
mov edx, 0x39
call fcn.1401a7380
lea rcx, str.assertion_failed:_len___mem::size_of::_c::sockaddr_in6___
lea r8, str.yd__
mov edx, 0x3a
call fcn.1401a7380
int3
Function at 0x1401995f4
Capabilities:
Encrypt data using curve25519

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

Disassembly:
xor r9d, r9d
test r8, r8
je 0x14019d080
sub rdx, rcx
mov al, byte [rcx + rdx]
xor al, byte [rcx]
inc rcx
or r9b, al
sub r8, 1
jne 0x14019d06f
movzx eax, r9b
ret

Function at 0x14019d1b8
Capabilities:
Encode data using xor

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

Function at 0x14019d65c
Capabilities:
Encode data using xor

Disassembly:
neg r8
mov r9, rcx
mov r11, r8
sub rdx, rcx
not r11
mov r10d, 4
mov rcx, qword [r9 + rdx]
mov rax, qword [r9]
and rcx, r8
and rax, r11
xor rcx, rax
mov qword [r9], rcx
lea r9, [r9 + 8]
sub r10, 1
jne 0x14019d671
ret

Function at 0x14019e168
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rsi, rcx
mov rdi, rdx
mov r15d, 8
sub rsi, r8
mov rbx, r8
mov rdx, r8
mov r8d, r15d
mov r14, rcx
mov rax, qword [rsi + rdx]
xor qword [rdx], rax
add rdx, r15
sub r8, 1
jne 0x14019e19b
cmp rdi, 1
jbe 0x14019e1ee
add rsi, 0x40
lea rbp, [rdi - 1]
mov rcx, rbx
call fcn.14019ea3c
mov rcx, rbx
call fcn.14019e934
call fcn.14019e458
mov rcx, rbx
mov rdx, r15
mov rax, qword [rsi + rcx]
xor qword [rcx], rax
add rcx, r15
sub rdx, 1
jne 0x14019e1d4
add rsi, 0x40
sub rbp, 1
jne 0x14019e1b9
mov rcx, rbx
call fcn.14019ea3c
mov rcx, rbx
call fcn.14019e934
shl rdi, 6
mov rcx, r15
sub rdi, rbx
add rdi, r14
mov rax, qword [rdi + rbx]
xor qword [rbx], rax
add rbx, r15
sub rcx, 1
jne 0x14019e20b
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14019e2c4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
movups xmm0, xmmword [r8]
mov rsi, rcx
lea rcx, [rax - 0x68]
movups xmm1, xmmword [r8 + 0x10]
mov rdi, rdx
movaps xmmword [rax - 0x68], xmm0
movups xmm0, xmmword [r8 + 0x20]
movaps xmmword [rax - 0x58], xmm1
movups xmm1, xmmword [r8 + 0x30]
movaps xmmword [rax - 0x48], xmm0
movaps xmmword [rax - 0x38], xmm1
call fcn.14019ee10
xor ebx, ebx
test rdi, rdi
je 0x14019e442
mov r14d, 0xffff0000
movabs r15, 0xff000000ff00
movabs r12, 0xf000f000f000f0
mov r9, qword [rsp + rbx*8 + 0x40]
mov r8, qword [rsp + rbx*8 + 0x20]
mov rdx, r9
shl rdx, 0x20
mov eax, r8d
or rdx, rax
shr r8, 0x20
mov rcx, rdx
shr rcx, 0x10
xor rcx, rdx
and rcx, r14
mov rax, rcx
shl rax, 0x10
xor rax, rcx
xor rdx, rax
mov rcx, rdx
shr rcx, 8
xor rcx, rdx
and rcx, r15
mov rax, rcx
shl rax, 8
xor rax, rcx
xor rdx, rax
mov rcx, rdx
shr rcx, 4
xor rcx, rdx
and rcx, r12
mov rax, rcx
shl rax, 4
xor rax, rcx
xor rax, rdx
lea rdx, [rsp + 0x98]
mov qword [rsp + 0x98], rax
movabs rax, 0xffffffff00000000
and r9, rax
or r9, r8
mov r8d, 8
mov rcx, r9
shr rcx, 0x10
xor rcx, r9
and rcx, r14
mov rax, rcx
shl rax, 0x10
xor rax, rcx
xor r9, rax
mov rcx, r9
shr rcx, 8
xor rcx, r9
and rcx, r15
mov rax, rcx
shl rax, 8
xor rax, rcx
xor r9, rax
mov rcx, r9
shr rcx, 4
xor rcx, r9
and rcx, r12
mov rax, rcx
shl rax, 4
xor rax, rcx
mov rcx, rsi
xor rax, r9
mov qword [rsp + 0xa0], rax
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsi + 8]
mov r8d, 8
lea rdx, [rsp + 0xa0]
call sub.VCRUNTIME140.dll_memcpy
inc rbx
add rsi, 0x10
cmp rbx, rdi
jb 0x14019e32e
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x14019e6cc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rcx
mov dword [rcx + 0xf0], 0xa
lea rcx, [rsp + 0x20]
call fcn.14019e068
mov r8d, 0x10
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
add rbx, 0x10
mov edi, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14019e9b0
lea rax, [0x14020b340]
xor r9d, r9d
movzx r10d, byte [rdi + rax - 1]
mov rdx, qword [rsp + r9*8 + 0x30]
mov cl, r9b
shl cl, 2
mov rax, rdx
shr rax, 0x10
mov r8, r10
shr r8, cl
movabs rcx, 0xf000000000000
and r8d, 0xf
and rdx, rcx
or rax, rdx
shr rax, 0x24
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 0x14019e728
mov r8d, 0x10
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
inc rdi
add rbx, 0x10
cmp rdi, 0xa
jbe 0x14019e709
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14019e7b8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rdi, rcx
mov dword [rcx + 0xf0], 0xe
lea rcx, [rbp - 0x30]
mov rbx, rdx
call fcn.14019e068
mov esi, 0x10
lea rdx, [rbp - 0x30]
mov r8d, esi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rbx + 0x10]
lea rcx, [rbp - 0x20]
call fcn.14019e068
lea rcx, [rdi + 0x10]
mov r8d, esi
lea rdx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memcpy
add rdi, 0x20
lea ebx, [rsi - 0xe]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x10]
call fcn.14019e9b0
mov rax, rbx
lea rcx, [0x14020b340]
shr rax, 1
xor r9d, r9d
movzx r10d, byte [rax + rcx - 1]
mov rdx, qword [rbp + r9*8 - 0x10]
mov cl, r9b
shl cl, 2
mov rax, rdx
shr rax, 0x10
mov r8, r10
shr r8, cl
movabs rcx, 0xf000000000000
and r8d, 0xf
and rdx, rcx
or rax, rdx
shr rax, 0x24
xor r8, rax
xor r8, qword [rbp + r9*8 - 0x30]
mov rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
mov qword [rbp + r9*8 - 0x30], rax
inc r9
cmp r9, 2
jb 0x14019e843
mov r8, rsi
lea rdx, [rbp - 0x30]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
cmp rbx, 0xe
je 0x14019e91c
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x10]
call fcn.14019e9b0
movdqu xmm0, xmmword [rbp - 0x20]
lea rcx, [rdi + 0x10]
mov r8, rsi
movdqu xmm2, xmmword [rbp - 0x10]
lea rdx, [rbp - 0x20]
psrlq xmm2, 0x30
xorps xmm2, xmm0
movdqa xmm1, xmm2
movdqa xmm0, xmm2
psllq xmm1, 0x10
xorps xmm1, xmm2
psllq xmm0, 0x20
xorps xmm1, xmm0
psllq xmm2, 0x30
xorps xmm1, xmm2
movdqu xmmword [rbp - 0x20], xmm1
call sub.VCRUNTIME140.dll_memcpy
add rbx, 2
add rdi, 0x20
cmp rbx, 0xe
jbe 0x14019e820
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret