Function at 0x1800569a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x180127040]
xor rax, rsp
mov qword [rbp + 0x27], rax
movups xmm0, xmmword [0x180108970]
movups xmmword [rbp - 0x39], xmm0
mov eax, dword [str.1_65__I]
mov dword [rbp - 0x29], eax
movzx eax, word [0x180108984]
mov word [rbp - 0x25], ax
movzx eax, byte [0x180108986]
mov byte [rbp - 0x23], al
xor ecx, ecx
mov edi, dword [0x180127018]
cmp edi, 2
jl 0x180056b4a
movdqa xmm5, xmmword [0x180110e60]
movdqa xmm4, xmmword [0x180111070]
movdqa xmm6, xmmword [0x180110e90]
movdqa xmm0, xmmword [0x180110f70]
movdqa xmmword [rbp - 0x49], xmm0
lea rdx, [rbp - 0x35]
mov r8d, dword [rbp - 0x49]
nop dword [rax]
movd xmm2, ecx
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x180110f50]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x180110f50]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x180056a40
cmp ecx, 0x17
jge 0x180056b8e
movsxd rax, ecx
lea r8, [rbp - 0x39]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x17
jl 0x180056b60
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
lea rax, [rbp - 0x39]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180056bb0
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x19]
call fcn.180020590
nop
xor r9d, r9d
lea rcx, [rbp - 0x19]
call fcn.18002b670
mov r12, rax
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x180056c15
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180056c10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180056c10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d3c10
movdqa xmm0, xmmword [0x180110d40]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
movsd xmm0, qword [str.g_RQ__jJ_VWQA]
movsd qword [rbp - 0x49], xmm0
mov eax, dword [0x180108968]
mov dword [rbp - 0x41], eax
movzx eax, word [0x18010896c]
mov word [rbp - 0x3d], ax
movzx eax, byte [0x18010896e]
mov byte [rbp - 0x3b], al
xor r8d, r8d
cmp edi, 2
jl 0x180056d64
movdqa xmm4, xmmword [0x180111070]
movdqa xmm2, xmmword [0x180110e60]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180110e90]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180110f50]
packuswb xmm2, xmm2
mov eax, dword [0x180110f70]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.g_RQ__jJ_VWQA]
xorps xmm2, xmm0
movd dword [rbp - 0x49], xmm2
movdqa xmm3, xmmword [0x180110e70]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180110e90]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180110f50]
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, 0x8fb823ef
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jl 0x180056d70
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
lea rax, [rbp - 0x49]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180056db6
mov r8, rbx
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 7]
call fcn.180020590
nop
xor r9d, r9d
lea rcx, [rbp + 7]
call fcn.18002b670
mov r14, rax
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x180056e1d
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180056e18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180056e18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d3c10
movdqa xmm0, xmmword [0x180110d40]
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 7], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], reloc.WS2_32.dll_inet_addr
mov qword [rbp - 0x21], 0xf
movsd xmm0, qword [str.SwitchLevel]
movsd qword [rbp - 0x39], xmm0
movzx eax, word [0x180108938]
mov word [rbp - 0x31], ax
movzx eax, byte [0x18010893a]
mov byte [rbp - 0x2f], al
mov byte [rbp - 0x2e], 0
xor r9d, r9d
lea rcx, [rbp - 0x39]
call fcn.18002b670
mov r15, rax
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x180056eb8
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180056eb3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180056eb3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d3c10
mov qword [rbp - 0x29], 0
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
mov esi, 0x40
lea rbx, [r14 + 0x40]
sub r12, r14
sub r15, r14
nop dword [rax + rax]
mov rdi, qword [r12 + rbx]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp rdi, rax
jbe 0x180056f42
movsxd rcx, dword [rax + 0x3c]
mov edx, dword [rcx + rax + 0x50]
add rdx, rax
cmp rdi, rdx
jae 0x180056f42
mov rdi, qword [rbx]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp rdi, rax
jbe 0x180056f42
movsxd rcx, dword [rax + 0x3c]
mov edx, dword [rcx + rax + 0x50]
add rdx, rax
cmp rdi, rdx
jae 0x180056f42
mov rdi, qword [r15 + rbx]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp rdi, rax
jbe 0x180056f42
movsxd rcx, dword [rax + 0x3c]
mov edx, dword [rcx + rax + 0x50]
add rdx, rax
cmp rdi, rdx
jb 0x180056f95
add esi, 8
add rbx, 8
mov rax, rbx
sub rax, r14
cmp rax, 0x140
jl 0x180056ee0
mov dword [0x180127098], 0
mov al, 1
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800d3880
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov dword [0x180127098], esi
cmp esi, 0xffffffff
setne al
jmp 0x180056f63