Function at 0x180089380
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1801772b8]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov r15, qword [rbp + 0x60]
mov rbx, r8
mov r13, qword [rbp + 0x68]
mov r12, r9
mov qword [rbp - 0x40], rbx
mov rdi, rdx
mov r14, rcx
cmp r8, 0x10
jae 0x1800893c6
xor eax, eax
jmp 0x180089636
mov qword [rsp + 0x68], rsi
mov rsi, rbx
and esi, 0xf
jne 0x1800893ea
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
call sym.version.dll_CRYPTO_cbc128_decrypt
mov rax, rbx
jmp 0x180089631
mov rax, 0xfffffffffffffff0
sub rax, rsi
add rbx, rax
je 0x180089411
mov qword [rsp + 0x28], r13
mov r8, rbx
mov qword [rsp + 0x20], r15
call sym.version.dll_CRYPTO_cbc128_decrypt
add r14, rbx
add rdi, rbx
lea rbx, [r14 + rsi]
mov r8, r12
mov rcx, rbx
lea rdx, [rbp - 0x28]
call r13
movups xmm0, xmmword [rbp - 0x28]
mov r8, rsi
lea rcx, [rbp - 0x38]
mov rdx, r14
movups xmmword [rbp - 0x38], xmm0
call fcn.1800d7020
mov r8, r12
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x38]
call r13
movzx ecx, byte [r14]
movzx eax, byte [rbp - 0x38]
xor al, byte [r15]
mov byte [rdi], al
movzx eax, byte [rbx]
mov byte [r15], al
movzx eax, byte [r15 + 1]
xor al, byte [rbp - 0x37]
mov byte [rbp - 0x38], cl
movzx ecx, byte [r14 + 1]
mov byte [rdi + 1], al
movzx eax, byte [rbx + 1]
mov byte [r15 + 1], al
movzx eax, byte [rbp - 0x36]
xor al, byte [r15 + 2]
mov byte [rbp - 0x37], cl
movzx ecx, byte [r14 + 2]
mov byte [rdi + 2], al
movzx eax, byte [rbx + 2]
mov byte [r15 + 2], al
movzx eax, byte [r15 + 3]
xor al, byte [rbp - 0x35]
mov byte [rbp - 0x36], cl
movzx ecx, byte [r14 + 3]
mov byte [rdi + 3], al
movzx eax, byte [rbx + 3]
mov byte [r15 + 3], al
movzx eax, byte [rbp - 0x34]
xor al, byte [r15 + 4]
mov byte [rbp - 0x35], cl
movzx ecx, byte [r14 + 4]
mov byte [rdi + 4], al
movzx eax, byte [rbx + 4]
mov byte [r15 + 4], al
movzx eax, byte [r15 + 5]
xor al, byte [rbp - 0x33]
mov byte [rbp - 0x34], cl
movzx ecx, byte [r14 + 5]
mov byte [rdi + 5], al
movzx eax, byte [rbx + 5]
mov byte [r15 + 5], al
movzx eax, byte [rbp - 0x32]
xor al, byte [r15 + 6]
mov byte [rbp - 0x33], cl
movzx ecx, byte [r14 + 6]
mov byte [rdi + 6], al
movzx eax, byte [rbx + 6]
mov byte [r15 + 6], al
movzx eax, byte [r15 + 7]
xor al, byte [rbp - 0x31]
mov byte [rbp - 0x32], cl
movzx ecx, byte [r14 + 7]
mov byte [rdi + 7], al
movzx eax, byte [rbx + 7]
mov byte [r15 + 7], al
movzx eax, byte [rbp - 0x30]
xor al, byte [r15 + 8]
mov byte [rbp - 0x31], cl
movzx ecx, byte [r14 + 8]
mov byte [rdi + 8], al
movzx eax, byte [rbx + 8]
mov byte [r15 + 8], al
movzx eax, byte [r15 + 9]
xor al, byte [rbp - 0x2f]
mov byte [rbp - 0x30], cl
movzx ecx, byte [r14 + 9]
mov byte [rdi + 9], al
movzx eax, byte [rbx + 9]
mov byte [r15 + 9], al
movzx eax, byte [rbp - 0x2e]
xor al, byte [r15 + 0xa]
mov byte [rbp - 0x2f], cl
movzx ecx, byte [r14 + 0xa]
mov byte [rdi + 0xa], al
movzx eax, byte [rbx + 0xa]
mov byte [r15 + 0xa], al
movzx eax, byte [r15 + 0xb]
xor al, byte [rbp - 0x2d]
mov byte [rbp - 0x2e], cl
movzx ecx, byte [r14 + 0xb]
mov byte [rdi + 0xb], al
movzx eax, byte [rbx + 0xb]
mov byte [r15 + 0xb], al
movzx eax, byte [rbp - 0x2c]
xor al, byte [r15 + 0xc]
mov byte [rbp - 0x2d], cl
movzx ecx, byte [r14 + 0xc]
mov byte [rdi + 0xc], al
movzx eax, byte [rbx + 0xc]
mov byte [r15 + 0xc], al
movzx eax, byte [rbp - 0x2b]
xor al, byte [r15 + 0xd]
mov byte [rbp - 0x2c], cl
movzx ecx, byte [r14 + 0xd]
mov byte [rdi + 0xd], al
movzx eax, byte [rbx + 0xd]
mov byte [r15 + 0xd], al
movzx eax, byte [r15 + 0xe]
xor al, byte [rbp - 0x2a]
mov byte [rbp - 0x2b], cl
movzx ecx, byte [r14 + 0xe]
mov byte [rdi + 0xe], al
movzx eax, byte [rbx + 0xe]
mov byte [r15 + 0xe], al
movzx eax, byte [rbp - 0x29]
xor al, byte [r15 + 0xf]
mov byte [rbp - 0x2a], cl
movzx ecx, byte [r14 + 0xf]
mov byte [rdi + 0xf], al
movzx eax, byte [rbx + 0xf]
mov byte [r15 + 0xf], al
mov eax, reloc.WS2_32.dll_recv
add rsi, rax
mov byte [rbp - 0x29], cl
cmp rax, rsi
jae 0x180089629
lea rcx, [rbp - 0x28]
sub rdi, rcx
nop word [rax + rax]
lea rdx, [rbp - 0x38]
add rdx, rax
inc rax
movzx ecx, byte [rdx - 0x10]
xor cl, byte [rdx]
mov byte [rdi + rdx + 0x10], cl
cmp rax, rsi
jb 0x180089610
mov rax, qword [rbp - 0x40]
add rax, 0x10
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.1800d61c0
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret