Function at 0x140008d74
Capabilities:
Delete file
Get common file path
Get file attributes
Move file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x290
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14005e0f0]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov r14, rcx
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r15w
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCurrentDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x140008e17
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jns 0x140008e17
mov ecx, edi
jmp 0x14000906c
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400082d4
lea rdx, str.Logs
lea rcx, [rsp + 0x50]
call fcn.140008534
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
mov ebx, eax
or r13d, 0xffffffff
cmp eax, r13d
je 0x140008e67
shr ebx, 4
and ebx, 1
jmp 0x140008e6a
mov ebx, r15d
xor ecx, ecx
call fcn.1400046c4
xor ecx, ecx
call fcn.1400046c4
test ebx, ebx
jne 0x140008e9c
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call fcn.1400085c8
mov edi, eax
test eax, eax
js 0x14000906a
mov esi, r15d
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140008ed9
lea rbx, [rax - 4]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
xor ecx, ecx
call fcn.1400046c4
mov qword [rsp + 0x30], r15
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
inc esi
mov dword [rsp + 0x20], esi
lea r9, str.RUXIMLog
lea rdx, str._s_s._03d.etl
lea rcx, [rsp + 0x30]
call fcn.1400088d8
mov edi, eax
test eax, eax
js 0x14000906a
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140008c3c
mov edi, eax
test eax, eax
js 0x14000906a
cmp esi, 0x32
jb 0x140008e9f
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rsi + 0x188]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, r13d
je 0x140008f5d
shr ebx, 4
not ebx
and ebx, 1
jmp 0x140008f60
mov ebx, r15d
xor ecx, ecx
call fcn.1400046c4
xor ecx, ecx
call fcn.1400046c4
test ebx, ebx
je 0x140008fb6
mov rcx, qword [rsi + 0x188]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140008fb6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jne 0x140008fa3
mov edi, 0x80004005
jmp 0x140008e10
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x140008e10
mov edi, 0x180
mov rcx, qword [rsi + rdi]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, r13d
je 0x140008fdc
shr ebx, 4
not ebx
and ebx, 1
jmp 0x140008fdf
mov ebx, r15d
xor ecx, ecx
call fcn.1400046c4
xor ecx, ecx
call fcn.1400046c4
test ebx, ebx
je 0x14000900e
mov rdx, qword [rdi + rsi + 8]
mov rcx, qword [rsi + rdi]
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_MoveFileW]
nop dword [rax + rax]
test eax, eax
je 0x140008f89
sub rdi, 8
cmp rdi, 0xfffffffffffffff8
jne 0x140008fbb
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, r13d
je 0x140009038
shr ebx, 4
not ebx
and ebx, 1
jmp 0x14000903b
mov ebx, r15d
xor ecx, ecx
call fcn.1400046c4
xor ecx, ecx
call fcn.1400046c4
mov edi, r15d
test ebx, ebx
je 0x14000905f
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
nop dword [rax + rax]
mov rax, qword [rsi]
mov qword [rsi], r15
mov qword [r14], rax
jmp 0x140009071
mov ecx, eax
call fcn.14000a34c
mov ecx, edi
call fcn.1400046c4
nop
lea rcx, [rsp + 0x50]
call fcn.140008164
nop
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1400090ba
lea rbx, [rax - 4]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
xor ecx, ecx
call fcn.1400046c4
nop
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140008918
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1400090f0
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140041d90
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret