Function at 0x1400051c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400f2040]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rdx, [rcx + 0x30]
mov qword [rsp + 0x78], rdi
lea rcx, [rbp - 0x30]
call fcn.14000b7f0
mov eax, dword [0x1400d2b8c]
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x40], eax
lea rcx, [rbp - 0x30]
movzx eax, word [0x1400d2b90]
xor byte [rbp - 0x3f], 0x33
xor byte [rbp - 0x3e], 0x34
xor byte [rbp - 0x3d], 0x35
mov word [rbp - 0x3c], ax
xor al, 0x36
xor byte [rbp - 0x3b], 0x37
mov byte [rbp - 0x3c], al
mov byte [rbp - 0x40], 0x72
call fcn.14000b520
cmp rax, 0xffffffffffffffff
jne 0x140005ad3
movzx ecx, word [0x1400d2bb8]
lea rdx, [rbp - 0x40]
mov eax, dword [str.BZGAY_8]
mov dword [rbp - 0x40], eax
movzx eax, byte [0x1400d2bba]
xor byte [rbp - 0x3f], 0x33
xor al, 0x38
xor byte [rbp - 0x3e], 0x34
xor byte [rbp - 0x3d], 0x35
mov word [rbp - 0x3c], cx
xor cl, 0x36
xor byte [rbp - 0x3b], 0x37
mov byte [rbp - 0x3c], cl
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x40], 0x70
mov byte [rbp - 0x3a], al
call fcn.14000b520
cmp rax, 0xffffffffffffffff
jne 0x140005ad3
mov eax, dword [str.PC5ZXXQ7]
xor ebx, ebx
cmp byte [0x1400d2b1b], bl
mov edi, dword [0x1400f2088]
mov dword [rbp - 0x40], eax
je 0x140005360
cmp edi, 2
jl 0x140005321
movdqa xmm3, xmmword [0x1400dff80]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400e0000]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400e0000]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 1
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400dffb0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400dfff0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400e0010]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x40], xmm2
jmp 0x140005360
lea r9, [rbp - 0x40]
mov r8d, ebx
nop dword [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x140005330
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.14000b520
cmp rax, 0xffffffffffffffff
jne 0x140005ad3
cmp byte [0x1400d2bbf], bl
mov eax, dword [str.S5_C]
mov dword [rbp - 0x40], eax
je 0x140005450
cmp edi, 2
jl 0x14000540e
movdqa xmm3, xmmword [0x1400dff80]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400e0000]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400e0000]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 1
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400dffb0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400dfff0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400e0010]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x40], xmm2
jmp 0x140005450
lea r9, [rbp - 0x40]
mov r8d, ebx
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x140005420
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.14000b520
cmp rax, 0xffffffffffffffff
jne 0x140005ad3
cmp byte [0x1400d2e0f], bl
mov rax, qword [str.A__AQBV9]
mov qword [rbp - 0x40], rax
je 0x1400055b0
cmp edi, 2
jl 0x140005579
movdqa xmm2, xmmword [0x1400dff80]
movdqa xmm4, xmmword [0x1400e0000]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400dffa0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400dffb0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x40]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400dfff0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400e0010]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x40], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400dffb0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x3c]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400dfff0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400e0010]
xorps xmm2, xmm0
movd dword [rbp - 0x3c], xmm2
jmp 0x1400055b0
lea r9, [rbp - 0x40]
mov r8d, ebx
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x140005580
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.14000b520
cmp rax, 0xffffffffffffffff
jne 0x140005ad3
cmp byte [0x1400d2af3], bl
mov eax, dword [str.AS5]
mov dword [rbp - 0x40], eax
je 0x1400056a0
cmp edi, 2
jl 0x14000565e
movdqa xmm3, xmmword [0x1400dff80]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400e0000]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400e0000]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 1
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400dffb0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400dfff0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400e0010]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x40], xmm2
jmp 0x1400056a0
lea r9, [rbp - 0x40]
mov r8d, ebx
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x140005670
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.14000b520
cmp rax, 0xffffffffffffffff
jne 0x140005ad3
movzx eax, byte [0x1400d29e8]
lea rdx, [rbp - 0x40]
movsd xmm0, qword [str.RA_U__K:]
lea rcx, [rbp - 0x30]
movsd qword [rbp - 0x40], xmm0
xor al, 0x3a
xor byte [rbp - 0x3f], 0x33
xor byte [rbp - 0x3e], 0x34
xor byte [rbp - 0x3d], 0x35
xor byte [rbp - 0x3c], 0x36
xor byte [rbp - 0x3b], 0x37
xor byte [rbp - 0x3a], 0x38
xor byte [rbp - 0x39], 0x39
mov byte [rbp - 0x38], al
mov byte [rbp - 0x40], 0x6c
call fcn.14000b520
cmp rax, 0xffffffffffffffff
jne 0x140005ad3
cmp byte [0x1400d2b1b], bl
mov eax, dword [str.PC5ZXXQ7]
mov dword [rbp - 0x40], eax
je 0x1400057e0
cmp edi, 2
jl 0x14000579e
movdqa xmm3, xmmword [0x1400dff80]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400e0000]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400e0000]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 1
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1400dffb0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400dfff0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400e0010]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x40], xmm2
jmp 0x1400057e0
lea r9, [rbp - 0x40]
mov r8d, ebx
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x1400057b0
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.14000b520
cmp rax, 0xffffffffffffffff
jne 0x140005ad3
cmp byte [0x1400d2777], bl
mov rax, qword [str.R_YQBV9]
mov qword [rbp - 0x40], rax
je 0x140005950
cmp edi, 2
jl 0x14000590f
movdqa xmm2, xmmword [0x1400dff80]
movdqa xmm4, xmmword [0x1400e0000]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400dffa0]
movdqa xmm0, xmm2
mov eax, dword [0x1400e0010]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400dffb0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400dfff0]
movd xmm1, dword [rbp - 0x40]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
movd dword [rbp - 0x40], xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400dffb0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400dfff0]
movd xmm1, dword [rbp - 0x3c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x3c], xmm2
jmp 0x140005950
lea r9, [rbp - 0x40]
mov r8d, ebx
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x140005920
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.14000b520
cmp rax, 0xffffffffffffffff
jne 0x140005ad3
cmp byte [0x1400d2d27], bl
mov rax, qword [str._ZZQBV9]
mov qword [rbp - 0x40], rax
je 0x140005abc
cmp edi, 2
jl 0x140005a7f
movdqa xmm2, xmmword [0x1400dff80]
movdqa xmm4, xmmword [0x1400e0000]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400dffa0]
movdqa xmm0, xmm2
mov eax, dword [0x1400e0010]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400dffb0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400dfff0]
movd xmm1, dword [rbp - 0x40]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
movd dword [rbp - 0x40], xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400dffb0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400dfff0]
movd xmm1, dword [rbp - 0x3c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x3c], xmm2
jmp 0x140005abc
lea r8, [rbp - 0x40]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
inc ebx
sub al, cl
add al, 0x32
xor byte [r8 - 1], al
cmp ebx, 8
jl 0x140005a90
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.14000b520
cmp rax, 0xffffffffffffffff
jne 0x140005ad3
xor bl, bl
jmp 0x140005ad5
mov bl, 1
mov rdx, qword [rbp - 0x18]
mov rdi, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140005b18
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005b13
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005b13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140025c10
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140025bf0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret