joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461940
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4037c3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00409400
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045fb60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x4037a0
cmp byte [0x0062318c], 0
je 0x461955
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45eba0
jmp 0x4037a0

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

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x006234c0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0062318c], 0
je 0x461995
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00623780]
aesenc xmm0, xmmword [0x00623790]
aesenc xmm0, xmmword [0x006237a0]
movq rax, xmm0
ret
jmp 0x409620

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

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x006234c0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0062318c], 0
je 0x4619d6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00623780]
aesenc xmm0, xmmword [0x00623790]
aesenc xmm0, xmmword [0x006237a0]
movq rax, xmm0
ret
jmp 0x409680

Function at 0x4636a0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x4636d4
mov rcx, 0x28
jmp 0x4636df
shl rcx, 3
add rcx, 0x1480
mov qword [0x006233e0], rcx
pop rbp
ret
Function at 0x47f500
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47f5ca
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.004036c0
xorps xmm15, xmm15
mov r14, qword [0x006233e0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47f5af
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004d92a0]
xor ebx, ebx
mov rcx, rdx
call fcn.004482a0
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00480060
inc rbx
cmp rcx, rbx
jae 0x47f59e
mov edi, 1
lea rsi, [0x004d92a0]
call fcn.00448380
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x00527140]
lea rsi, [0x005268d0]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045fb60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0047f500
Function at 0x4aa120
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
movd xmm0, dword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movdqu xmm1, xmmword [rsi]
movdqu xmm2, xmmword [rsi + 0x10]
movdqu xmm3, xmmword [rsi + 0x20]
movdqu xmm4, xmmword [rsi + 0x30]
pxor xmm1, xmm0
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jb 0x4aa1f5
movdqa xmm0, xmmword [0x00526a50]
movdqa xmm5, xmm1
movdqa xmm6, xmm2
movdqa xmm7, xmm3
movdqa xmm8, xmm4
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm2, xmm0, 0
pclmulqdq xmm3, xmm0, 0
pclmulqdq xmm4, xmm0, 0
movdqu xmm11, xmmword [rsi]
movdqu xmm12, xmmword [rsi + 0x10]
movdqu xmm13, xmmword [rsi + 0x20]
movdqu xmm14, xmmword [rsi + 0x30]
pclmulqdq xmm5, xmm0, 0x11
pclmulqdq xmm6, xmm0, 0x11
pclmulqdq xmm7, xmm0, 0x11
pclmulqdq xmm8, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm2, xmm6
pxor xmm3, xmm7
pxor xmm4, xmm8
pxor xmm1, xmm11
pxor xmm2, xmm12
pxor xmm3, xmm13
pxor xmm4, xmm14
add rdi, 0x40
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jge 0x4aa161
movdqa xmm0, xmmword [0x00526a60]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm2
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm3
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm4
cmp rcx, 0x10
jb 0x4aa277
movdqu xmm10, xmmword [rsi]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm10
sub rcx, 0x10
add rsi, 0x10
cmp rcx, 0x10
jge 0x4aa24b
pcmpeqb xmm3, xmm3
pclmulqdq xmm0, xmm1, 1
psrldq xmm1, 8
pxor xmm1, xmm0
movdqa xmm2, xmm1
movq xmm0, qword [0x005268c8]
psrlq xmm3, 0x20
psrldq xmm2, 4
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
movdqa xmm0, xmmword [0x00526a70]
movdqa xmm2, xmm1
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0x10
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
pextrd eax, xmm1, 1
mov dword [rsp + 0x28], eax
ret
Function at 0x4ab260
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4ab49b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x58], rax
nop
call fcn.004aade0
xorps xmm15, xmm15
mov r14, qword [0x006233e0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
add qword [rcx + 0x68], rax
mov rdx, qword [rcx + 0x60]
test rdx, rdx
jle 0x4ab3aa
nop dword [rax]
cmp rdx, 0x40
ja 0x4ab48d
lea rsi, [rdx - 0x40]
mov rdi, rsi
neg rsi
sar rdi, 0x3f
and rdi, rdx
lea rdx, [rcx + rdi]
lea rdx, [rdx + 0x20]
cmp rax, rsi
cmovl rsi, rax
mov qword [rsp + 0x28], rsi
mov rbx, qword [rsp + 0x60]
cmp rbx, rdx
je 0x4ab319
mov rax, rdx
mov rcx, rsi
nop
call fcn.00462780
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
mov rdx, qword [rcx + 0x60]
add rdx, rsi
mov qword [rcx + 0x60], rdx
cmp rdx, 0x40
jne 0x4ab381
mov qword [rsp], rcx
lea rax, [rcx + 0x20]
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 0x40
mov qword [rsp + 0x18], 0x40
call fcn.004ab8e0
xorps xmm15, xmm15
mov r14, qword [0x006233e0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x60], 0
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
cmp rax, rsi
jb 0x4ab482
mov rdi, qword [rsp + 0x70]
sub rdi, rsi
mov rdx, rdi
neg rdx
sar rdx, 0x3f
and rdx, rsi
mov r8, rax
sub r8, rsi
add rbx, rdx
jmp 0x4ab3b7
mov r8, rax
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
cmp r8, 0x40
jl 0x4ab435
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x40], rbx
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
and r8, 0xffffffffffffffc0
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], rdi
call fcn.004ab8e0
xorps xmm15, xmm15
mov r14, qword [0x006233e0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
mov rdx, rax
sub rax, rcx
sar rax, 0x3f
mov r8, qword [rsp + 0x30]
and rax, r8
and rax, 0xffffffffffffffc0
mov rcx, qword [rsp + 0x40]
lea rbx, [rcx + rax]
sub r8, rdx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
test r8, r8
je 0x4ab478
lea rdx, [rcx + 0x20]
cmp r8, 0x40
mov esi, 0x40
cmovl rsi, r8
cmp rbx, rdx
je 0x4ab474
mov qword [rsp + 0x38], rsi
mov rax, rdx
mov rcx, rsi
nop dword [rax + rax]
call fcn.00462780
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x38]
mov qword [rcx + 0x60], rsi
xor ebx, ebx
xor ecx, ecx
add rsp, 0x48
pop rbp
ret
mov rcx, rax
mov rax, rsi
call fcn.00461ea0
mov rax, rdx
mov ecx, 0x40
call fcn.00461ea0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045fb60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004ab260
Function at 0x4ba1c0
Capabilities:
Execute syscall

