Function at 0x140009910
Capabilities:
Get file attributes
Move file
Set file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rsi, rcx
mov rax, qword [rcx]
mov rbx, qword [rax + 0x178]
xor r12d, r12d
test rbx, rbx
je 0x1400099f2
mov rax, qword [rbx]
cmp dword [rax + 0x174], 4
jl 0x1400099f2
call fcn.14009d5e8
mov r11, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x14000997a
mov ecx, 0x80004005
call fcn.1400034f0
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0xf8], rax
lea rax, [0x1400fb278]
mov qword [rsp + 0x20], rax
lea r9, str.ExecUninstallFile
lea r8, [0x1400fb2f8]
lea rdx, str.private__s::_s__s_
lea rcx, [rsp + 0xf8]
call fcn.14000a800
lea rdx, [rsp + 0xf8]
mov rcx, rbx
call fcn.14002f200
nop
mov rdx, qword [rsp + 0xf8]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400099f2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0x68]
call fcn.1400aa430
nop
lea r13, method.CPtrArray.virtual_0
mov qword [rsp + 0x68], r13
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [rsp + 0x90], rax
call fcn.1400a02a0
mov rcx, qword [rax + 8]
mov qword [rsp + 0x50], rcx
mov rax, qword [rcx + 0x140]
mov qword [rsp + 0x58], rax
mov rax, qword [rcx + 0x148]
mov qword [rsp + 0x60], rax
mov rax, qword [rsi + 8]
mov r9, qword [rax + 0x158]
cmp dword [r9 - 0x10], 0
cmove r9, r12
mov dword [rsp + 0x20], 1
mov r8, qword [rsi + 0x30]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.140061c90
test eax, eax
je 0x140009e1c
mov ebp, r12d
mov dword [rsp + 0x100], r12d
mov rdi, r12
mov qword [rsp + 0x108], r12
cmp qword [rsp + 0x78], r12
jle 0x140009e1c
nop
test rdi, rdi
js 0x140009e16
cmp rdi, qword [rsp + 0x78]
jge 0x140009e16
mov rax, qword [rsp + 0x70]
mov r15, qword [rax + rdi*8]
mov rdx, qword [r15 + 0x18]
test rdx, rdx
je 0x140009b03
movzx eax, byte [r15]
test al, 1
je 0x140009ad3
mov r8d, r12d
jmp 0x140009ade
mov r8b, al
and r8d, 2
shl r8d, 7
or r8d, 0x24
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov rcx, qword [rsi + 8]
call fcn.14000e170
cmp eax, 6
je 0x140009b31
cmp eax, 7
jne 0x140009d5e
jmp 0x140009b13
movzx eax, byte [r15]
test al, 1
jne 0x140009b31
test al, 2
je 0x140009d5e
movzx eax, byte [r15]
test al, 2
je 0x140009b1f
test al, 4
jne 0x140009b4d
test al, 1
je 0x140009d5e
test al, 8
je 0x140009d5e
jmp 0x140009b4d
movzx eax, byte [r15]
test al, 1
je 0x140009b3d
test al, 4
jne 0x140009b4d
test al, 2
je 0x140009d5e
test al, 8
je 0x140009d5e
mov rax, qword [r15 + 0x28]
test rax, rax
je 0x140009d5e
mov dword [rsp + 0xf8], r12d
mov r13, r12
cmp qword [rax + 0x10], r12
jle 0x140009d5e
nop
call fcn.1400a0754
test rax, rax
je 0x140009b88
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + pe_nt_image_headers64]
jmp 0x140009b8b
mov rax, r12
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2b3d
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11, qword [r15 + 0x28]
test r13, r13
js 0x140009bce
mov rax, qword [r11 + 0x10]
cmp r13, rax
jge 0x140009bce
test r13, r13
js 0x140009e07
cmp r13, rax
jge 0x140009e07
mov rax, qword [r11 + 8]
mov rbp, qword [rax + r13*8]
jmp 0x140009bd1
mov rbp, r12
mov r14, qword [rsi + 0x10]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x140009bf0
and eax, 0xfffffffe
mov edx, eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebx, r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x4000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x10000
lea r8d, [r9 + 1]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp rsi, 0xffffffffffffffff
jne 0x140009c84
cmp eax, 5
jne 0x140009c44
lea ecx, [rax + 0x5f]
call qword [sym.imp.KERNEL32.dll_Sleep]
add ebx, 1
cmp ebx, 0xa
jl 0x140009bf3
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbp
lea r9, [0x1400fc430]
lea r8, str.FileRemoveEx
lea rdx, str.CCmnFunc
mov rcx, qword [r14 + 8]
call fcn.140080a70
xor edx, edx
lea r8d, [rdx + 4]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140009d1e
jmp 0x140009cb4
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebx
lea r9, [0x1400fc3e0]
lea r8, str.FileRemoveEx
lea rdx, str.CCmnFunc
mov rcx, qword [r14 + 8]
call fcn.140081070
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0xf0]
mov rdi, qword [rsi + 8]
cmp qword [rdi + 0x60], 0
jne 0x140009d0b
mov ecx, 0x30
call fcn.140091360
mov rbx, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140009d04
mov rcx, rax
call fcn.1400aa430
nop
lea rax, method.CPtrArray.virtual_0
mov qword [rbx], rax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [rbx + 0x28], rax
jmp 0x140009d07
mov rbx, r12
mov qword [rdi + 0x60], rbx
test rbp, rbp
je 0x140009d26
mov rdx, rbp
mov rcx, qword [rdi + 0x60]
call fcn.14005cab0
jmp 0x140009d26
mov rsi, qword [rsp + 0xf0]
mov ebx, dword [rsp + 0xf8]
add ebx, 1
mov dword [rsp + 0xf8], ebx
add r13, 1
mov rax, qword [r15 + 0x28]
mov rcx, qword [rax + 0x10]
movsxd rax, ebx
cmp rax, rcx
jl 0x140009b70
mov rdi, qword [rsp + 0x108]
mov ebp, dword [rsp + 0x100]
mov rbx, qword [rsi + 8]
mov r8, qword [r15 + 8]
mov rcx, qword [rbx + 0x190]
test r8, r8
je 0x140009d7d
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [r15 + 0x10]
mov rcx, qword [rbx + 0x190]
test r8, r8
je 0x140009d98
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [r15 + 0x18]
mov rcx, qword [rbx + 0x190]
test r8, r8
je 0x140009db3
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [r15 + 0x20]
mov rcx, qword [rbx + 0x190]
test r8, r8
je 0x140009dce
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [r15 + 0x28]
test rcx, rcx
je 0x140009de2
mov rax, qword [rcx]
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add ebp, 1
mov dword [rsp + 0x100], ebp
add rdi, 1
mov qword [rsp + 0x108], rdi
movsxd rax, ebp
cmp rax, qword [rsp + 0x78]
jge 0x140009e0d
jmp 0x140009aa0
call fcn.1400a0610
int3
lea r13, method.CPtrArray.virtual_0
jmp 0x140009e1c
call fcn.1400a0610
nop
mov qword [rsp + 0x68], r13
cmp qword [rsp + 0x78], 0
jle 0x140009e7d
nop
nop
test r12, r12
js 0x140009e77
cmp r12, qword [rsp + 0x78]
jge 0x140009e77
mov rax, qword [rsp + 0x70]
mov r8, qword [rax + r12*8]
test r8, r8
je 0x140009e5a
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add r12, 1
cmp r12, qword [rsp + 0x78]
jl 0x140009e30
or r8, 0xffffffffffffffff
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.1400aa464
jmp 0x140009e7d
call fcn.1400a0610
int3
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
nop
lea rcx, [rsp + 0x68]
call fcn.1400aa450
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret