Function at 0x1400071b4
Capabilities:
Check if file exists
Create process on windows
Delete directory
Delete file
Get common file path
Get comspec environment variable
Get file attributes
Move file
Query environment variable
Self delete
Set current directory
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
mov eax, 0x9e80
call fcn.140014400
sub rsp, rax
mov rax, qword [0x14001b290]
xor rax, rsp
mov qword [rsp + 0x9e70], rax
mov r13d, 0x800
lea rdx, [rsp + 0x1670]
xor ecx, ecx
mov r8d, r13d
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, [rsp + 0x1670]
lea rcx, [rsp + 0x2670]
call fcn.14000865c
lea rcx, [rsp + 0x2670]
mov edx, 0x5c
call fcn.140009074
xor r12d, r12d
cmp rax, r12
je 0x1400077ef
lea rcx, [rsp + 0x2670]
cmp rax, rcx
jbe 0x14000724e
cmp word [rax - 2], 0x3a
jne 0x14000724e
mov word [rax + 2], r12w
jmp 0x140007252
mov word [rax], r12w
lea rcx, [rsp + 0x2670]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, [rsp + 0x2670]
mov rdx, r13
call fcn.1400046ac
mov esi, 0x13f2
cmp byte [0x1400219a0], r12b
jne 0x1400072ad
mov ecx, esi
call fcn.140006370
lea ecx, [rsi + 3]
mov rbx, rax
call fcn.140006370
mov r9d, 0x10024
mov r8, rbx
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x1400077ef
lea rdx, [0x140016ec4]
lea rcx, str.Uninstall.lst
call fcn.140001c1c
mov rdi, rax
cmp rax, r12
jne 0x140007313
mov ecx, 0x13f6
call fcn.140006370
lea r9, str.Uninstall.lst
lea rcx, [rsp + 0xe0]
mov r8, rax
mov edx, 0xc8
call fcn.140004c64
mov ecx, esi
call fcn.140006370
lea rdx, [rsp + 0xe0]
mov r9d, 0x10010
mov r8, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1400077ef
mov ecx, 0x13fc
call fcn.140006370
mov ebx, 0x100
lea rcx, [rsp + 0xc70]
mov rdx, rax
mov r8, rbx
call fcn.1400065a8
mov ecx, esi
call fcn.140006370
lea rcx, [rsp + 0xa70]
mov r8, rbx
mov rdx, rax
call fcn.1400065a8
call fcn.140006c3c
lea rcx, [0x14001e830]
call fcn.1400061e4
cmp byte [0x1400219a1], r12b
jne 0x1400077ef
mov rbx, r12
lea rsi, str.winrar.gid
xor edx, edx
mov rcx, qword [rbx + rsi]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rbx + rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
add rbx, 8
cmp rbx, 0x10
jb 0x140007370
mov bpl, r12b
lea rcx, [rsp + 0x270]
mov r8, rdi
mov edx, r13d
mov esi, r12d
call fcn.14000a18c
cmp rax, r12
je 0x1400075aa
lea rcx, [rsp + 0x270]
call fcn.140009400
dec eax
movsxd rcx, eax
cmp rcx, r12
jl 0x1400073f5
mov al, byte [rsp + rcx + 0x270]
cmp al, 0xd
je 0x1400073e7
cmp al, 0xa
je 0x1400073e7
cmp al, 0x20
je 0x1400073e7
cmp al, 9
jne 0x1400073f5
mov byte [rsp + rcx + 0x270], r12b
sub rcx, 1
jns 0x1400073d0
cmp byte [rsp + 0x270], r12b
je 0x140007577
lea rdx, [rsp + 0x2670]
lea rcx, [rsp + 0x4670]
call fcn.14000865c
lea rcx, [rsp + 0x4670]
call fcn.140008cdc
mov r8d, 0x1000
lea rcx, [rsp + 0x270]
lea rdx, [rsp + rax*2 + 0x4670]
sub r8, rax
call fcn.14000673c
lea rcx, [rsp + 0x4670]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea rcx, [rsp + 0x4670]
xor edx, edx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp ebx, 0xffffffff
je 0x140007482
test bl, 0x10
je 0x140007482
lea rcx, [rsp + 0x4670]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add esi, eax
jmp 0x140007577
lea rcx, [rsp + 0x4670]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
add esi, eax
cmp eax, r12d
jne 0x140007577
cmp ebx, 0xffffffff
je 0x140007577
lea rcx, [rsp + 0x4670]
call fcn.1400047b0
lea rcx, [rsp + 0x1670]
mov rbx, rax
call fcn.1400047b0
mov rcx, rbx
mov rdx, rax
call fcn.140006790
cmp eax, r12d
je 0x140007577
lea rdx, str.Uninstall.lst
mov rcx, rbx
call fcn.140006790
cmp eax, r12d
je 0x140007577
mov bpl, 1
mov ebx, r12d
lea r9, [rsp + 0x4670]
lea r8, str._s._d.tmp
lea rcx, [rsp + 0x3670]
mov rdx, r13
mov dword [rsp + 0x20], ebx
call fcn.140004c64
lea rcx, [rsp + 0x3670]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140007533
inc ebx
cmp ebx, 0x3e8
jl 0x1400074f3
lea rdx, [rsp + 0x3670]
lea rcx, [rsp + 0x4670]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, r12d
jne 0x140007563
lea rdx, [rsp + 0x4670]
lea rcx, [rsp + 0x3670]
call fcn.14000865c
xor edx, edx
lea rcx, [rsp + 0x3670]
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rcx, [rsp + 0x270]
mov r8, rdi
mov edx, r13d
call fcn.14000a18c
cmp rax, r12
jne 0x1400073b9
cmp esi, r12d
je 0x1400075aa
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.14000a0dc
jmp 0x14000739a
mov rcx, rdi
call fcn.140008d84
lea rcx, str.Uninstall.lst
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp bpl, r12b
je 0x1400075eb
cmp byte [0x1400219a0], r12b
jne 0x1400075eb
lea r8, [rsp + 0xa70]
lea rdx, [rsp + 0xc70]
mov r9d, 0x10040
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rdx, [rsp + 0x6670]
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rdx, str.Uninstall_Rar.Bat
lea rcx, [rsp + 0x6670]
call fcn.140008630
lea rdx, [0x140016448]
lea rcx, [rsp + 0x6670]
call fcn.140001c1c
mov rbx, rax
cmp rax, r12
je 0x1400077ef
mov esi, 0x400
lea r9, [rsp + 0x1670]
lea r8, str.__s___wait_r_n
lea rcx, [rsp + 0xe70]
mov rdx, rsi
call fcn.140004c64
lea rdx, [rsp + 0xe70]
mov rcx, rbx
call fcn.140006bbc
lea rdx, [rsp + 0x7e70]
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea r11, [rsp + 0x1670]
lea rax, [rsp + 0x7e70]
mov qword [rsp + 0x28], r11
lea r9, [rsp + 0x1670]
lea r8, str.del___s__r_nrd___s__r_nif_not_exist___s__goto_done_r_n
lea rcx, [rsp + 0xe70]
mov rdx, rsi
mov qword [rsp + 0x20], rax
call fcn.140004c64
mov edi, 5
lea rdx, [rsp + 0xe70]
mov rcx, rbx
call fcn.140006bbc
sub rdi, 1
jne 0x1400076b3
lea rax, [rsp + 0x6670]
lea r9, [rsp + 0x1670]
lea r8, str.:done_r_nif_exist___s____s___warning_r_ndel___s_
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1670]
lea rcx, [rsp + 0xe70]
mov rdx, rsi
mov qword [rsp + 0x20], rax
call fcn.140004c64
lea rdx, [rsp + 0xe70]
mov rcx, rbx
call fcn.140006bbc
mov rcx, rbx
call fcn.140008d84
lea rdx, [rsp + 0x8e70]
lea rcx, str.COMSPEC
mov r8d, r13d
mov word [rsp + 0x8e70], r12w
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea r11, [rsp + 0x6670]
lea r9, [rsp + 0x8e70]
lea r8, str._s__c___s_
lea rcx, [rsp + 0x7670]
mov rdx, rsi
mov qword [rsp + 0x20], r11
call fcn.140004c64
lea ebx, [rdi + 0x68]
lea rcx, [rsp + 0x50]
mov r8, rbx
xor edx, edx
call fcn.140008bf0
lea rcx, [0x140015648]
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x8c], 1
mov word [rsp + 0x90], r12w
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call fcn.140004620
lea rdx, [rsp + 0x7670]
neg eax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x48], rax
sbb ecx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
not ecx
mov qword [rsp + 0x38], r12
and ecx, 8
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov dword [rsp + 0x28], ecx
xor ecx, ecx
xor r8d, r8d
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x9e70]
xor rcx, rsp
call fcn.140008610
lea r11, [rsp + 0x9e80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rdi
ret