Function at 0x180011420
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x58]
sub rsp, 0x140
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x18005a080]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov r14, rcx
xor ebx, ebx
test rcx, rcx
je 0x180011a89
lea rax, [rcx - 0x100000]
movabs rdi, 0x7fffffeffffe
cmp rax, rdi
ja 0x180011a89
mov eax, dword [rcx + 8]
shr eax, 0x1d
not eax
bt eax, 0
jae 0x180011a89
cmp qword [0x180060120], rbx
jne 0x180011a53
movups xmm0, xmmword [str.sPBzQJIRSSP.50__]
movups xmmword [rbp - 0x80], xmm0
movsd xmm0, qword [0x1800501a0]
movsd qword [rbp - 0x70], xmm0
movzx eax, word [0x1800501a8]
mov word [rbp - 0x68], ax
movzx eax, byte [0x1800501aa]
mov byte [rbp - 0x66], al
mov ecx, ebx
cmp dword [0x18005a0d0], 2
jl 0x180011602
movdqa xmm5, xmmword [0x180051840]
movdqa xmm4, xmmword [0x180051a80]
movdqa xmm6, xmmword [0x180051880]
movdqa xmm0, xmmword [0x1800518f0]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rbp - 0x7c]
mov r8d, dword [rsp + 0x40]
nop
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
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 [0x1800518d0]
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
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 [0x1800518d0]
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, 0x18
jl 0x180011500
cmp ecx, 0x1b
jge 0x18001163c
movsxd rax, ecx
lea r8, [rbp - 0x80]
add r8, rax
nop dword [rax]
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1b
jl 0x180011610
movzx eax, word [0x180050114]
mov word [rbp + 0x20], ax
cmp byte [0x180050115], bl
je 0x180011657
mov byte [rbp + 0x20], 0x2e
xor byte [rbp + 0x21], 0x35
call fcn.18000a1c0
test rax, rax
je 0x180011694
lea rcx, [rax - 0x100000]
cmp rcx, rdi
ja 0x180011694
mov ecx, dword [rax + 8]
shr ecx, 0x1d
not ecx
bt ecx, 0
jae 0x180011694
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.180035f00
jmp 0x1800116ba
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov r8d, 4
lea rdx, str.None
lea rcx, [rbp - 0x20]
call fcn.180004930
nop
movzx eax, word [0x180050114]
mov word [rsp + 0x30], ax
cmp byte [0x180050115], 0
je 0x1800116d9
mov byte [rsp + 0x30], 0x2e
xor byte [rsp + 0x31], 0x35
call fcn.18000a1c0
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x18001171a
lea rax, [rcx - 0x100000]
cmp rax, rdi
ja 0x18001171a
mov eax, dword [rcx + 8]
shr eax, 0x1d
not eax
bt eax, 0
jae 0x18001171a
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x40], rax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.180035f00
jmp 0x180011740
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, 4
lea rdx, str.None
lea rcx, [rbp - 0x40]
call fcn.180004930
nop
lea rax, [rsp + 0x30]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp byte [rax + r8], 0
jne 0x180011750
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.180004220
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], recv
mov byte [rax], 0
lea r9, [rbp - 0x20]
lea r8, [rsp + 0x40]
lea rcx, [rbp]
call fcn.18000ed10
nop
lea rax, [rbp + 0x20]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1800117a2
lea rdx, [rbp + 0x20]
lea rcx, [rbp]
call fcn.180004220
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], recv
mov byte [rax], 0
lea rax, [rbp - 0x80]
nop word [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1800117f0
mov r8, rdi
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.180004220
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], recv
mov byte [rax], 0
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
call fcn.1800137d0
mov rsi, rax
mov r9, rax
mov rcx, qword [0x18005f918]
call fcn.18000ef00
mov rdi, rax
mov edx, 2
mov rcx, rsi
call fcn.18004c45c
mov qword [0x180060120], rdi
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1800118b9
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800118b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800118b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
movdqa xmm0, xmmword [0x180051830]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x18001190a
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180011905
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180011905
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
movdqa xmm0, xmmword [0x180051830]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x180011959
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180011954
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180011954
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
movdqa xmm0, xmmword [0x180051830]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1800119ab
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800119a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800119a5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1800119e9
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800119e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800119e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
movdqa xmm0, xmmword [0x180051830]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x180011a38
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180011a33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180011a33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004c45c
movdqa xmm0, xmmword [0x180051830]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
cmp qword [0x180060120], 0
je 0x180011a89
mov qword [rbp + 0x20], rbx
mov eax, dword [r14 + 8]
shr eax, 0x1d
not eax
bt eax, 0
jae 0x180011a84
lea r9, [rbp + 0x20]
mov r8, qword [0x180060120]
mov rdx, r14
mov rcx, qword [0x18005f910]
call fcn.18000f1b0
mov rbx, qword [rbp + 0x20]
mov rax, rbx
jmp 0x180011a8b
xor eax, eax
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.18004c400
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret