Function at 0x14005a940
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1400f6f40]
xor rax, rsp
mov qword [rbp + 0x1f], rax
xor r15d, r15d
mov rdx, qword [0x1401d0790]
add rdx, 0x18
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 8]
lea r8, [rbp - 0x29]
mov rcx, qword [0x1401d07a0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp - 0x29]
add rdx, 0x100
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 8]
lea r8, [rbp - 0x21]
mov rcx, qword [0x1401d07a0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r14, qword [rbp - 0x21]
lea r13, [0x1401cff30]
mov rbx, r13
mov esi, 0x100
mov rdi, r14
test r14, r14
je 0x14005aa19
mov qword [rsp + 0x20], r15
mov r9d, 8
lea r8, [rbp - 0x29]
mov rdx, rdi
mov rcx, qword [0x1401d07a0]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rbp - 0x29]
test rax, rax
je 0x14005aa19
mov rcx, qword [0x1401cf6f8]
test rcx, rcx
je 0x14005aa19
cmp rax, rcx
je 0x14005aa19
mov qword [rbx], rax
add rdi, 0x10
add rbx, 8
sub rsi, 1
jne 0x14005a9d8
mov edi, r15d
mov rbx, r15
lea r12, [0x1401ceed0]
mov r14d, dword [0x1400f6f90]
nop dword [rax + rax]
cmp qword [rbx + r13], 0
je 0x14005af57
lea r9, [rbp + 0x1c]
mov r8d, edi
test edi, edi
jns 0x14005aaa0
neg r8d
nop dword [rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x14005aa60
dec r9
mov byte [r9], 0x2d
jmp 0x14005aaca
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x14005aaa0
lea r8, [rbp + 0x1c]
mov rdx, r9
lea rcx, [rbp - 0x19]
call fcn.140064dd0
nop
cmp qword [rbx + r12], 0
jne 0x14005ad0d
mov dword [rbp - 0x21], 0x43470000
mov dword [rbp - 0x1d], 0x41b00000
movups xmm0, xmmword [0x1400c08d8]
movups xmmword [rbp - 0x69], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x14005ac91
cmp r14d, 2
jl 0x14005ac4f
movdqa xmm5, xmmword [0x1400c0df0]
mov edx, r15d
movdqa xmm4, xmmword [0x1400c0ef0]
movdqa xmm6, xmmword [0x1400c0e40]
movdqa xmm0, xmmword [0x1400c0f80]
movdqa xmmword [rbp - 0x59], xmm0
lea rcx, [rbp - 0x65]
mov r8d, dword [rbp - 0x59]
nop word [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
psrad xmm1, 1
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 [0x1400c0ec0]
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
psrad xmm1, 1
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 [0x1400c0ec0]
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 0x14005ab50
jmp 0x14005ac91
lea r9, [rbp - 0x69]
mov r8d, r15d
nop word [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x37
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x14005ac60
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x49]
call fcn.140064780
nop
cmp qword [rax + 0x18], 0xf
jbe 0x14005acad
mov rax, qword [rax]
lea rdx, [rbp - 0x21]
mov rcx, rax
call fcn.140030cc0
movzx esi, al
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x14005acf7
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005acf2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005af9b
call fcn.14009a37c
test sil, sil
je 0x14005af20
mov rax, qword [rbx + r13]
mov qword [rbx + r12], rax
jmp 0x14005af20
mov dword [rbp - 0x29], 0x43470000
mov dword [rbp - 0x25], 0x41b00000
movups xmm0, xmmword [0x1400c0990]
movups xmmword [rbp - 0x69], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x14005aeb1
cmp r14d, 2
jl 0x14005ae70
movdqa xmm5, xmmword [0x1400c0df0]
mov edx, r15d
movdqa xmm4, xmmword [0x1400c0ef0]
movdqa xmm6, xmmword [0x1400c0e40]
movdqa xmm0, xmmword [0x1400c0f80]
movdqa xmmword [rbp - 0x59], xmm0
lea rcx, [rbp - 0x65]
mov r8d, dword [rbp - 0x59]
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
psrad xmm1, 1
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 [0x1400c0ec0]
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
psrad xmm1, 1
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 [0x1400c0ec0]
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 0x14005ad71
jmp 0x14005aeb1
lea r9, [rbp - 0x69]
mov r8d, r15d
nop word [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x37
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x14005ae80
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x49]
call fcn.140064780
nop
cmp qword [rax + 0x18], 0xf
jbe 0x14005aecd
mov rax, qword [rax]
lea rdx, [rbp - 0x29]
mov rcx, rax
call fcn.140030cc0
movzx esi, al
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x14005af17
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005af12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005afa2
call fcn.14009a37c
test sil, sil
je 0x14005af20
mov qword [rbx + r12], r15
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x14005af57
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005af52
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005afa9
call fcn.14009a37c
inc edi
add rbx, 8
cmp edi, 0x100
jl 0x14005aa40
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140099fc0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3