Function at 0x1400028e0
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push rbx
sub rsp, 0x890
mov rax, qword [0x1400e71f0]
xor rax, rsp
mov qword [rsp + 0x860], rax
cmp dword [rcx + 4], 1
mov rbx, rcx
je 0x14000290e
mov eax, 1
jmp 0x140002c05
mov qword [rsp + 0x8a8], rbp
mov qword [rsp + 0x8b0], rsi
mov qword [rsp + 0x888], rdi
mov qword [rsp + 0x880], r12
mov qword [rsp + 0x878], r13
mov qword [rsp + 0x870], r14
mov r14d, 1
call fcn.140069504
xor r12d, r12d
xor r13d, r13d
cmp qword [rbx + 0x238], r12
jle 0x140002bcb
nop
xor ebp, ebp
test r12, r12
mov esi, 1
js 0x140002c1e
cmp r12, qword [rbx + 0x238]
jge 0x140002c1e
mov r8, qword [rbx + 0x230]
lea rcx, [rsp + 0x20]
mov edx, 0x104
mov r8, qword [r8 + r12*8]
call fcn.140081cd0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
not rcx
cmp rcx, rsi
je 0x140002bb3
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400013f0
mov edx, dword [rbx]
cmp edx, 6
je 0x1400029ca
cmp edx, 0xa
jne 0x140002a12
mov rdx, qword [0x1400e9348]
lea rcx, [rsp + 0x20]
call fcn.1400804d0
test rax, rax
jne 0x140002a0d
mov rdx, qword [0x1400e9378]
lea rcx, [rsp + 0x20]
call fcn.1400804d0
test rax, rax
jne 0x140002a0d
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x140002a12
xor esi, esi
lea ebp, [rsi + 5]
cmp dword [rbx], 5
jne 0x140002a5f
mov rdx, qword [0x1400e9340]
lea rcx, [rsp + 0x20]
call fcn.1400804d0
test rax, rax
jne 0x140002a5a
mov rdx, qword [0x1400e9370]
lea rcx, [rsp + 0x20]
call fcn.1400804d0
test rax, rax
jne 0x140002a5a
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x140002a5f
xor esi, esi
lea ebp, [rsi + 5]
mov eax, dword [rbx]
cmp eax, 2
je 0x140002a6b
cmp eax, 3
jne 0x140002aac
mov rdx, qword [0x1400e9338]
lea rcx, [rsp + 0x20]
call fcn.1400804d0
test rax, rax
jne 0x140002abd
mov rdx, qword [0x1400e9368]
lea rcx, [rsp + 0x20]
call fcn.1400804d0
test rax, rax
jne 0x140002abd
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
test esi, esi
jne 0x140002bb3
cmp ebp, 2
je 0x140002bb3
mov eax, dword [rbx]
cmp eax, 5
je 0x140002b00
cmp eax, 6
je 0x140002b00
cmp eax, 0xa
je 0x140002b00
lea rdx, [rsp + 0x440]
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
lea rdx, [rsp + 0x440]
lea rcx, [0x1400a4158]
call fcn.1400164a0
jmp 0x140002bb3
lea rcx, [rsp + 0x230]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r9, str.UNINSTAL.tmp
lea r8, [rsp + 0x230]
lea rdx, [0x1400a3e08]
lea rcx, [rsp + 0x230]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x650]
mov r9d, 0xa
mov r8d, 0x104
mov ecx, r13d
call fcn.140081fd0
lea rdx, [rsp + 0x650]
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x20]
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x140002baa
xor edx, edx
lea rcx, [rsp + 0x230]
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x140002bb3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r14d, r14d
add r13d, 1
add r12, 1
movsxd rax, r13d
cmp rax, qword [rbx + 0x238]
jl 0x140002960
mov r13, qword [rsp + 0x878]
mov r12, qword [rsp + 0x880]
mov rdi, qword [rsp + 0x888]
mov rsi, qword [rsp + 0x8b0]
mov rbp, qword [rsp + 0x8a8]
mov eax, r14d
mov r14, qword [rsp + 0x870]
mov dword [rbx + 4], 0
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.140081050
add rsp, 0x890
pop rbx
ret
call fcn.14006766c
int3