Disassembly:
xor rax, rax
mov ax, word [rsp + 8]
push rcx
mov rcx, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x18]
mov rdi, qword gs:[0x30]
mov dword [rdi + 0x68], 0
sub rsp, 0x80
cmp ecx, 4
jle 0x4ba200
cmp ecx, 0x10
jle 0x4ba1f6
int 3
mov rdi, rsp
cld
rep movsq qword [rdi], qword [rsi]
mov rsi, rsp
sub rsp, 8
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
mov r9, qword [rsi + 0x18]
movq xmm0, rcx
movq xmm1, rdx
movq xmm2, r8
movq xmm3, r9
mov r10, rcx
syscall
add rsp, 0x88
pop rcx
mov dword [rsp + 0x28], eax
ret
Function at 0x4bc380
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4bc397
inc rax
cmp rax, 4
jge 0x4bc3af
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4bc394
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4bc3c0
inc rax
cmp rax, 4
jge 0x4bc3ce
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4bc3f7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4bc3db
jmp 0x4bc3bd
Function at 0x4cab40
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x20]
cmp r12, qword [r14 + 0x10]
jbe 0x4cadd9
push rbp
mov rbp, rsp
sub rsp, 0x98
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xa8], rax
nop
lea rax, [0x004ed280]
call fcn.0040ce60
mov qword [rsp + 0x70], rax
mov qword [rax + 8], 9
lea rcx, [0x004fb438]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x004ed280]
call fcn.0040ce60
mov qword [rsp + 0x68], rax
mov qword [rax + 8], 8
lea rcx, [0x004fb1e8]
mov qword [rax], rcx
mov byte [rax + 0x10], 1
nop
lea rax, [0x004ed1c0]
call fcn.0040ce60
cmp dword [0x00623450], 0
jne 0x4cabd7
mov rcx, qword [rsp + 0x70]
jmp 0x4cabe4
call fcn.00461a60
mov rcx, qword [rsp + 0x70]
mov qword [r11], rcx
mov qword [rsp + 0x60], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xd
lea rcx, [0x004fc268]
mov qword [rax], rcx
nop
lea rax, [0x004ed1c0]
call fcn.0040ce60
cmp dword [0x00623450], 0
jne 0x4cac20
mov rcx, qword [rsp + 0x68]
jmp 0x4cac2d
call fcn.00461a60
mov rcx, qword [rsp + 0x68]
mov qword [r11], rcx
mov qword [rsp + 0x58], rax
mov qword [rax + 0x18], rcx
mov qword [rax + 8], 0xc
lea rcx, [0x004fbdd0]
mov qword [rax], rcx
mov qword [rsp + 0x50], 0
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rcx
lea rax, [0x004da020]
call fcn.0040ce60
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], 0x3000
mov qword [rax + 0x18], 0x40
mov rbx, rax
mov edi, 4
mov rax, qword [rsp + 0x58]
mov rcx, rdi
call fcn.004bf7c0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
jbe 0x4cadce
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x90], rcx
lea rax, [0x004d9fc0]
call fcn.0040ce60
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x90]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0xb0]
mov qword [rax + 0x10], rcx
mov rbx, rax
mov ecx, 3
mov rdi, rcx
mov rax, qword [rsp + 0x60]
nop dword [rax]
call fcn.004bf7c0
movzx ecx, word [0x006231a4]
mov word [rsp + 0x3e], cx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x88], rdx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x80], rdx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x78], rdx
lea rax, [0x004da080]
nop dword [rax]
call fcn.0040ce60
mov qword [rax], 0xffffffffffffffff
mov rcx, qword [rsp + 0x88]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0x20
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x20], rcx
movzx ecx, word [rsp + 0x3e]
mov word [rsp], cx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 5
mov qword [rsp + 0x18], 5
call fcn.004ba1c0
xorps xmm15, xmm15
mov r14, qword [0x006233e0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x48]
xor ebx, ebx
mov rcx, rbx
mov rdi, rcx
mov rsi, rcx
nop dword [rax]
call fcn.0045e4a0
add rsp, 0x98
pop rbp
ret
xor eax, eax
mov rcx, rax
call fcn.00461de0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045fb60
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop dword [rax]
jmp fcn.004cab40
Function at 0x4cae20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea r12, [rsp - 0x98]
cmp r12, qword [r14 + 0x10]
jbe 0x4cafde
push rbp
mov rbp, rsp
sub rsp, 0x110
movups xmmword [rsp + 0xd0], xmm15
movups xmmword [rsp + 0xe0], xmm15
movups xmmword [rsp + 0xf0], xmm15
movups xmmword [rsp + 0x100], xmm15
mov qword [rsp + 0x21], 0
mov qword [rsp + 0x22], 0
mov byte [rsp + 0x21], 0x6e
movabs rdx, 0x6c6c642e6c6c6474
mov qword [rsp + 0x22], rdx
lea rax, [rsp + 0x50]
lea rbx, [rsp + 0x21]
mov ecx, 9
call fcn.0044c3e0
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x36], 0
mov qword [rsp + 0x3a], 0
mov dword [rsp + 0x36], 0x6e72656b
movabs rdx, 0x6c6c642e32336c65
mov qword [rsp + 0x3a], rdx
lea rax, [rsp + 0xb0]
lea rbx, [rsp + 0x36]
mov ecx, 0xc
call fcn.0044c3e0
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x42], 0
mov qword [rsp + 0x48], 0
mov word [rsp + 0x42], 0x656b
mov dword [rsp + 0x44], 0x6c656e72
movabs rdx, 0x6c6c642e65736162
mov qword [rsp + 0x48], rdx
lea rax, [rsp + 0x90]
lea rbx, [rsp + 0x42]
mov ecx, 0xe
nop dword [rax]
call fcn.0044c3e0
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x2a], 0
mov qword [rsp + 0x2e], 0
mov dword [rsp + 0x2a], 0x61766461
movabs rdx, 0x6c6c642e32336970
mov qword [rsp + 0x2e], rdx
lea rax, [rsp + 0x70]
lea rbx, [rsp + 0x2a]
mov ecx, 0xc
call fcn.0044c3e0
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0x100], rax
xor eax, eax
jmp 0x4cafcf
mov qword [rsp + 0x18], rax
shl rax, 4
mov rdx, qword [rsp + rax + 0xd0]
mov rbx, qword [rsp + rax + 0xd8]
mov rax, rdx
call fcn.004cb000
mov rax, qword [rsp + 0x18]
inc rax
cmp rax, 4
jl 0x4cafa6
add rsp, 0x110
pop rbp
ret
nop
call fcn.0045fb60
jmp fcn.004cae20
Function at 0x140005870
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1400b6f80]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
xor edi, edi
lea rcx, [rsp + 0x41]
xor edx, edx
mov r8d, 0x1ff
mov dword [rsp + 0x30], edi
mov byte [rsp + 0x40], dil
call fcn.1400717b0
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8023
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov qword [rbx + 0x20], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x18], rdi
mov byte [rbx + 8], dil
test eax, eax
jne 0x140005901
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
lea rdx, [rsp + 0x40]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.140004840
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14006d1b0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x14000c920
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x1400b6f80]
xor rax, rsp
mov qword [rsp + 0x150], rax
movsxd rbx, dword [rsp + 0x1c0]
mov rdi, qword [rsp + 0x1c8]
mov r12, qword [rsp + 0x1d0]
mov eax, ebx
mov esi, reloc.WS2_32.dll_recv
mov r15, r9
cdq
mov rbp, r8
mov r14, rcx
and edx, 0xf
add eax, edx
and eax, 0xf
sub eax, edx
sub sil, al
movzx r13d, sil
lea eax, [r13 + rbx]
mov dword [r12], eax
test rdi, rdi
jne 0x14000c99b
mov eax, 1
jmp 0x14000cb1f
movsxd rcx, eax
call fcn.14006efe4
mov qword [rsp + 0x140], rax
test rax, rax
je 0x14000c991
mov r8, rbx
mov rdx, r15
mov rcx, rax
call fcn.14006ecb0
mov r15, qword [rsp + 0x140]
movzx r8d, sil
lea rcx, [rbx + r15]
mov edx, r13d
call fcn.1400717b0
mov esi, 0x120
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
call fcn.1400717b0
lea r8d, [rsi - 0x20]
lea rcx, [rsp + 0x20]
mov rdx, r14
call fcn.14001d4d0
mov r13d, eax
test eax, eax
jne 0x14000caff
mov rax, qword [rbp]
lea rcx, [rsp + 0x140]
mov qword [rcx], rax
mov rax, qword [rbp + 8]
movsxd rbp, dword [r12]
mov qword [rcx + 8], rax
test bpl, 0xf
je 0x14000ca32
mov r13d, 0xffffffde
jmp 0x14000caff
xor r13d, r13d
test rbp, rbp
je 0x14000caff
lea rax, [rsp + 0x140]
mov rbx, rdi
mov r12, r15
sub rbx, rax
sub r12, rdi
dec rbp
shr rbp, 4
inc rbp
nop dword [rax]
lea r9, [r12 + rdi]
mov rdx, r13
lea r8, [rdi + 1]
mov r10, r9
lea r11, [rbx + r12]
sub r10, rdi
nop word [rax + rax]
lea rcx, [rsp + rdx + 0x140]
add rdx, 4
add r8, 4
movzx eax, byte [r11 + rcx]
xor al, byte [rcx]
mov byte [rbx + rcx], al
movzx eax, byte [r10 + r8 - 4]
xor al, byte [rcx + 1]
mov byte [r8 - 4], al
movzx eax, byte [r9 + rdx - 2]
xor al, byte [rcx + 2]
mov byte [r8 - 3], al
movzx eax, byte [r9 + rdx - 1]
xor al, byte [rcx + 3]
cmp rdx, 0x10
mov byte [r8 - 2], al
jl 0x14000ca80
lea rcx, [rsp + 0x20]
mov r8, rdi
mov rdx, rdi
call fcn.14001dd90
mov rax, qword [rdi]
lea r11, [rsp + 0x140]
mov qword [r11], rax
mov rax, qword [rdi + 8]
add rdi, 0x10
add rbx, 0x10
sub rbp, 1
mov qword [r11 + 8], rax
jne 0x14000ca60
mov rcx, r15
call fcn.14006d598
lea rax, [rsp + 0x20]
nop dword [rax]
mov byte [rax], 0
inc rax
sub rsi, 1
jne 0x14000cb10
mov eax, r13d
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14006d1b0
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000cb50
Capabilities:
Encode data using xor

