Function at 0x180181d00
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 [0x18048aea8]
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 [0x18045ba64]
mov byte [rsp + 0x54], al
mov rax, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x180181d54
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 0x180181d60
mov rcx, r15
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x180181dce
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 0x180181dbb
mov rax, qword [rbx]
xor byte [rax + rcx], dl
inc rcx
add r8, 0x29
mov rdx, qword [rbx + 0x10]
cmp rcx, rdx
jb 0x180181da0
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180181ddb
mov rcx, qword [rbx]
mov r8d, 0x2a
call fcn.180334020
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180181df3
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 0x180181e6b
cmp rbp, 0x1000
jb 0x180181e3e
lea rcx, [rbp + 0x27]
cmp rcx, rbp
jbe 0x180181f5e
call fcn.1803940a0
test rax, rax
je 0x180181edb
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180181e49
mov rcx, rbp
call fcn.1803940a0
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 0x180181e70
mov rdi, qword [rsp + 0x38]
mov r9, qword [rbx + 0x10]
sub r9, 8
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180181e85
mov r8, qword [rbx]
add r8, 8
mov rdx, rbp
mov rcx, rdi
call fcn.180332c50
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 0x180181eee
sub rsi, rdi
mov rax, rdi
cmp rsi, 0x1000
jb 0x180181ee2
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180181ee2
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.1803940dc
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180181f24
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180181f1f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180181f57
mov rcx, r8
call fcn.1803940dc
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.180394080
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