Function at 0x14004fd70
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov r14, rdx
mov rax, qword gs:[0x60]
test rax, rax
je 0x140050279
mov rdi, qword [rax + 0x18]
test rdi, rdi
je 0x140050279
movups xmm3, xmmword [str.dCTzUVLLZ]
movups xmmword [rbp - 0x39], xmm3
movsd xmm0, qword [0x1400d7b58]
movsd qword [rbp - 0x29], xmm0
xor r15d, r15d
cmp byte [0x1400d7b5f], r15b
je 0x140050075
mov ecx, r15d
cmp dword [0x1400e1258], 2
jl 0x140050044
movdqa xmm5, xmmword [0x1400d7b70]
movdqa xmm6, xmmword [0x1400d7b60]
movdqa xmm7, xmmword [0x1400c9560]
movdqa xmm2, xmmword [0x1400c2e60]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x1400c2ed0]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd eax, xmm3
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x39], xmm2
movdqa xmm2, xmmword [0x1400c2e70]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd xmm0, dword [rbp - 0x35]
xorps xmm2, xmm0
movd dword [rbp - 0x35], xmm2
movdqa xmm3, xmmword [0x1400c2e80]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
movd xmm0, dword [rbp - 0x31]
xorps xmm3, xmm0
movd dword [rbp - 0x31], xmm3
movdqa xmm2, xmmword [0x1400c2e90]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd xmm0, dword [rbp - 0x2d]
xorps xmm2, xmm0
movd dword [rbp - 0x2d], xmm2
movdqa xmm3, xmmword [0x1400c2ea0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
movd xmm0, dword [rbp - 0x29]
xorps xmm3, xmm0
movd dword [rbp - 0x29], xmm3
movdqa xmm2, xmmword [0x1400c2eb0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movd xmm0, dword [rbp - 0x25]
xorps xmm2, xmm0
movd dword [rbp - 0x25], xmm2
jmp 0x140050075
lea r8, [rbp - 0x39]
nop dword [rax + rax]
mov eax, 0x51eb851f
mul ecx
shr edx, 4
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x18
jl 0x140050050
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
lea rax, [rbp - 0x39]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r15b
jne 0x140050090
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 1]
call fcn.140001620
nop
lea rbx, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova rbx, qword [rbp - 1]
movsd xmm0, qword [0x1400d7b38]
movsd qword [rbp - 0x59], xmm0
movzx eax, word [0x1400d7b40]
mov word [rbp - 0x51], ax
cmp byte [0x1400d7b41], 0
je 0x1400500fe
mov byte [rbp - 0x59], 0x6e
xor byte [rbp - 0x58], 0x37
xor byte [rbp - 0x57], 0x38
xor byte [rbp - 0x56], 0x39
xor byte [rbp - 0x55], 0x3a
xor byte [rbp - 0x54], 0x3b
xor byte [rbp - 0x53], 0x3c
xor byte [rbp - 0x52], 0x3d
xor byte [rbp - 0x51], 0x3e
xor byte [rbp - 0x50], 0x3f
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
lea rax, [rbp - 0x59]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140050120
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x21]
call fcn.140001620
nop
lea rdx, [rbp - 0x21]
cmp qword [rbp - 9], 0xf
cmova rdx, qword [rbp - 0x21]
mov r8, rbx
lea rcx, [0x1400e14d8]
call fcn.140050b40
mov rsi, rax
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x140050196
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050191
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050191
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059504
movdqa xmm0, xmmword [0x1400c2e50]
movdqu xmmword [rbp - 0x11], xmm0
mov byte [rbp - 0x21], 0
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x1400501ed
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400501e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400501e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059504
movdqa xmm0, xmmword [0x1400c2e50]
movdqu xmmword [rbp + 0xf], xmm0
mov byte [rbp - 1], 0
test rsi, rsi
je 0x140050279
mov word [rbp + 0x77], r15w
test r14, r14
jne 0x140050214
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x10]
jmp 0x14005027b
mov dword [rsp + 0x28], pe_nt_image_headers64
lea rax, [rbp + 0x77]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, r14
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rdx, [rbp + 0x77]
lea rcx, [rbp - 0x49]
call sub.ntdll.dll_RtlInitUnicodeString
add rdi, 0x10
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140050279
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rbx + 0x58]
mov r8b, 1
lea rdx, [rbp - 0x49]
call rsi
test eax, eax
je 0x1400502a2
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140050260
xor eax, eax
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rax, qword [rbx + 0x30]
jmp 0x14005027b