Function at 0x140034080
Capabilities:
Delete file
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
mov eax, 0x1940
call fcn.14006f190
sub rsp, rax
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rsp + 0x1930], rax
lea r14, [rcx + 0x510]
mov rbp, rcx
lea r9, [rcx + 0x10]
mov qword [rsp + 0x20], r14
lea rcx, [rsp + 0x130]
mov edx, 0x400
lea r8, [0x1400c461c]
xor esi, esi
call fcn.140044c10
lea r15, [rbp + 0x410]
mov edx, 0x400
lea r9, [rbp + 0x10]
mov qword [rsp + 0x20], r15
lea r8, [0x1400c4624]
mov ebx, eax
lea rcx, [rsp + 0x530]
call fcn.140044c10
cmp ebx, 0x3ff
jge 0x140034275
cmp eax, 0x3ff
jge 0x140034275
lea rax, [rsp + 0x930]
mov dword [rsp + 0x28], 0x400
lea r9d, [rsi - 1]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x130]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x14003419c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14003417b
lea r8, [rsp + 0x130]
mov edx, 0x400
lea rcx, str.String_too_long:__.s_r_n
call fcn.140020ee0
jmp 0x14003419c
mov r8d, 0x100
lea rdx, [rsp + 0x30]
mov ecx, eax
call fcn.140044d90
mov rdx, rax
lea rcx, [0x1400c2b70]
call fcn.140020ee0
lea rax, [rsp + 0x1130]
mov dword [rsp + 0x28], 0x400
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x530]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140034217
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400341f6
lea r8, [rsp + 0x530]
mov edx, 0x400
lea rcx, str.String_too_long:__.s_r_n
call fcn.140020ee0
jmp 0x140034217
mov r8d, 0x100
lea rdx, [rsp + 0x30]
mov ecx, eax
call fcn.140044d90
mov rdx, rax
lea rcx, [0x1400c2b70]
call fcn.140020ee0
lea rdx, [rsp + 0x1130]
lea rcx, [rsp + 0x930]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x140034296
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x930]
mov ebx, eax
lea rcx, str.Error_renaming___S__r_n
call fcn.140020ee0
mov r8d, 0x100
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.140044d90
mov rdx, rax
lea rcx, [0x1400c4668]
call fcn.140020ee0
mov esi, 0xffffffe3
jmp 0x140034296
lea r9, [rbp + 0x10]
mov qword [rsp + 0x20], r15
mov r8, r14
lea rdx, [rbp + 0x10]
lea rcx, str.Paths_too_long:_r_n_s_s_r_n_s_s_r_n
call fcn.140020ee0
mov esi, 0xffffffe7
mov rcx, qword [rbp + 0x710]
test rcx, rcx
je 0x1400343c3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rbx, [rbp + 0x610]
mov edx, 0x400
lea r9, [rbp + 0x10]
mov qword [rsp + 0x20], rbx
lea r8, [0x1400c4670]
lea rcx, [rsp + 0x130]
call fcn.140044c10
cmp eax, 0x3ff
jl 0x1400342f9
mov r8, rbx
lea rdx, [rbp + 0x10]
lea rcx, str.Path_too_long:__s_s_r_n
call fcn.140020ee0
mov eax, 0xffffffe7
jmp 0x1400343c5
lea rax, [rsp + 0x930]
mov dword [rsp + 0x28], 0x400
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x130]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140034374
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140034353
lea r8, [rsp + 0x130]
mov edx, 0x400
lea rcx, str.String_too_long:__.s_r_n
call fcn.140020ee0
jmp 0x140034374
mov r8d, 0x100
lea rdx, [rsp + 0x30]
mov ecx, eax
call fcn.140044d90
mov rdx, rax
lea rcx, [0x1400c2b70]
call fcn.140020ee0
lea rcx, [rsp + 0x930]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400343c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x930]
mov ebx, eax
lea rcx, str.Error_removing___S__r_n
call fcn.140020ee0
mov r8d, 0x100
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.140044d90
mov rdx, rax
lea rcx, [0x1400c46a8]
call fcn.140020ee0
mov eax, esi
mov rcx, qword [rsp + 0x1930]
xor rcx, rsp
call fcn.14006f1f0
lea r11, [rsp + 0x1940]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret