Function at 0x18000709c
Capabilities:
Encode data using xor
Get common file path
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov ebp, dword [rsp + 0x70]
lea ebx, [rcx + 0x17e8]
add ebp, 0xffffda3d
add ecx, 0x554
mov eax, ebp
mov dword [rsp + 0x70], ecx
mov r11d, r9d
mov esi, r8d
xor r11d, 0x2c18
mov edi, r9d
xor eax, 0x3117
mov dword [rsp + 0x50], r11d
xor edi, 0x1ed9
xor esi, 0xbdc
cmp esi, eax
jge 0x180007419
mov eax, esi
xor eax, 0xeab
cmp ebx, eax
jle 0x180007372
cmp dword [0x1800e80d0], 0x6c67
mov r10, qword [rsp + 0x78]
je 0x180007136
mov rax, qword [section..data]
mov ecx, dword [rax + 0x138]
xor ecx, 0xba2e8ba2
mov dword [r10 + 0x98], ecx
jmp 0x180007143
mov eax, dword [0x1800e8058]
sub dword [r10 + 0x88], eax
add edi, 0x2a4d
lea rax, [0x180125900]
mov qword [r10 + 0xc8], rax
xor ebx, ebx
mov eax, dword [0x1800e8098]
mov edx, dword [0x1800e808c]
add eax, 0xfd70a9fc
mov rcx, qword [section..data]
add edx, eax
mov eax, dword [0x1800e8068]
imul eax, edx
mov dword [0x1800e8068], eax
mov eax, dword [0x1800e8010]
xor eax, dword [0x1800e80f0]
sub eax, 0x3565d7
add dword [rcx + 0x3c], eax
mov rcx, qword [section..data]
mov rax, qword [rcx + 0xc8]
mov r9d, dword [rbx + rax]
add rbx, 4
mov eax, dword [r10 + 0x7c]
xor eax, 0x73a01
or dword [rcx + 0xd8], eax
imul r9d, dword [0x1800e80a8]
movsxd rdx, dword [r10 + 0x9c]
mov rax, qword [section..data]
mov r8d, r9d
mov rcx, qword [rax + 0xd0]
shr r8d, 0x10
mov byte [rdx + rcx], r8b
mov edx, r9d
inc dword [r10 + 0x9c]
mov rax, qword [section..data]
shr edx, 8
mov ecx, dword [rax + 0xc0]
xor ecx, dword [r10 + 0x88]
xor ecx, 1
mov dword [r10 + 0x88], ecx
mov eax, dword [0x1800e80e8]
dec eax
xor dword [r10 + 0x140], eax
movsxd rcx, dword [0x1800e80ac]
mov rax, qword [r10 + 0xd0]
mov byte [rcx + rax], dl
mov ecx, dword [0x1800e80ac]
mov rdx, qword [section..data]
inc ecx
mov dword [0x1800e80ac], ecx
movsxd rcx, ecx
mov eax, dword [rdx + 0xe0]
xor eax, dword [rdx + 0xd8]
dec eax
xor dword [0x1800e807c], eax
mov rax, qword [rdx + 0xd0]
mov byte [rcx + rax], r9b
inc dword [0x1800e80ac]
mov rax, qword [section..data]
mov ecx, dword [rax + 0x88]
mov eax, dword [0x1800e8050]
add eax, 0xfd77e3e3
add ecx, eax
add dword [r10 + 0x54], ecx
mov ecx, dword [0x1800e8098]
mov rdx, qword [section..data]
xor ecx, 0x2881c05
mov eax, dword [rdx + 0xac]
imul eax, ecx
mov dword [rdx + 0xac], eax
mov rcx, qword [section..data]
mov eax, dword [rcx + 0x6c]
sub eax, 5
xor dword [rcx + 0x50], eax
mov eax, dword [r10 + 0x1c]
sub eax, dword [r10 + 0x3c]
mov rcx, qword [section..data]
sub eax, 0xf1a2f
add dword [rcx + 0xd8], eax
cmp rbx, 0x826a0
jl 0x180007159
cmp dword [0x1800e80e8], 0x3bcf
jne 0x18000730c
mov eax, dword [r10 + 0x54]
xor eax, dword [0x1800e807c]
xor eax, dword [0x1800e8064]
xor eax, dword [0x1800e80a4]
mov dword [0x1800e8064], eax
jmp 0x18000731b
mov eax, dword [r10 + 0x58]
sub eax, 0xfa062
mov dword [0x1800e80a8], eax
lea eax, [r11 - 0x387]
cmp edi, eax
je 0x18000746e
mov eax, dword [0x1800e8148]
mov rcx, qword [section..data]
xor eax, 0x34a84f8b
add dword [rcx + 0x98], eax
mov rax, qword [section..data]
mov ecx, dword [0x1800e802c]
cmp dword [rax], ecx
je 0x180007366
lea rax, [0x1800e8160]
mov qword [r10 + 0xc8], rax
jmp 0x18000746e
add dword [r10 + 0xac], ecx
jmp 0x18000746e
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + 0x24]
add eax, 0x2191
cmp dword [rcx + 0x58], eax
jbe 0x18000746e
mov rax, qword [section..data]
lea rcx, [0x1800e8010]
mov edx, dword [0x1800e8050]
mov r8d, r11d
mov r9d, dword [0x1800e80f0]
xor r8d, ebp
mov r10d, dword [0x1800e8068]
add edx, dword [rax + 0x6c]
add r10d, esi
mov qword [rsp + 0x28], rcx
mov eax, ebp
or eax, 0x2a4d
imul r9d, ebx
mov ecx, r10d
mov dword [rsp + 0x20], eax
call fcn.18000709c
mov rcx, qword [section..data]
mov ebx, eax
mov eax, dword [rsp + 0x70]
mov edx, dword [0x1800e80e8]
add edx, esi
sub eax, dword [rcx + 0x28]
add eax, dword [rsp + 0x50]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
mov rax, qword [section..data]
xor ebp, edi
or ebp, ebx
mov edx, ebp
mov ecx, dword [rax + 0x78]
xor rcx, 0x21
or rcx, 0x224e
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x18000746e
mov rcx, qword [rsp + 0x78]
mov eax, edi
sub eax, esi
mov dword [rsp + 0x70], edi
add eax, dword [rcx + 0x11c]
cmp edi, eax
jb 0x18000746e
movsxd rcx, ebx
movsxd rax, esi
and rcx, rax
or ebx, ebp
mov qword [rsp + 0x30], rcx
mov rbp, qword [rsp + 0x78]
mov rdx, rcx
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, dword [rsp + 0x70]
mov eax, edi
add ecx, 3
sub eax, esi
add eax, dword [rbp + 0x11c]
cmp ecx, eax
mov dword [rsp + 0x70], ecx
mov rcx, qword [rsp + 0x30]
jae 0x180007445
mov rbx, qword [rsp + 0x58]
lea eax, [rsi + 0xda9]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret