Function at 0x140038be0
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 - 0x9a0]
sub rsp, 0xaa0
mov rax, qword [0x14027df48]
xor rax, rsp
mov qword [rbp + 0x990], rax
lea rax, str..dv.tmp
xor edx, edx
mov qword [rbp + 0x310], rax
lea rcx, [rbp + 0x660]
lea rax, str..dv.temp
mov r8d, 0x104
mov qword [rbp + 0x318], rax
lea rax, str..dvx.tmp
mov qword [rbp + 0x320], rax
lea rax, str..dvx.temp
mov qword [rbp + 0x328], rax
call fcn.140104310
xor edx, edx
lea rcx, [rbp + 0x880]
mov r8d, 0x104
call fcn.140104310
xor r9d, r9d
mov qword [rsp + 0x20], 0
mov edx, 0x104
lea rcx, [rbp + 0x660]
lea r8d, [r9 + 2]
call fcn.140047820
lea rcx, [rbp + 0x660]
call fcn.140039630
xor r15d, r15d
lea r12, [rbp + 0x310]
lea r13, [0x14017f5f4]
lea r14d, [r15 + 1]
nop word [rax + rax]
xor edx, edx
lea rcx, [rbp + 0x90]
mov r8d, 0x104
call fcn.140104310
mov r9, qword [r12]
lea r8, [0x14017f63c]
lea rdx, [rbp + 0x880]
mov ecx, 0x104
call fcn.1400398d0
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x140
call fcn.140104310
lea rax, [rbp + 0x880]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x660]
lea r8, [0x14017f5f8]
mov qword [rsp + 0x20], r13
lea rdx, [rbp + 0x440]
call fcn.1400398d0
mov ecx, 0x110
call fcn.1401120e8
mov rsi, rax
test rax, rax
je 0x140038d54
xor edx, edx
mov r8d, 0x110
mov rcx, rax
call fcn.140104310
test rsi, rsi
je 0x1400391ff
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x440]
call qword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov qword [rsi], rax
cmp rax, 0xffffffffffffffff
je 0x140038e81
nop dword [rax]
lea rax, [rsp + 0x7c]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x660]
lea r8, [0x14017f5f8]
mov qword [rsp + 0x20], r13
lea rdx, [rbp + 0x440]
call fcn.1400398d0
lea rcx, [rbp + 0x440]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140038e20
bt eax, 0xa
jae 0x140038e20
lea rcx, [rbp + 0x440]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140038e0e
bt eax, 0xa
jae 0x140038e0e
lea rcx, [rbp + 0x440]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140038e02
test al, 0x10
je 0x140038e02
lea rcx, [rbp + 0x440]
call fcn.14012fc74
jmp 0x140038e0e
lea rcx, [rbp + 0x440]
call fcn.140114a3c
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x140
call fcn.140104310
cmp byte [rsp + 0x7c], 0
jne 0x140038e48
mov rcx, qword [rsi]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
je 0x140038d80
cmp byte [rsp + 0x7c], 0
je 0x1400391e1
lea rcx, [rsi + 8]
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x660]
mov edx, 0x104
call fcn.1401121b8
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x7c]
mov edx, 0x104
lea rcx, [rbp + 0x90]
call fcn.1401121b8
cmp byte [rsp + 0x7c], 0
je 0x1400391e1
nop dword [rax]
xor edx, edx
lea rcx, [rbp + 0x770]
mov r8d, 0x104
call fcn.140104310
xor edx, edx
lea rcx, [rbp + 0x330]
mov r8d, 0x104
call fcn.140104310
cmp dword [0x140280300], 0
jne 0x140039242
lea r9, [rbp + 0x90]
mov qword [rsp + 0x20], 0
mov edx, 0x104
lea rcx, [rbp + 0x770]
mov r8d, 2
call fcn.140047820
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x770]
mov edx, 0x104
lea rcx, [rbp + 0x330]
call fcn.1401121b8
mov edx, 0x2e
lea rcx, [rbp + 0x330]
call fcn.140104a18
mov rbx, rax
test rax, rax
je 0x1400390c3
mov edx, 0x2e
lea rcx, [rbp + 0x90]
call fcn.140104a18
test rax, rax
je 0x1400390c3
lea rdx, str..temp
mov byte [rbx], 0
mov rcx, rax
call fcn.14012bcd8
test eax, eax
jne 0x140039031
lea rcx, [rbp + 0x330]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140038fa8
bt eax, 0xa
jae 0x140038fa8
lea rcx, [rbp + 0x330]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140038f98
test al, 0x10
je 0x140038f98
lea rcx, [rbp + 0x330]
call fcn.14012fc74
jmp 0x140038fa4
lea rcx, [rbp + 0x330]
call fcn.140114a3c
test eax, eax
jne 0x140038fbf
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x330]
call fcn.14012f72c
test eax, eax
je 0x140039031
lea rdx, [rbp + 0x330]
lea rcx, [rbp + 0x770]
call fcn.140114758
cmp dword [0x140277860], 3
mov edi, eax
jl 0x140038fee
test dword [0x1402778c4], 0x400000
je 0x140038fee
mov ebx, r14d
jmp 0x140038ff0
xor ebx, ebx
mov edx, 3
mov ecx, 0x400000
call fcn.1400e3b80
test ebx, ebx
jne 0x14003900b
test eax, eax
je 0x1400390c3
mov dword [rsp + 0x48], edi
lea rcx, [rbp + 0x90]
mov qword [rsp + 0x40], rcx
lea rcx, str.Recover_Temp_REPO__s__result_d__n
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 0x1b4
jmp 0x140039096
lea rcx, [rbp + 0x770]
call fcn.140114a3c
cmp dword [0x140277860], 3
mov edi, eax
jl 0x140039059
test dword [0x1402778c4], 0x400000
je 0x140039059
mov ebx, r14d
jmp 0x14003905b
xor ebx, ebx
mov edx, 3
mov ecx, 0x400000
call fcn.1400e3b80
test ebx, ebx
jne 0x140039072
test eax, eax
je 0x1400390c3
mov dword [rsp + 0x48], edi
lea rcx, [rbp + 0x90]
mov qword [rsp + 0x40], rcx
lea rcx, str.Rollback_Temp_REPO__s__result_d__n
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 0x1b9
lea rcx, str.C:jenkinsworkspacedptf_2SrcESIFProductsESIF_LIBSourcesesif_lib_databank.c
mov r9d, 3
mov qword [rsp + 0x28], rcx
mov r8d, 0x400000
lea rcx, str.DataBank_RollbackRepos
mov edx, eax
mov qword [rsp + 0x20], rcx
mov ecx, ebx
call fcn.1400bb960
xor edx, edx
lea rcx, [rbp + 0x1d0]
mov r8d, 0x140
call fcn.140104310
xor edx, edx
lea rcx, [rbp + 0x550]
mov r8d, 0x104
call fcn.140104310
nop dword [rax + rax]
mov rcx, qword [rsi]
lea rdx, [rbp + 0x1d0]
call qword [sym.imp.KERNEL32.DLL_FindNextFileA]
cmp eax, r14d
jne 0x1400391b9
lea rax, [rbp + 0x1fc]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rsi + 8]
lea r8, [0x14017f5f8]
mov qword [rsp + 0x20], r13
lea rdx, [rbp + 0x550]
call fcn.1400398d0
lea rcx, [rbp + 0x550]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400391aa
bt eax, 0xa
jae 0x1400391aa
lea rcx, [rbp + 0x550]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140039196
bt eax, 0xa
jae 0x140039196
lea rcx, [rbp + 0x550]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14003918a
test al, 0x10
je 0x14003918a
lea rcx, [rbp + 0x550]
call fcn.14012fc74
jmp 0x140039196
lea rcx, [rbp + 0x550]
call fcn.140114a3c
xor edx, edx
lea rcx, [rbp + 0x1d0]
mov r8d, 0x140
call fcn.140104310
cmp byte [rbp + 0x1fc], 0
je 0x1400390f0
jmp 0x1400391bd
test eax, eax
je 0x1400391e1
mov r9, 0xffffffffffffffff
lea r8, [rbp + 0x1fc]
mov edx, 0x104
lea rcx, [rbp + 0x90]
call fcn.1401121b8
jmp 0x140038e90
mov rcx, qword [rsi]
cmp rcx, 0xffffffffffffffff
je 0x1400391f7
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov qword [rsi], 0xffffffffffffffff
mov rcx, rsi
call fcn.1401120d4
inc r15d
add r12, 8
cmp r15d, 4
jb 0x140038cc0
xor eax, eax
mov rcx, qword [rbp + 0x990]
xor rcx, rsp
call fcn.140102a00
lea r11, [rsp + 0xaa0]
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 [rsi]
cmp rcx, 0xffffffffffffffff
je 0x140039258
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov qword [rsi], 0xffffffffffffffff
mov rcx, rsi
call fcn.1401120d4
cmp dword [0x140277860], 3
jl 0x140039275
test dword [0x1402778c4], 0x400000
jne 0x140039278
xor r14d, r14d
mov edx, 3
mov ecx, 0x400000
call fcn.1400e3b80
test r14d, r14d
jne 0x140039290
test eax, eax
je 0x1400392d2
lea rcx, str.Pausing_DV_loading_n
mov r9d, 3
mov qword [rsp + 0x38], rcx
mov r8d, 0x400000
lea rcx, str.C:jenkinsworkspacedptf_2SrcESIFProductsESIF_LIBSourcesesif_lib_databank.c
mov dword [rsp + 0x30], 0x1a6
mov qword [rsp + 0x28], rcx
mov edx, eax
lea rcx, str.DataBank_RollbackRepos
mov qword [rsp + 0x20], rcx
mov ecx, r14d
call fcn.1400bb960
mov eax, 0x68
jmp 0x140039212