Disassembly:
push rbx
push r12
push r13
push r15
sub rsp, 0x188
mov rax, qword [0x1400b6f80]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x1d8]
mov r13, qword [rsp + 0x1d0]
mov r10, rdx
mov qword [rsp + 0x20], rax
movsxd r12, r9d
mov r15, r8
mov eax, r12d
mov rbx, rcx
cdq
and edx, 0xf
add eax, edx
and eax, 0xf
cmp eax, edx
je 0x14000cbac
mov eax, 1
jmp 0x14000cc2f
mov rax, qword [r10]
lea rcx, [rsp + 0x150]
mov qword [rsp + 0x1c0], rsi
mov qword [rcx], rax
mov rax, qword [r10 + 8]
mov esi, 0x120
mov qword [rcx + 8], rax
lea rcx, [rsp + 0x30]
mov r8, rsi
xor edx, edx
mov qword [rsp + 0x180], r14
call fcn.1400717b0
lea r8d, [rsi - 0x20]
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.14001db20
mov r11d, eax
test eax, eax
jne 0x14000cc0b
mov rbx, r13
test r12b, 0xf
je 0x14000cc4e
lea r11d, [rax - 0x22]
lea rax, [rsp + 0x30]
mov byte [rax], 0
inc rax
sub rsi, 1
jne 0x14000cc10
mov eax, r11d
mov rsi, qword [rsp + 0x1c0]
mov r14, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14006d1b0
add rsp, 0x188
pop r15
pop r13
pop r12
pop rbx
ret
mov qword [rsp + 0x1b8], rbp
mov qword [rsp + 0x1c8], rdi
lea rbp, [r12 - 1]
lea rdi, [rsp + 0x151]
shr rbp, 4
sub r15, r13
sub rdi, r13
inc rbp
nop dword [rax + rax]
mov rax, qword [r15 + rbx]
lea rdx, [r15 + rbx]
lea rcx, [rsp + 0x160]
mov qword [rcx], rax
mov rax, qword [rdx + 8]
mov r8, rbx
mov qword [rcx + 8], rax
lea rcx, [rsp + 0x30]
call fcn.14001e390
mov ecx, 4
nop dword [rax]
movzx eax, byte [rdi + rbx - 1]
add rbx, 4
xor byte [rbx - 4], al
movzx eax, byte [rdi + rbx - 4]
xor byte [rbx - 3], al
movzx eax, byte [rdi + rbx - 3]
xor byte [rbx - 2], al
movzx eax, byte [rdi + rbx - 2]
xor byte [rbx - 1], al
sub rcx, 1
jne 0x14000ccb0
movaps xmm0, xmmword [rsp + 0x160]
sub rdi, 0x10
sub rbp, 1
movdqa xmmword [rsp + 0x150], xmm0
jne 0x14000cc80
movzx edx, byte [r12 + r13 - 1]
mov rdi, qword [rsp + 0x1c8]
mov rbp, qword [rsp + 0x1b8]
lea rax, [r12 + r13 - 1]
xor r11d, r11d
test dl, dl
je 0x14000cd46
cmp dl, 0x10
ja 0x14000cd46
movzx r8d, dl
mov ecx, r11d
test r8d, r8d
jle 0x14000cd36
cmp byte [rax], dl
jne 0x14000cd46
inc ecx
dec rax
cmp ecx, r8d
jl 0x14000cd28
mov rax, qword [rsp + 0x20]
sub r12d, r8d
mov dword [rax], r12d
jmp 0x14000cc0b
mov eax, 1
jmp 0x14000cc1f

Function at 0x14000dfe0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rdx, [0x1400a312c]
mov rcx, qword [rsp + 0x50]
call fcn.14006fd18
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14000e073
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14000df80
mov r8d, dword [rsp + 0x60]
mov r9, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0x58]
call fcn.14006e18c
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x60]
cmp qword [rsp + 0x28], rax
je 0x14000e053
mov dword [rsp + 0x3c], 1
jmp 0x14000e05b
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x30]
call fcn.14000dfa0
mov eax, dword [rsp + 0x38]
jmp 0x14000e078
mov eax, 1
add rsp, 0x48
ret
Function at 0x14000e080
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0xa0
mov qword [rsp + 0x98], 0xfffffffffffffffe
lea rdx, [0x1400a457c]
mov rcx, qword [rsp + 0xb0]
call fcn.14006fd18
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14000e182
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.14000df80
nop
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x20]
call fcn.14006e2e4
mov rcx, qword [rsp + 0x20]
call fcn.140070224
mov dword [rsp + 0x30], eax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x20]
call fcn.14006e2e4
cmp dword [rsp + 0x30], 0
jle 0x14000e15d
movsxd rdx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xb8]
call fcn.14000dc90
movsxd rbx, dword [rsp + 0x30]
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call fcn.140006dd0
mov r9, qword [rsp + 0x20]
mov r8, rbx
mov edx, 1
mov rcx, rax
call fcn.140070040
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xb8]
call fcn.14000dc90
jmp 0x14000e16a
mov rcx, qword [rsp + 0xb8]
call fcn.14000e190
mov dword [rsp + 0x40], 0
lea rcx, [rsp + 0x28]
call fcn.14000dfa0
mov eax, dword [rsp + 0x40]
jmp 0x14000e187
mov eax, 1
add rsp, 0xa0
pop rbx
ret