Function at 0x140004ab0
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x990]
sub rsp, 0xa90
mov rax, qword [0x140214ec8]
xor rax, rsp
mov qword [rbp + 0x980], rax
lea rax, str..dv.tmp
xor edx, edx
mov qword [rbp + 0x300], rax
lea rcx, [rbp + 0x650]
lea rax, str..dv.temp
mov r8d, 0x104
mov qword [rbp + 0x308], rax
lea rax, str..dvx.tmp
mov qword [rbp + 0x310], rax
lea rax, str..dvx.temp
mov qword [rbp + 0x318], rax
call fcn.1400ad180
xor edx, edx
lea rcx, [rbp + 0x870]
mov r8d, 0x104
call fcn.1400ad180
xor r9d, r9d
mov qword [rsp + 0x20], 0
mov edx, 0x104
lea rcx, [rbp + 0x650]
lea r8d, [r9 + 2]
call fcn.140013cb0
lea rcx, [rbp + 0x650]
call fcn.1400053b0
xor esi, esi
lea r14, [rbp + 0x300]
lea r15, [0x14012779c]
lea r12, str.Recover_Temp_REPO__s__result_d__n
lea r13, str.Rollback_Temp_REPO__s__result_d__n
nop dword [rax]
nop word [rax + rax]
xor edx, edx
lea rcx, [rbp + 0x80]
mov r8d, 0x104
call fcn.1400ad180
mov r9, qword [r14]
lea r8, [0x1401277e4]
lea rdx, [rbp + 0x870]
mov ecx, 0x104
call fcn.140005650
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x140
call fcn.1400ad180
lea rax, [rbp + 0x870]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x650]
lea r8, [0x1401277a0]
mov qword [rsp + 0x20], r15
lea rdx, [rbp + 0x430]
call fcn.140005650
mov ecx, 0x110
call fcn.1400bae58
mov rdi, rax
test rax, rax
je 0x140004c33
xor edx, edx
mov r8d, 0x110
mov rcx, rax
call fcn.1400ad180
test rdi, rdi
je 0x14000507f
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x430]
call qword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov qword [rdi], rax
cmp rax, 0xffffffffffffffff
je 0x140004d61
nop dword [rax + rax]
lea rax, [rsp + 0x6c]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x650]
lea r8, [0x1401277a0]
mov qword [rsp + 0x20], r15
lea rdx, [rbp + 0x430]
call fcn.140005650
lea rcx, [rbp + 0x430]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140004d00
bt eax, 0xa
jae 0x140004d00
lea rcx, [rbp + 0x430]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140004cee
bt eax, 0xa
jae 0x140004cee
lea rcx, [rbp + 0x430]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140004ce2
test al, 0x10
je 0x140004ce2
lea rcx, [rbp + 0x430]
call fcn.1400d89e4
jmp 0x140004cee
lea rcx, [rbp + 0x430]
call fcn.1400bd7ac
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x140
call fcn.1400ad180
cmp byte [rsp + 0x6c], 0
jne 0x140004d28
mov rcx, qword [rdi]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
je 0x140004c60
cmp byte [rsp + 0x6c], 0
je 0x140005061
lea rcx, [rdi + 8]
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x650]
mov edx, 0x104
call fcn.1400baf28
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x6c]
mov edx, 0x104
lea rcx, [rbp + 0x80]
call fcn.1400baf28
cmp byte [rsp + 0x6c], 0
je 0x140005061
nop dword [rax]
xor edx, edx
lea rcx, [rbp + 0x760]
mov r8d, 0x104
call fcn.1400ad180
xor edx, edx
lea rcx, [rbp + 0x320]
mov r8d, 0x104
call fcn.1400ad180
cmp dword [0x140217720], 0
jne 0x1400050c0
lea r9, [rbp + 0x80]
mov qword [rsp + 0x20], 0
mov edx, 0x104
lea rcx, [rbp + 0x760]
mov r8d, 2
call fcn.140013cb0
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x760]
mov edx, 0x104
lea rcx, [rbp + 0x320]
call fcn.1400baf28
mov edx, 0x2e
lea rcx, [rbp + 0x320]
call fcn.1400ad888
mov rbx, rax
test rax, rax
je 0x140004f45
mov edx, 0x2e
lea rcx, [rbp + 0x80]
call fcn.1400ad888
test rax, rax
je 0x140004f45
lea rdx, str..temp
mov byte [rbx], 0
mov rcx, rax
call fcn.1400d4a48
test eax, eax
jne 0x140004eea
lea rcx, [rbp + 0x320]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140004e88
bt eax, 0xa
jae 0x140004e88
lea rcx, [rbp + 0x320]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140004e78
test al, 0x10
je 0x140004e78
lea rcx, [rbp + 0x320]
call fcn.1400d89e4
jmp 0x140004e84
lea rcx, [rbp + 0x320]
call fcn.1400bd7ac
test eax, eax
jne 0x140004e9f
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x320]
call fcn.1400d849c
test eax, eax
je 0x140004eea
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x760]
call fcn.1400bd4c8
cmp dword [0x14020e430], 3
jl 0x140004f45
test dword [0x14020e494], 0x400000
je 0x140004f45
mov dword [rsp + 0x38], eax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x1b4
jmp 0x140004f28
lea rcx, [rbp + 0x760]
call fcn.1400bd7ac
cmp dword [0x14020e430], 3
jl 0x140004f45
test dword [0x14020e494], 0x400000
je 0x140004f45
mov dword [rsp + 0x38], eax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x1b9
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_LIBSourcesesif_lib_databank.c
mov edx, 3
lea r8, str.DataBank_RollbackRepos
mov ecx, 0x400000
call fcn.140078130
xor edx, edx
lea rcx, [rbp + 0x1c0]
mov r8d, 0x140
call fcn.1400ad180
xor edx, edx
lea rcx, [rbp + 0x540]
mov r8d, 0x104
call fcn.1400ad180
nop dword [rax]
mov rcx, qword [rdi]
lea rdx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.DLL_FindNextFileA]
cmp eax, 1
jne 0x140005039
lea rax, [rbp + 0x1ec]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rdi + 8]
lea r8, [0x1401277a0]
mov qword [rsp + 0x20], r15
lea rdx, [rbp + 0x540]
call fcn.140005650
lea rcx, [rbp + 0x540]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000502a
bt eax, 0xa
jae 0x14000502a
lea rcx, [rbp + 0x540]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140005016
bt eax, 0xa
jae 0x140005016
lea rcx, [rbp + 0x540]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000500a
test al, 0x10
je 0x14000500a
lea rcx, [rbp + 0x540]
call fcn.1400d89e4
jmp 0x140005016
lea rcx, [rbp + 0x540]
call fcn.1400bd7ac
xor edx, edx
lea rcx, [rbp + 0x1c0]
mov r8d, 0x140
call fcn.1400ad180
cmp byte [rbp + 0x1ec], 0
je 0x140004f70
jmp 0x14000503d
test eax, eax
je 0x140005061
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x1ec]
mov edx, 0x104
lea rcx, [rbp + 0x80]
call fcn.1400baf28
jmp 0x140004d70
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x140005077
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov qword [rdi], 0xffffffffffffffff
mov rcx, rdi
call fcn.1400bae44
inc esi
add r14, 8
cmp esi, 4
jb 0x140004ba0
xor eax, eax
mov rcx, qword [rbp + 0x980]
xor rcx, rsp
call fcn.1400ab870
lea r11, [rsp + 0xa90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x1400050d6
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov qword [rdi], 0xffffffffffffffff
mov rcx, rdi
call fcn.1400bae44
cmp dword [0x14020e430], 3
jl 0x140005124
test dword [0x14020e494], 0x400000
je 0x140005124
lea rax, str.Pausing_DV_loading_n
mov edx, 3
mov qword [rsp + 0x28], rax
lea r9, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_LIBSourcesesif_lib_databank.c
lea r8, str.DataBank_RollbackRepos
mov dword [rsp + 0x20], 0x1a6
mov ecx, 0x400000
call fcn.140078130
mov eax, 0x68
jmp 0x140005090