Function at 0x140007da4
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 [0x14004b0e0]
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 0x140007e47
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 0x140007e47
mov ecx, edi
jmp 0x14000809c
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14000908c
lea rdx, str.Logs
lea rcx, [rsp + 0x50]
call fcn.140007564
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 0x140007e97
shr ebx, 4
and ebx, 1
jmp 0x140007e9a
mov ebx, r15d
xor ecx, ecx
call fcn.1400046f4
xor ecx, ecx
call fcn.1400046f4
test ebx, ebx
jne 0x140007ecc
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call fcn.1400075f8
mov edi, eax
test eax, eax
js 0x14000809a
mov esi, r15d
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140007f09
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.1400046f4
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.140007908
mov edi, eax
test eax, eax
js 0x14000809a
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140007c6c
mov edi, eax
test eax, eax
js 0x14000809a
cmp esi, 0x32
jb 0x140007ecf
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 0x140007f8d
shr ebx, 4
not ebx
and ebx, 1
jmp 0x140007f90
mov ebx, r15d
xor ecx, ecx
call fcn.1400046f4
xor ecx, ecx
call fcn.1400046f4
test ebx, ebx
je 0x140007fe6
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 0x140007fe6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jne 0x140007fd3
mov edi, 0x80004005
jmp 0x140007e40
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x140007e40
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 0x14000800c
shr ebx, 4
not ebx
and ebx, 1
jmp 0x14000800f
mov ebx, r15d
xor ecx, ecx
call fcn.1400046f4
xor ecx, ecx
call fcn.1400046f4
test ebx, ebx
je 0x14000803e
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 0x140007fb9
sub rdi, 8
cmp rdi, 0xfffffffffffffff8
jne 0x140007feb
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 0x140008068
shr ebx, 4
not ebx
and ebx, 1
jmp 0x14000806b
mov ebx, r15d
xor ecx, ecx
call fcn.1400046f4
xor ecx, ecx
call fcn.1400046f4
mov edi, r15d
test ebx, ebx
je 0x14000808f
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 0x1400080a1
mov ecx, eax
call fcn.1400095d8
mov ecx, edi
call fcn.1400046f4
nop
lea rcx, [rsp + 0x50]
call fcn.140008e8c
nop
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1400080ea
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.1400046f4
nop
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140007948
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140008120
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.140034c70
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