Function at 0x18001f350
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xa8
mov rax, qword [0x180067048]
xor rax, rsp
mov qword [rbp + 7], rax
mov rax, qword [rbp + 0x7f]
mov rbx, r8
mov r14, rcx
mov qword [rbp - 0x61], rcx
xor esi, esi
mov qword [rbp - 0x41], rbx
mov rcx, r8
mov qword [rbp - 0x51], rax
mov r15d, esi
mov qword [rbp - 0x59], r9
mov r12, rdx
mov qword [rbp - 0x49], rdx
call fcn.180040c80
mov r13d, 0x20
mov qword [rbp - 0x71], rax
cmp rbx, r13
lea rcx, [rbp - 0x29]
mov rdx, r12
mov rdi, rax
cmovb r13, rbx
mov r8, r13
call fcn.180038e30
cmp r13, 0x20
jae 0x18001f493
lea rbx, [r13 - 0x10]
mov r8, r14
lea rcx, [rbp - 0x29]
add rcx, rbx
mov rdx, rcx
call fcn.18001b530
test rbx, rbx
je 0x18001f471
cmp rbx, 0x40
jb 0x18001f457
mov rax, rbx
and rax, 0xffffffffffffffc0
nop
movdqu xmm2, xmmword [rbp + rsi - 0x19]
movdqu xmm1, xmmword [rbp + rsi - 9]
movdqu xmm0, xmmword [rbp + rsi - 0x29]
pxor xmm0, xmm2
movdqu xmmword [rbp + rsi - 0x29], xmm0
movdqa xmm0, xmm1
pxor xmm0, xmm2
movdqu xmmword [rbp + rsi - 0x19], xmm0
movdqu xmm2, xmmword [rbp + rsi + 7]
movdqa xmm0, xmm2
pxor xmm0, xmm1
movdqu xmm1, xmmword [rbp + rsi + 0x17]
movdqu xmmword [rbp + rsi - 9], xmm0
pxor xmm1, xmm2
movdqu xmmword [rbp + rsi + 7], xmm1
add rsi, 0x40
cmp rsi, rax
jb 0x18001f400
cmp rsi, rbx
jae 0x18001f471
nop dword [rax]
movzx eax, byte [rbp + rsi - 0x19]
xor byte [rbp + rsi - 0x29], al
inc rsi
cmp rsi, rbx
jb 0x18001f460
mov r8, rbx
lea rdx, [rbp - 0x29]
mov rcx, rdi
call fcn.180038e30
mov rcx, qword [rbp - 0x59]
mov rax, qword [rbp - 0x51]
mov qword [rcx], rdi
mov qword [rax], rbx
jmp 0x18001f6e1
lea rax, [rbp - 0x19]
mov r12d, reloc.WS2_32.dll_recv
mov qword [rbp - 0x69], rax
lea r14, [rbp - 0x29]
lea rdi, [rbp - 9]
nop dword [rax]
mov rdx, qword [rbp - 0x49]
mov rax, rbx
sub rax, r13
mov ebx, reloc.WS2_32.dll_recv
cmp rax, rbx
mov rcx, rdi
cmovb rbx, rax
add rdx, r13
mov r8, rbx
call fcn.180038e30
mov r8, qword [rbp - 0x61]
lea rdx, [rbp - 0x39]
mov rcx, qword [rbp - 0x69]
add r13, rbx
call fcn.18001b530
test rbx, 0xffffffffffffffef
je 0x18001f646
mov r12, rbx
mov rax, rsi
test rbx, rbx
je 0x18001f5b6
cmp rbx, 0x40
jb 0x18001f590
lea rcx, [rdi - 1]
add rcx, rbx
lea r8, [rbp - 0x39]
lea rdx, [rbp + rbx - 0x3a]
cmp r8, rcx
ja 0x18001f528
cmp rdx, rdi
jae 0x18001f590
mov rcx, rbx
and rcx, 0xffffffffffffffc0
nop
movdqu xmm0, xmmword [rbp + rax - 0x39]
movdqu xmm1, xmmword [rdi + rax]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x39], xmm1
movdqu xmm0, xmmword [rbp + rax - 0x29]
movdqu xmm1, xmmword [rdi + rax + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x29], xmm1
movdqu xmm0, xmmword [rbp + rax - 0x19]
movdqu xmm1, xmmword [rdi + rax + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x19], xmm1
movdqu xmm0, xmmword [rbp + rax - 9]
movdqu xmm1, xmmword [rdi + rax + 0x30]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 9], xmm1
add rax, 0x40
cmp rax, rcx
jb 0x18001f530
cmp rax, rbx
jae 0x18001f5b6
lea rcx, [rbp - 0x39]
mov r8, rdi
sub r8, rcx
nop
lea rdx, [rbp - 0x39]
add rdx, rax
inc rax
movzx ecx, byte [rdx + r8]
xor byte [rdx], cl
cmp rax, rbx
jb 0x18001f5a0
cmp rbx, 0x10
jae 0x18001f5d5
lea rdx, [rbp - 0x39]
mov r8d, reloc.WS2_32.dll_recv
add rdx, rbx
lea rcx, [rdi + rbx]
sub r8, rbx
call fcn.180038e30
mov r8, qword [rbp - 0x61]
mov rdx, rdi
mov rcx, rdi
call fcn.18001b530
lea rax, [r14 + 0xf]
lea rcx, [rdi + 0xf]
cmp rdi, rax
ja 0x18001f623
cmp rcx, r14
jb 0x18001f623
mov r8, r14
mov rcx, rdi
sub r8, rdi
mov edx, reloc.WS2_32.dll_recv
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x18001f610
jmp 0x18001f634
movdqu xmm0, xmmword [rdi]
movdqu xmm1, xmmword [r14]
pxor xmm1, xmm0
movdqu xmmword [rdi], xmm1
mov rax, qword [rbp - 0x71]
movups xmm0, xmmword [rdi]
movups xmmword [rax + r15], xmm0
add r15, 0x10
jmp 0x18001f6a0
lea rax, [r14 + 0xf]
mov rdx, rsi
lea rcx, [rbp - 0x39]
cmp rcx, rax
ja 0x18001f689
lea rax, [rbp - 0x2a]
cmp rax, r14
jb 0x18001f689
lea rax, [rbp - 0x39]
mov r8, r14
sub r8, rax
nop dword [rax]
lea rcx, [rbp - 0x39]
add rcx, rdx
inc rdx
movzx eax, byte [rcx + r8]
xor byte [rcx], al
cmp rdx, 0x10
jb 0x18001f670
jmp 0x18001f69c
movdqu xmm0, xmmword [rbp - 0x39]
movdqu xmm1, xmmword [r14]
pxor xmm1, xmm0
movdqu xmmword [rbp - 0x39], xmm1
mov rax, qword [rbp - 0x71]
lea rcx, [rax + r15]
mov r8, r12
lea rdx, [rbp - 0x39]
call fcn.180038e30
mov rax, r14
add r15, r12
mov r14, qword [rbp - 0x69]
cmp rbx, 0x10
mov rbx, qword [rbp - 0x41]
mov qword [rbp - 0x69], rdi
mov rdi, rax
je 0x18001f4b0
mov rax, qword [rbp - 0x71]
mov rcx, qword [rbp - 0x59]
mov qword [rcx], rax
mov rax, qword [rbp - 0x51]
mov qword [rax], r15
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1800377f0
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret