Function at 0x180181520
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x180476ea8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x28], rdx
xor r15d, r15d
mov eax, dword [str.RSB1]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x18044a9e4]
mov byte [rsp + 0x54], al
mov rax, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x180181574
mov rax, qword [rdx]
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
mov r8d, r15d
mov r9, r15
movzx edx, byte [rsp + r9 + 0x50]
xor dl, byte [rsp + r9 + 0x30]
movzx eax, r8b
imul ecx, eax, 0x29
sub dl, cl
mov byte [rsp + r9 + 0x30], dl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jb 0x180181580
mov rcx, r15
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1801815ee
mov r8, r15
nop word [rax + rax]
mov rax, rcx
and eax, 3
movzx edx, byte [rsp + rax + 0x30]
add rdx, r8
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1801815db
mov rax, qword [rbx]
xor byte [rax + rcx], dl
inc rcx
add r8, 0x29
mov rdx, qword [rbx + 0x10]
cmp rcx, rdx
jb 0x1801815c0
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1801815fb
mov rcx, qword [rbx]
mov r8d, 0x2a
call fcn.180323190
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180181613
mov rax, qword [rbx]
xorps xmm0, xmm0
mov ebp, dword [rax + 4]
movdqu xmmword [rsp + 0x38], xmm0
mov rsi, r15
mov qword [rsp + 0x48], r15
test rbp, rbp
je 0x18018168b
cmp rbp, 0x1000
jb 0x18018165e
lea rcx, [rbp + 0x27]
cmp rcx, rbp
jbe 0x18018177e
call fcn.180383200
test rax, rax
je 0x1801816fb
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180181669
mov rcx, rbp
call fcn.180383200
mov rdi, rax
mov qword [rsp + 0x38], rdi
lea rsi, [rdi + rbp]
mov qword [rsp + 0x48], rsi
mov r8, rbp
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x40], rsi
jmp 0x180181690
mov rdi, qword [rsp + 0x38]
mov r9, qword [rbx + 0x10]
sub r9, 8
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1801816a5
mov r8, qword [rbx]
add r8, 8
mov rdx, rbp
mov rcx, rdi
call fcn.180321dc0
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], r15
mov r8, rbp
mov rdx, rdi
mov rcx, r14
call fcn.18012c3b0
nop
test rdi, rdi
je 0x18018170e
sub rsi, rdi
mov rax, rdi
cmp rsi, 0x1000
jb 0x180181702
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180181702
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rsi
mov rcx, rdi
call fcn.18038323c
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180181744
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18018173f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180181777
mov rcx, r8
call fcn.18038323c
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rax, r14
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1803831e0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.18012afe0
nop
int3