Function at 0x1400031f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14000c008]
xor rax, rsp
mov qword [rbp - 8], rax
mov qword [rbp - 0x50], rdx
mov r12, rcx
mov eax, dword [str.4_6_]
mov dword [rbp - 0x48], eax
movzx eax, word [0x1400094a4]
mov word [rbp - 0x44], ax
mov ebx, dword [str.wu6Z172_0____]
mov dword [rbp - 0x30], ebx
movzx r11d, byte [rbp - 0x43]
movzx ecx, byte [rbp - 0x48]
movzx edx, byte [rbp - 0x47]
movzx r8d, byte [rbp - 0x46]
movzx r9d, byte [rbp - 0x45]
movzx r10d, al
test r11b, r11b
jne 0x140003287
xor cl, 0x57
mov byte [rbp - 0x48], cl
xor dl, 0x58
mov byte [rbp - 0x47], dl
xor r8b, 0x59
mov byte [rbp - 0x46], r8b
xor r9b, 0x5a
mov byte [rbp - 0x45], r9b
xor r10b, 0x5b
mov byte [rbp - 0x44], r10b
mov r11b, 0x5c
mov byte [rbp - 0x43], r11b
movsd xmm0, qword [str.wut_2080_]
movsd qword [rbp - 0x40], xmm0
movzx eax, word [0x1400095a0]
mov word [rbp - 0x38], ax
movzx r13d, byte [rbp - 0x3f]
movzx r15d, byte [rbp - 0x37]
cmp byte [0x1400095a1], 0
jne 0x1400032e2
mov byte [rbp - 0x40], 0x20
xor r13b, 0x58
mov byte [rbp - 0x3f], r13b
xor byte [rbp - 0x3e], 0x59
xor byte [rbp - 0x3d], 0x5a
xor byte [rbp - 0x3c], 0x5b
xor byte [rbp - 0x3b], 0x5c
xor byte [rbp - 0x3a], 0x5d
xor byte [rbp - 0x39], 0x5e
xor byte [rbp - 0x38], 0x5f
xor r15b, 0x60
mov byte [rbp - 0x37], r15b
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
test r11b, r11b
je 0x14000332e
xor cl, 0x57
mov byte [rbp - 0x48], cl
xor dl, 0x58
mov byte [rbp - 0x47], dl
xor r8b, 0x59
mov byte [rbp - 0x46], r8b
xor r9b, 0x5a
mov byte [rbp - 0x45], r9b
xor r10b, 0x5b
mov byte [rbp - 0x44], r10b
xor r11b, 0x5c
mov byte [rbp - 0x43], r11b
lea rax, [rbp - 0x48]
mov rsi, 0xffffffffffffffff
mov rdi, rsi
nop dword [rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140003340
lea rcx, [rbp - 0x28]
cmp rdi, 0xf
ja 0x14000336a
mov qword [rbp - 0x18], rdi
mov r8, rdi
lea rdx, [rbp - 0x48]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi - 0x28], 0
jmp 0x14000337b
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x48]
mov rdx, rdi
call fcn.140007250
mov r14, rsi
nop
inc r14
cmp byte [r12 + r14], 0
jne 0x140003380
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x1400033ca
lea rax, [rcx + r14]
mov qword [rbp - 0x18], rax
lea rdi, [rbp - 0x28]
cmp rdx, 0x10
cmovae rdi, qword [rbp - 0x28]
add rdi, rcx
mov r8, r14
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + r14], 0
jmp 0x1400033de
mov qword [rsp + 0x20], r14
mov r9, r12
mov rdx, r14
lea rcx, [rbp - 0x28]
call fcn.140007250
mov edi, 6
lea eax, [rdi + 0x19]
mov r12d, dword [0x14000c018]
cmp byte [rbp - 0x2d], 0
je 0x1400034c3
cmp r12d, 2
jl 0x140003488
movdqa xmm3, xmmword [0x140009640]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140009690]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140009690]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
movd xmm0, edi
psrad xmm2, xmm0
movd xmm0, eax
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x140009660]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140009670]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.WWWWWWWWWWWWWWWW]
movd xmm0, ebx
xorps xmm2, xmm0
movd dword [rbp - 0x30], xmm2
jmp 0x1400034c3
lea r9, [rbp - 0x30]
xor r8d, r8d
nop
mov eax, 0xe070381d
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x49
movzx eax, r8b
sub al, cl
add al, 0x57
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x140003490
lea rax, [rbp - 0x30]
mov r14, rsi
nop word [rax + rax]
inc r14
cmp byte [rax + r14], 0
jne 0x1400034d0
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x14000351b
lea rax, [rcx + r14]
mov qword [rbp - 0x18], rax
lea rdi, [rbp - 0x28]
cmp rdx, 0x10
cmovae rdi, qword [rbp - 0x28]
add rdi, rcx
mov r8, r14
lea rdx, [rbp - 0x30]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0
jmp 0x140003530
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x30]
mov rdx, r14
lea rcx, [rbp - 0x28]
call fcn.140007250
cmp byte [rbp - 0x2d], 0
jne 0x140003583
cmp r12d, 2
jge 0x140003583
lea r9, [rbp - 0x30]
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
mov eax, 0xe070381d
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x49
movzx eax, r8b
sub al, cl
add al, 0x57
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x140003550
mov rdi, rsi
mov rcx, qword [rbp - 0x50]
nop word [rax + rax]
inc rdi
cmp byte [rcx + rdi], 0
jne 0x140003590
mov rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 0x10]
mov rax, r8
sub rax, rdx
cmp rdi, rax
ja 0x1400035d8
lea rax, [rdi + rdx]
mov qword [rbp - 0x18], rax
lea rbx, [rbp - 0x28]
cmp r8, 0x10
cmovae rbx, qword [rbp - 0x28]
add rbx, rdx
mov r8, rdi
mov rdx, rcx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x1400035ec
mov qword [rsp + 0x20], rdi
mov r9, rcx
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140007250
test r15b, r15b
je 0x140003621
xor byte [rbp - 0x40], 0x57
xor r13b, 0x58
mov byte [rbp - 0x3f], r13b
xor byte [rbp - 0x3e], 0x59
xor byte [rbp - 0x3d], 0x5a
xor byte [rbp - 0x3c], 0x5b
xor byte [rbp - 0x3b], 0x5c
xor byte [rbp - 0x3a], 0x5d
xor byte [rbp - 0x39], 0x5e
xor byte [rbp - 0x38], 0x5f
xor r15b, 0x60
mov byte [rbp - 0x37], r15b
lea rax, [rbp - 0x40]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140003625
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x14000366e
lea rax, [rsi + rcx]
mov qword [rbp - 0x18], rax
lea rbx, [rbp - 0x28]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x28]
add rbx, rcx
mov r8, rsi
lea rdx, [rbp - 0x40]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rsi], 0
jmp 0x140003683
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x40]
mov rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.140007250
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rcx, qword [rbp - 0x28]
call fcn.140002160
xor r8d, r8d
lea rcx, [rbp - 0x28]
call fcn.140006c50
mov qword [rbp - 0x18], 0
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rax, qword [rbp - 0x28]
mov byte [rax], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400036f9
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400036f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000793c
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400078e0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret