Function at 0x180061160
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], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x180148040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
xor ebx, ebx
mov qword [rbp + 0x27], rbx
movups xmmword [rbp - 0x29], xmm0
movdqu xmmword [rbp - 0x19], xmm1
mov r8d, reloc.WS2_32.dll_inet_addr
lea rdx, str.SwitchLevel
lea rcx, [rbp - 0x29]
call fcn.180016750
nop
xor r9d, r9d
lea rcx, [rbp - 0x29]
call fcn.180062d90
mov qword [rbp - 0x49], rax
mov r14d, 0x10
mov word [rbp - 0x41], r14w
mov rdx, qword [rbp + 0x1f]
cmp rdx, qword [rbp + 0x27]
je 0x1800611f8
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rdx], xmm0
add qword [rbp + 0x1f], r14
jmp 0x180061206
lea r8, [rbp - 0x49]
lea rcx, [rbp + 0x17]
call fcn.180037560
nop
lea rcx, [rbp - 0x29]
call fcn.18002d710
movups xmm3, xmmword [str.cTFe_PAcYK_HjWK_]
movups xmmword [rbp - 0x49], xmm3
mov ecx, dword [0x180123668]
mov dword [rbp - 0x39], ecx
movzx eax, word [0x18012366c]
mov word [rbp - 0x35], ax
movzx eax, byte [0x18012366e]
mov byte [rbp - 0x33], al
mov r8d, ebx
movdqa xmm7, xmmword [0x18012e1e0]
mov esi, dword [0x180148090]
cmp esi, 2
jl 0x180061443
movdqa xmm4, xmmword [0x18012e5f0]
movdqa xmm5, xmmword [str.555566668888]
movdqa xmm6, xmmword [0x18012e230]
movdqa xmm2, xmmword [0x18012e100]
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd eax, xmm3
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x49], xmm2
movdqa xmm2, xmmword [0x18012e110]
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rbp - 0x45]
xorps xmm2, xmm0
movd dword [rbp - 0x45], xmm2
movdqa xmm3, xmmword [0x18012e120]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
movd xmm0, dword [rbp - 0x41]
xorps xmm3, xmm0
movd dword [rbp - 0x41], xmm3
movdqa xmm2, xmmword [0x18012e130]
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rbp - 0x3d]
xorps xmm2, xmm0
movd dword [rbp - 0x3d], xmm2
movdqa xmm3, xmmword [0x18012e140]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
movd xmm0, ecx
xorps xmm3, xmm0
movd dword [rbp - 0x39], xmm3
mov r8d, socket
mov eax, r8d
lea r9, [rbp - 0x49]
add r9, rax
nop dword [rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x17
jl 0x180061450
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x49]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800614a0
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.180016750
nop
xor r9d, r9d
lea rcx, [rbp - 0x29]
call fcn.180062d90
mov qword [rbp - 0x49], rax
mov eax, socket
mov word [rbp - 0x41], ax
mov rdx, qword [rbp + 0x1f]
cmp rdx, qword [rbp + 0x27]
je 0x1800614e9
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rdx], xmm0
add qword [rbp + 0x1f], 0x10
jmp 0x1800614f7
lea r8, [rbp - 0x49]
lea rcx, [rbp + 0x17]
call fcn.180037560
nop
lea rcx, [rbp - 0x29]
call fcn.18002d710
movups xmm6, xmmword [str.cTFUEB_JxBjRJ_A]
movups xmmword [rbp - 0x49], xmm6
movzx eax, word [0x180123650]
mov word [rbp - 0x39], ax
cmp byte [0x180123651], 0
je 0x180061710
mov r8d, ebx
cmp esi, 2
jl 0x1800616cf
movdqa xmm4, xmmword [0x18012e5f0]
movdqa xmm5, xmmword [str.555566668888]
movdqa xmm3, xmmword [0x18012e100]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov ecx, dword [0x18012e230]
movd xmm0, ecx
paddb xmm3, xmm0
movd eax, xmm6
movd xmm0, eax
xorps xmm3, xmm0
movd dword [rbp - 0x49], xmm3
movdqa xmm2, xmmword [0x18012e110]
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x45]
xorps xmm2, xmm1
movd dword [rbp - 0x45], xmm2
movdqa xmm3, xmmword [0x18012e120]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm1, dword [rbp - 0x41]
xorps xmm3, xmm1
movd dword [rbp - 0x41], xmm3
movdqa xmm2, xmmword [0x18012e130]
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x3d]
xorps xmm2, xmm1
movd dword [rbp - 0x3d], xmm2
mov r8d, r14d
mov eax, r8d
lea r9, [rbp - 0x49]
add r9, rax
nop dword [rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x1800616e0
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x49]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x180061726
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.180016750
nop
xor r9d, r9d
lea rcx, [rbp - 0x29]
call fcn.180062d90
mov qword [rbp - 0x49], rax
mov eax, 9
mov word [rbp - 0x41], ax
mov rdx, qword [rbp + 0x1f]
cmp rdx, qword [rbp + 0x27]
je 0x18006176f
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rdx], xmm0
add qword [rbp + 0x1f], 0x10
jmp 0x18006177d
lea r8, [rbp - 0x49]
lea rcx, [rbp + 0x17]
call fcn.180037560
nop
lea rcx, [rbp - 0x29]
call fcn.18002d710
movups xmm0, xmmword [str.cAZVFPbEYZ_hUSYS__a_1_v__9K]
movups xmmword [rbp - 0x29], xmm0
movsd xmm0, qword [0x180123630]
movsd qword [rbp - 0x19], xmm0
mov eax, dword [0x180123638]
mov dword [rbp - 0x11], eax
cmp byte [0x18012363b], 0
je 0x18006190c
cmp esi, 2
jl 0x1800618d2
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5f0]
movdqa xmm5, xmmword [str.555566668888]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rbp - 0x49], xmm0
lea rcx, [rbp - 0x25]
mov edx, dword [rbp - 0x49]
nop dword [rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x18
jl 0x1800617f0
cmp ebx, 0x1c
jge 0x18006190c
movsxd rax, ebx
lea r8, [rbp - 0x29]
add r8, rax
nop dword [rax]
mov eax, 0x4d4873ed
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, bl
sub al, cl
add al, 0x30
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x1c
jl 0x1800618e0
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
lea rax, [rbp - 0x29]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x180061922
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.180016750
nop
xor r9d, r9d
lea rcx, [rbp - 9]
call fcn.180062d90
mov qword [rbp - 0x49], rax
mov eax, 0x109
mov word [rbp - 0x41], ax
mov rdx, qword [rbp + 0x1f]
cmp rdx, qword [rbp + 0x27]
je 0x18006196b
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rdx], xmm0
add qword [rbp + 0x1f], 0x10
jmp 0x180061979
lea r8, [rbp - 0x49]
lea rcx, [rbp + 0x17]
call fcn.180037560
nop
lea rcx, [rbp - 9]
call fcn.18002d710
mov edx, 0x28
mov r9, qword [rbp + 0x17]
mov rbx, qword [rbp + 0x1f]
cmp r9, rbx
je 0x1800619ea
mov ecx, edx
nop word [rax + rax]
mov r10, qword [r9]
movzx r11d, word [r9 + 8]
mov r8d, edx
mov rax, rcx
cmp edx, 0x1a0
jge 0x1800619e1
cmp word [rax + r10], r11w
jne 0x1800619c2
cmp rax, rcx
jge 0x1800619d3
inc r8d
inc rax
cmp r8d, 0x1a0
jl 0x1800619b6
jmp 0x1800619e1
cmovle r8d, edx
mov edx, r8d
cmovle rax, rcx
mov rcx, rax
add r9, 0x10
cmp r9, rbx
jne 0x1800619a0
cmp edx, 0x28
cmovne edi, edx
mov dword [0x1801483d4], edi
xorps xmm0, xmm0
xorps xmm1, xmm1
xor r8d, r8d
lea rdx, [0x18011e4f0]
lea rcx, [rbp - 9]
movups xmmword [rbp - 9], xmm0
movdqu xmmword [rbp + 7], xmm1
call fcn.180016750
cmp edi, 0xffffffff
jne 0x180061a68
cmp byte [0x180149df8], 0
je 0x180061a5b
mov byte [rbp - 0x59], 0
mov dword [rbp - 0x49], 2
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
lea rax, [0x18014aff8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014afe8]
lea r8, [rbp - 9]
lea rdx, [rbp - 0x49]
call fcn.1800288e0
nop
lea rcx, [rbp - 9]
call fcn.18002d710
xor bl, bl
jmp 0x180061ab1
cmp byte [0x180149df8], 0
je 0x180061aa6
mov byte [rbp - 0x59], 0
mov dword [rbp - 0x49], 2
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
lea rax, [0x18014aff8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014afe8]
lea r8, [rbp - 9]
lea rdx, [rbp - 0x49]
call fcn.1800288e0
nop
lea rcx, [rbp - 9]
call fcn.18002d710
mov bl, 1
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x180061af2
mov rdx, qword [rbp + 0x27]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x180061aed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180061aed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ec3ac
movzx eax, bl
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1800ec360
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret