Function at 0x180062420
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
movaps xmmword [rsp + 0xa0], xmm6
movups xmm0, xmmword [str.cTEVIOOwXGu526]
movups xmmword [rbp - 0x29], xmm0
mov eax, dword [str.6_54__J]
mov dword [rbp - 0x19], eax
movzx eax, word [0x180124464]
mov word [rbp - 0x15], ax
movzx eax, byte [0x180124466]
mov byte [rbp - 0x13], al
xor r13d, r13d
mov r8d, r13d
mov edi, dword [0x180149018]
cmp edi, 2
jl 0x1800625b5
movdqa xmm5, xmmword [0x18012ef60]
movdqa xmm4, xmmword [0x18012f100]
movdqa xmm6, xmmword [0x18012ef90]
movdqa xmm0, xmmword [0x18012f060]
movdqa xmmword [rbp - 0x49], xmm0
lea rcx, [rbp - 0x25]
mov edx, dword [rbp - 0x49]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f040]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f040]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x1800624b0
cmp r8d, 0x17
jge 0x1800625f0
movsxd rax, r8d
lea r9, [rbp - 0x29]
add r9, rax
nop
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x17
jl 0x1800625c0
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
lea rax, [rbp - 0x29]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], r13b
jne 0x180062610
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.180016150
nop
xor r9d, r9d
lea rcx, [rbp - 9]
call fcn.180063570
mov r12, rax
lea rcx, [rbp - 9]
call fcn.18002d3d0
movsd xmm0, qword [str._ZQPTiKYUV.B]
movsd qword [rbp - 0x49], xmm0
mov ecx, dword [0x180124448]
mov dword [rbp - 0x41], ecx
movzx ecx, word [0x18012444c]
mov word [rbp - 0x3d], cx
movzx ecx, byte [0x18012444e]
mov byte [rbp - 0x3b], cl
mov r8d, r13d
cmp edi, 2
jl 0x180062775
movdqa xmm4, xmmword [0x18012f100]
movdqa xmm2, xmmword [0x18012ef60]
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 [0x18012ef90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f040]
packuswb xmm2, xmm2
mov eax, dword [0x18012f060]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str._ZQPTiKYUV.B]
xorps xmm2, xmm0
movd dword [rbp - 0x49], xmm2
movdqa xmm3, xmmword [0x18012ef70]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18012ef90]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f040]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x45]
xorps xmm2, xmm1
movd dword [rbp - 0x45], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x49]
add r9, rax
nop
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x180062780
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x49]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800627c3
mov r8, rbx
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.180016150
nop
xor r9d, r9d
lea rcx, [rbp - 0x29]
call fcn.180063570
mov r14, rax
lea rcx, [rbp - 0x29]
call fcn.18002d3d0
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
mov r8d, reloc.WS2_32.dll_inet_addr
lea rdx, str.SwitchLevel
lea rcx, [rbp - 0x49]
call fcn.180016150
nop
xor r9d, r9d
lea rcx, [rbp - 0x49]
call fcn.180063570
mov r15, rax
lea rcx, [rbp - 0x49]
call fcn.18002d3d0
mov esi, 0x40
lea rbx, [r14 + 0x40]
sub r12, r14
sub r15, r14
mov rdi, qword [r12 + rbx]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movsxd rcx, dword [rax + 0x3c]
cmp rdi, rax
jbe 0x1800628a4
mov ecx, dword [rcx + rax + 0x50]
add rcx, rax
cmp rdi, rcx
jae 0x1800628a4
mov rdi, qword [rbx]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movsxd rcx, dword [rax + 0x3c]
cmp rdi, rax
jbe 0x1800628a4
mov ecx, dword [rcx + rax + 0x50]
add rcx, rax
cmp rdi, rcx
jae 0x1800628a4
mov rdi, qword [r15 + rbx]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movsxd rcx, dword [rax + 0x3c]
cmp rdi, rax
jbe 0x1800628a4
mov ecx, dword [rcx + rax + 0x50]
add rcx, rax
cmp rdi, rcx
jb 0x1800628bb
add esi, 8
add rbx, 8
mov rax, rbx
sub rax, r14
cmp rax, 0x140
jl 0x180062842
jmp 0x1800628be
mov r13d, esi
mov dword [0x1801493ac], r13d
xorps xmm0, xmm0
xorps xmm1, xmm1
xor r8d, r8d
lea rdx, [0x18011f470]
lea rcx, [rbp - 9]
movups xmmword [rbp - 9], xmm0
movdqu xmmword [rbp + 7], xmm1
call fcn.180016150
cmp r13d, 0xffffffff
jne 0x180062938
cmp byte [0x18014add8], 0
je 0x18006292b
mov byte [rbp + 0x67], 0
mov dword [rbp + 0x6f], 2
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
lea rax, [0x18014bfd8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014bfc8]
lea r8, [rbp - 9]
lea rdx, [rbp + 0x6f]
call fcn.180028480
nop
lea rcx, [rbp - 9]
call fcn.18002d3d0
xor al, al
jmp 0x180062981
cmp byte [0x18014add8], 0
je 0x180062976
mov byte [rbp + 0x67], 0
mov dword [rbp + 0x6f], 2
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
lea rax, [0x18014bfd8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014bfc8]
lea r8, [rbp - 9]
lea rdx, [rbp + 0x6f]
call fcn.180028480
nop
lea rcx, [rbp - 9]
call fcn.18002d3d0
mov al, 1
mov rbx, qword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret