Function at 0x18004bae0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x18011c040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x27], xmm1
xor ebx, ebx
mov qword [rbp + 0x37], rbx
movups xmmword [rbp - 0x19], xmm0
movdqu xmmword [rbp - 9], xmm1
lea r8d, [rbx + 0xb]
lea rdx, str.SwitchLevel
lea rcx, [rbp - 0x19]
call fcn.18001d4b0
nop
xor r9d, r9d
lea rcx, [rbp - 0x19]
call fcn.18004c810
mov qword [rbp - 0x29], rax
mov eax, 0x10
mov word [rbp - 0x21], ax
mov rdx, qword [rbp + 0x2f]
cmp rdx, qword [rbp + 0x37]
je 0x18004bb6c
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
add qword [rbp + 0x2f], rax
jmp 0x18004bb7a
lea r8, [rbp - 0x29]
lea rcx, [rbp + 0x27]
call fcn.18000f9a0
nop
lea rcx, [rbp - 0x19]
call fcn.18001f9d0
movups xmm0, xmmword [str.j_OjT_H]
movups xmmword [rbp - 0x19], xmm0
mov eax, dword [0x1800fc7d0]
mov dword [rbp - 9], eax
movzx eax, word [0x1800fc7d4]
mov word [rbp - 5], ax
movzx eax, byte [0x1800fc7d6]
mov byte [rbp - 3], al
mov r8d, ebx
mov esi, dword [0x18011c018]
cmp esi, 2
jl 0x18004bcfd
movdqa xmm5, xmmword [0x1801063b0]
movdqa xmm4, xmmword [0x1801065a0]
movdqa xmm6, xmmword [0x1801063f0]
movdqa xmm0, xmmword [str.9999999999999999]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x15]
mov edx, dword [rbp - 0x29]
nop word [rax + rax]
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
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 [0x180106490]
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
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 [0x180106490]
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 0x18004bbf0
cmp r8d, 0x17
jge 0x18004bd43
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x17
jl 0x18004bd10
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
lea rax, [rbp - 0x19]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x18004bd60
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.18001d4b0
nop
xor r9d, r9d
lea rcx, [rbp + 7]
call fcn.18004c810
mov qword [rbp - 0x29], rax
mov eax, socket
mov word [rbp - 0x21], ax
mov rdx, qword [rbp + 0x2f]
cmp rdx, qword [rbp + 0x37]
je 0x18004bda9
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
add qword [rbp + 0x2f], 0x10
jmp 0x18004bdb7
lea r8, [rbp - 0x29]
lea rcx, [rbp + 0x27]
call fcn.18000f9a0
nop
lea rcx, [rbp + 7]
call fcn.18001f9d0
movups xmm0, xmmword [str.j_OtNK__1]
movups xmmword [rbp - 0x19], xmm0
movzx eax, word [0x1800fc7b8]
mov word [rbp - 9], ax
cmp byte [0x1800fc7b9], 0
je 0x18004bf73
mov r8d, ebx
cmp esi, 2
jl 0x18004bf2d
movdqa xmm5, xmmword [0x1801063b0]
movdqa xmm4, xmmword [0x1801065a0]
movdqa xmm6, xmmword [0x1801063f0]
movdqa xmm0, xmmword [str.9999999999999999]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x15]
mov edx, dword [rbp - 0x29]
nop dword [rax + rax]
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
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 [0x180106490]
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
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 [0x180106490]
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 0x18004be20
cmp r8d, 0x12
jge 0x18004bf73
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x18004bf40
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
lea rax, [rbp - 0x19]
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18004bf90
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.18001d4b0
nop
xor r9d, r9d
lea rcx, [rbp + 7]
call fcn.18004c810
mov qword [rbp - 0x29], rax
mov eax, 9
mov word [rbp - 0x21], ax
mov rdx, qword [rbp + 0x2f]
cmp rdx, qword [rbp + 0x37]
je 0x18004bfd9
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
add qword [rbp + 0x2f], 0x10
jmp 0x18004bfe7
lea r8, [rbp - 0x29]
lea rcx, [rbp + 0x27]
call fcn.18000f9a0
nop
lea rcx, [rbp + 7]
call fcn.18001f9d0
movups xmm0, xmmword [str.jJSYO_k2__]
movups xmmword [rbp - 0x19], xmm0
movsd xmm0, qword [0x1800fc798]
movsd qword [rbp - 9], xmm0
mov eax, dword [0x1800fc7a0]
mov dword [rbp - 1], eax
cmp byte [0x1800fc7a3], 0
je 0x18004c19e
cmp esi, 2
jl 0x18004c15d
movdqa xmm5, xmmword [0x1801063b0]
movdqa xmm4, xmmword [0x1801065a0]
movdqa xmm6, xmmword [0x1801063f0]
movdqa xmm0, xmmword [str.9999999999999999]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x15]
mov edx, dword [rbp - 0x29]
movd xmm2, ebx
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 [0x180106490]
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 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 [0x180106490]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x18
jl 0x18004c053
cmp eax, 0x1c
jge 0x18004c19e
movsxd rax, ebx
lea r8, [rbp - 0x19]
add r8, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
sub al, cl
add al, 0x39
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x1c
jl 0x18004c170
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
lea rax, [rbp - 0x19]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x18004c1b4
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 7]
call fcn.18001d4b0
nop
xor r9d, r9d
lea rcx, [rbp + 7]
call fcn.18004c810
mov qword [rbp - 0x29], rax
mov eax, 0x109
mov word [rbp - 0x21], ax
mov rdx, qword [rbp + 0x2f]
cmp rdx, qword [rbp + 0x37]
je 0x18004c1fd
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rdx], xmm0
add qword [rbp + 0x2f], 0x10
jmp 0x18004c20b
lea r8, [rbp - 0x29]
lea rcx, [rbp + 0x27]
call fcn.18000f9a0
nop
lea rcx, [rbp + 7]
call fcn.18001f9d0
mov edx, 0x28
mov rbx, qword [rbp + 0x27]
mov r9, rbx
mov rsi, qword [rbp + 0x2f]
cmp rbx, rsi
je 0x18004c27a
mov ecx, edx
nop dword [rax + rax]
mov r10, qword [r9]
movzx r11d, word [r9 + 8]
mov r8d, edx
mov rax, rcx
cmp edx, 0x1a0
jge 0x18004c271
cmp word [r10 + rax], r11w
jne 0x18004c252
cmp rax, rcx
jge 0x18004c263
inc r8d
inc rax
cmp r8d, 0x1a0
jl 0x18004c246
jmp 0x18004c271
cmovle r8d, edx
mov edx, r8d
cmovle rax, rcx
mov rcx, rax
add r9, 0x10
cmp r9, rsi
jne 0x18004c230
cmp edx, 0x28
cmovne edi, edx
mov dword [0x18011c3c0], edi
cmp edi, 0xffffffff
setne dil
test rbx, rbx
je 0x18004c2cd
mov rdx, qword [rbp + 0x37]
sub rdx, rbx
and rdx, 0xfffffffffffffff0
mov rax, rbx
cmp rdx, 0x1000
jb 0x18004c2c5
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004c2c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1800c8ea0
movzx eax, dil
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1800c8b10
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret