Function at 0x18003e710
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
movaps xmmword [rsp + 0x240], xmm6
mov rax, qword [0x18005a080]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov r15, r8
mov r14, rdx
mov r12, rcx
mov r13, qword [rbp + 0x1b8]
mov rsi, qword [rbp + 0x1c8]
mov rax, qword [rbp + 0x1d8]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp + 0x1e0]
mov qword [rbp - 8], rax
xor edi, edi
movabs rbx, 0x7fffffeffffe
cmp qword [0x1800601c0], rdi
jne 0x18003ed57
movups xmm0, xmmword [str.xXRlK_XYnWQ_CsPBuWW_rRY_G_]
movups xmmword [rbp - 0x80], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x18003e933
cmp dword [0x18005a0d0], 2
jl 0x18003e8f7
movdqa xmm5, xmmword [0x180051840]
mov edx, edi
movdqa xmm4, xmmword [0x180051ae0]
movdqa xmm6, xmmword [0x1800518c0]
movdqa xmm0, xmmword [0x1800518f0]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rbp - 0x7c]
mov r8d, dword [rsp + 0x40]
nop dword [rax + rax]
movd xmm2, edx
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 [0x1800518d0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 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 [0x1800518d0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x10
jl 0x18003e7f0
jmp 0x18003e933
lea r9, [rbp - 0x80]
mov r8d, edi
nop
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, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x18003e900
movzx eax, word [0x180050114]
mov word [rsp + 0x34], ax
cmp byte [0x180050115], dil
je 0x18003e952
mov byte [rsp + 0x34], 0x2e
xor byte [rsp + 0x35], 0x35
call fcn.1800233a0
test rax, rax
je 0x18003e98f
lea rcx, [rax - 0x100000]
cmp rcx, rbx
ja 0x18003e98f
mov ecx, dword [rax + 8]
shr ecx, 0x1d
not ecx
bt ecx, 0
jae 0x18003e98f
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x40]
call fcn.180035f00
jmp 0x18003e9b5
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
mov r8d, 4
lea rdx, str.None
lea rcx, [rbp - 0x30]
call fcn.180004930
nop
movzx eax, word [0x180050114]
mov word [rsp + 0x30], ax
cmp byte [0x180050115], 0
je 0x18003e9d4
mov byte [rsp + 0x30], 0x2e
xor byte [rsp + 0x31], 0x35
call fcn.1800233a0
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x18003ea15
lea rax, [rcx - 0x100000]
cmp rax, rbx
ja 0x18003ea15
mov eax, dword [rcx + 8]
shr eax, 0x1d
not eax
bt eax, 0
jae 0x18003ea15
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x40], rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.180035f00
jmp 0x18003ea3b
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov r8d, 4
lea rdx, str.None
lea rcx, [rbp - 0x50]
call fcn.180004930
nop
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18003ea50
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x50]
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], rdi
mov qword [rax + 0x18], recv
mov byte [rax], 0
lea r9, [rbp - 0x30]
lea r8, [rsp + 0x40]
lea rcx, [rbp]
call fcn.18000ed10
nop
lea rax, [rsp + 0x34]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x18003eaa3
lea rdx, [rsp + 0x34]
lea rcx, [rbp]
call fcn.180004220
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], recv
mov byte [rax], 0
lea rax, [rbp - 0x80]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18003eaf0
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x70]
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], rdi
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 rdi, rax
mov r9, rax
mov rcx, qword [0x18005f918]
call fcn.18000ef00
mov rbx, rax
mov edx, 2
mov rcx, rdi
call fcn.18004c45c
mov qword [0x1800601c0], rbx
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x18003ebb9
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003ebb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003ebb4
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 - 0x58]
cmp rdx, 0xf
jbe 0x18003ec0a
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003ec05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003ec05
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 - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x18003ec59
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003ec54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003ec54
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 0x18003ecab
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003eca5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003eca5
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 - 0x38]
cmp rdx, 0xf
jbe 0x18003ece9
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003ece4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003ece4
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 - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x18003ed38
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003ed33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003ed33
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 - 0x20], xmm0
mov byte [rbp - 0x30], 0
cmp qword [0x1800601c0], 0
je 0x18003ef4c
xor eax, eax
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x58], eax
mov qword [rbp + 0xb8], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x20], r12
movsd xmm0, qword [r14]
movsd qword [rbp + 0x28], xmm0
mov eax, dword [r14 + 8]
mov dword [rbp + 0x30], eax
movsd xmm0, qword [r15]
movsd qword [rbp + 0x34], xmm0
mov eax, dword [r15 + 8]
mov dword [rbp + 0x3c], eax
mov word [rbp + 0x40], 0x100
movups xmm0, xmmword [r13]
movups xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x58], 0
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0x5c], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp + 0x6c], xmm1
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rbp + 0x7c], xmm0
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rbp + 0x8c], xmm1
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rbp + 0x9c], xmm0
movups xmm1, xmmword [rsi + 0x50]
movups xmmword [rbp + 0xac], xmm1
movups xmm0, xmmword [rsi + 0x60]
movups xmmword [rbp + 0xbc], xmm0
movups xmm1, xmmword [rsi + 0x70]
movups xmmword [rbp + 0xcc], xmm1
movups xmm0, xmmword [rsi + 0x80]
movups xmmword [rbp + 0xdc], xmm0
movsd xmm1, qword [rsi + 0x90]
movsd qword [rbp + 0xec], xmm1
mov eax, dword [rsi + 0x98]
mov dword [rbp + 0xf4], eax
mov byte [rbp + 0xf8], 1
mov rax, qword [rbp - 0x10]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xfc], xmm0
mov rax, qword [rbp - 8]
movups xmm1, xmmword [rax]
movups xmmword [rbp + 0x10c], xmm1
movss xmm0, dword [rbp + 0x1e8]
movss dword [rbp + 0x11c], xmm0
mov rbx, qword [0x1800601c0]
call fcn.1800233a0
test rax, rax
je 0x18003eeca
lea rcx, [rax - 0x100000]
movabs rdx, 0x7fffffeffffe
cmp rcx, rdx
ja 0x18003eeca
mov ecx, dword [rax + 8]
shr ecx, 0x1d
not ecx
bt ecx, 0
jae 0x18003eeca
lea r9, [rbp + 0x20]
mov r8, rbx
mov rdx, rax
mov rcx, qword [0x18005f910]
call fcn.18000f1b0
movups xmm0, xmmword [rbp + 0x5c]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp + 0x6c]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rbp + 0x7c]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rbp + 0x8c]
movups xmmword [rsi + 0x30], xmm1
movups xmm0, xmmword [rbp + 0x9c]
movups xmmword [rsi + 0x40], xmm0
movups xmm1, xmmword [rbp + 0xac]
movups xmmword [rsi + 0x50], xmm1
movups xmm0, xmmword [rbp + 0xbc]
movups xmmword [rsi + 0x60], xmm0
movups xmm1, xmmword [rbp + 0xcc]
movups xmmword [rsi + 0x70], xmm1
movups xmm0, xmmword [rbp + 0xdc]
movups xmmword [rsi + 0x80], xmm0
movsd xmm1, qword [rbp + 0xec]
movsd qword [rsi + 0x90], xmm1
mov eax, dword [rbp + 0xf4]
mov dword [rsi + 0x98], eax
cmp byte [rbp + 0x120], 0
sete al
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.18004c400
mov rbx, qword [rsp + 0x2a8]
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret