Function at 0x140017e90
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x278]
sub rsp, 0x378
mov rax, qword [0x140066010]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov qword [rsp + 0x20], rcx
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
cmp r8, 0x180
jbe 0x140017ed6
mov eax, 0xffffffc8
jmp 0x14001820a
mov qword [rsp + 0x370], r13
lea rcx, [rbp + 0xb0]
xor edx, edx
mov qword [rsp + 0x368], r14
mov r8d, 0x1a0
call fcn.1400367b0
mov eax, edi
mov byte [rbp + 0xc7], 0x30
bswap eax
mov r8, rdi
mov dword [rbp + 0xc0], eax
mov rdx, rbx
lea rcx, [rbp + 0xc8]
call fcn.140037460
xor r14d, r14d
mov byte [rbp + rdi + 0xc8], pe_nt_image_headers64
mov eax, r14d
lea r13, [rdi + 0x19]
lea rcx, [rbp + 0x90]
nop word [rax + rax]
mov byte [rcx], al
lea rcx, [rcx + 1]
inc eax
cmp eax, 0x20
jl 0x140017f40
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x120
call fcn.1400367b0
mov r8d, 0x100
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.14001a720
mov edx, eax
mov r10d, reloc.WS2_32.dll_recv
test eax, eax
jne 0x1400181ac
mov qword [rsp + 0x3b8], r12
movzx r12d, byte [rbp + 0xb3]
mov qword [rsp + 0x360], r15
mov r15, r14
xorps xmm0, xmm0
mov rbx, r13
movups xmmword [rbp + 0x50], xmm0
test r13, r13
je 0x140018115
lea rsi, [rbp + 0x50]
lea rax, [rbp + 0xb0]
sub rsi, rax
lea rdi, [rbp + 0xbf]
nop dword [rax]
mov rax, r14
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rdi + rax - 0xf]
xor qword [rbp + rax + 0x50], rcx
add rax, 8
lea rcx, [rax + 8]
cmp rcx, 0x10
jbe 0x140017fe0
mov rdx, r10
sub rdx, rax
cmp rax, 0x10
jae 0x1400180d0
cmp rdx, 0x40
jb 0x1400180b0
lea r9, [rax - 0xf]
lea rcx, [rbp + 0x50]
add r9, rdi
add rcx, rax
cmp rcx, rdi
ja 0x140018032
lea rcx, [rbp + 0x5f]
cmp rcx, r9
jae 0x1400180b0
and edx, 0x3f
mov r8, r10
sub r8, rdx
lea rcx, [r9 + 0x20]
nop
movdqu xmm0, xmmword [rcx + rsi - 0x20]
add rax, 0x40
movdqu xmm1, xmmword [rcx - 0x20]
lea rcx, [rcx + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rcx + rsi - 0x60], xmm1
movdqu xmm0, xmmword [rcx + rsi - 0x50]
movdqu xmm1, xmmword [rcx - 0x50]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmmword [rcx + rsi - 0x50], xmm1
movdqu xmm1, xmmword [rcx + rsi - 0x40]
pxor xmm1, xmm0
movdqu xmmword [rcx + rsi - 0x40], xmm1
movdqu xmm0, xmmword [rcx + rsi - 0x30]
movdqu xmm1, xmmword [rcx - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx + rsi - 0x30], xmm1
cmp rax, r8
jb 0x140018040
cmp rax, 0x10
jae 0x1400180d0
nop word [rax + rax]
lea rdx, [rbp + 0x50]
add rdx, rax
lea r8, [rbp + 0x5f]
mov rcx, rdx
inc rax
sub rcx, r8
movzx ecx, byte [rcx + rdi]
xor byte [rdx], cl
cmp rax, 0x10
jb 0x1400180b0
mov rax, rbx
lea r8, [rbp + 0x50]
add rdi, 0x10
lea rdx, [rbp + 0x50]
sub rsi, 0x10
lea rcx, [rsp + 0x30]
cmp rbx, 0x10
cmovae rax, r10
sub rbx, rax
call fcn.14001b1b0
mov edx, eax
mov r10d, reloc.WS2_32.dll_recv
test eax, eax
jne 0x140018225
test rbx, rbx
jne 0x140017fd0
movups xmm0, xmmword [rbp + 0x50]
inc r12b
movups xmmword [rbp + r15 + 0x60], xmm0
add r15, 0x10
mov byte [rbp + 0xb3], r12b
cmp r15, 0x30
jl 0x140017fa1
mov r8d, 0x100
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14001a720
mov rsi, qword [rsp + 0x20]
mov edx, eax
test eax, eax
jne 0x140018196
mov rdi, rsi
nop word [rax + rax]
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.14001b1b0
mov edx, eax
test eax, eax
jne 0x140018196
movups xmm0, xmmword [rbp + 0x80]
add r14d, 0x10
movups xmmword [rdi], xmm0
add rdi, 0x10
cmp r14d, 0x30
jl 0x140018160
mov r10d, reloc.WS2_32.dll_recv
mov r12, qword [rsp + 0x3b8]
mov r15, qword [rsp + 0x360]
mov r14, qword [rsp + 0x368]
lea rdi, [rsp + 0x30]
mov r13, qword [rsp + 0x370]
xor eax, eax
mov ecx, 0x120
rep stosb byte [rdi], al
lea rdi, [rbp + 0xb0]
mov ecx, 0x1a0
rep stosb byte [rdi], al
lea rdi, [rbp + 0x60]
mov ecx, 0x30
rep stosb byte [rdi], al
lea rdi, [rbp + 0x90]
mov ecx, 0x20
rep stosb byte [rdi], al
lea rdi, [rbp + 0x50]
mov rcx, r10
rep stosb byte [rdi], al
test edx, edx
je 0x140018208
mov rdi, rsi
mov ecx, 0x30
rep stosb byte [rdi], al
mov eax, edx
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1400354e0
add rsp, 0x378
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rsi, qword [rsp + 0x20]
jmp 0x14001819c