Function at 0x5cdb11
Capabilities:
Check if file exists
Copy file
Get common file path
Move file

Disassembly:
push 0xb00
mov eax, 0x607789
call fcn.005cba3f
mov esi, ecx
call fcn.00434ee0
test eax, eax
je 0x5cdb3b
call fcn.00434b30
test eax, eax
je 0x5cdb3b
xor al, al
jmp 0x5ce016
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x5cdb34
push 0x208
lea eax, [ebp - 0xa38]
push ebx
push eax
call fcn.005d4960
add esp, 0xc
lea eax, [ebp - 0xa38]
mov edi, 0x104
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.drivers_
push edi
lea eax, [ebp - 0xa38]
push eax
call fcn.005ce18e
test eax, eax
js 0x5cdb34
lea edi, [esi + 0x18]
cmp dword [edi + 0x10], ebx
je 0x5cdb90
push edi
mov ecx, esi
call fcn.005cd98e
mov dword [ebp - 0xa40], ebx
xor eax, eax
mov ebx, str.GdVCD
mov dword [ebp - 0xa3c], 7
push ebx
mov word [ebp - 0xa50], ax
call fcn.005edfc6
pop ecx
push eax
push ebx
lea ecx, [ebp - 0xa50]
call fcn.00407210
xor ebx, ebx
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x5cdbcf
mov edi, dword [edi]
cmp dword [ebp - 0xa3c], 8
lea eax, [ebp - 0xa50]
push edi
cmovae eax, dword [ebp - 0xa50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x5cdc05
cmp dword [ebp - 0xa40], ebx
je 0x5cdc05
lea eax, [ebp - 0xa50]
mov ecx, esi
push eax
call fcn.005cd98e
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005d4960
add esp, 0xc
push 8
pop edi
cmp dword [esi + 0x14], edi
jb 0x5cdc26
mov eax, dword [esi]
jmp 0x5cdc28
mov eax, esi
push eax
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x218]
push str._s_s.sys
push eax
call fcn.00434350
add esp, 0x10
cmp dword [esi + 0x14], edi
jb 0x5cdc4d
mov ecx, dword [esi]
jmp 0x5cdc4f
mov ecx, esi
cmp dword [esi + 0x14], edi
jb 0x5cdc58
mov eax, dword [esi]
jmp 0x5cdc5a
mov eax, esi
push 1
push ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xadc]
call fcn.005cd60a
lea ecx, [ebp - 0xadd]
mov byte [ebp - 4], 1
call fcn.00454950
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], edi
jb 0x5cdc8c
mov eax, dword [esi]
jmp 0x5cdc8e
mov eax, esi
push eax
lea ecx, [ebp - 0xadd]
call fcn.005cc6f5
test al, al
je 0x5cdcb5
cmp dword [esi + 0x14], edi
jb 0x5cdca7
mov eax, dword [esi]
jmp 0x5cdca9
mov eax, esi
push eax
lea ecx, [ebp - 0xadc]
call fcn.005ce285
mov edi, 0x208
lea eax, [ebp - 0x628]
push edi
push ebx
push eax
call fcn.005d4960
push edi
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.005d4960
xor eax, eax
mov dword [ebp - 0xa6c], 7
mov edi, str.GDVCDbus_x86.sys
mov dword [ebp - 0xa70], ebx
push edi
mov word [ebp - 0xa80], ax
call fcn.005edfc6
add esp, 0x1c
lea ecx, [ebp - 0xa80]
push eax
push edi
call fcn.00407210
mov dword [ebp - 0xa58], ebx
xor eax, eax
mov ebx, str.GDVCDbus_x64.sys
mov byte [ebp - 4], 3
push ebx
mov dword [ebp - 0xa54], 7
mov word [ebp - 0xa68], ax
call fcn.005edfc6
pop ecx
push eax
push ebx
lea ecx, [ebp - 0xa68]
call fcn.00407210
push edi
mov byte [ebp - 4], 4
call fcn.00443920
mov ecx, eax
call fcn.0040c0a0
push eax
mov edi, 0x609b88
lea eax, [ebp - 0x830]
push edi
push eax
call fcn.00434350
add esp, 0x10
push ebx
call fcn.00443920
mov ecx, eax
call fcn.0040c0a0
push eax
lea eax, [ebp - 0x628]
push edi
push eax
call fcn.00434350
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x830]
add esp, 0x10
push eax
call edi
test eax, eax
je 0x5cdfcf
cmp dword [ebp - 0xa70], 0
je 0x5cdfcf
lea eax, [ebp - 0x628]
push eax
call edi
test eax, eax
je 0x5cdfcf
cmp dword [ebp - 0xa58], 0
je 0x5cdfcf
lea ecx, [ebp - 0xb08]
call fcn.00407550
lea eax, [ebp - 0xae4]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0xb08]
call fcn.004077f0
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
je 0x5cde0e
sub esp, 0x18
lea eax, [ebp - 0x218]
mov ecx, esp
push eax
call fcn.00405c70
call fcn.00426e80
add esp, 0x18
push dword [ebp - 0xae4]
lea ecx, [ebp - 0xb08]
call fcn.00407820
lea ecx, [ebp - 0xb08]
call fcn.004075c0
test eax, eax
je 0x5cded0
lea eax, [ebp - 0xae4]
push eax
lea ecx, [ebp - 0xb08]
call fcn.004077f0
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
xor edi, edi
jmp 0x5cdea7
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005d4960
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push str._s.bak_d
push eax
call fcn.00434350
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005df1d9
add esp, 0x24
lea eax, [ebp - 0x420]
push 5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp edi, 0xa
jge 0x5cdebd
inc edi
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call ebx
test eax, eax
je 0x5cde4e
push dword [ebp - 0xae4]
lea ecx, [ebp - 0xb08]
call fcn.00407820
jmp 0x5cdf49
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
xor edi, edi
jmp 0x5cdf33
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.005d4960
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push str._s.bak_d
push eax
call fcn.00434350
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005df1d9
add esp, 0x24
lea eax, [ebp - 0x420]
push 5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp edi, 0xa
jge 0x5cdf49
inc edi
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call ebx
test eax, eax
je 0x5cdeda
lea eax, [ebp - 0xae4]
push eax
lea ecx, [ebp - 0xb08]
call fcn.004077f0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0xb08]
push dword [ebp - 0xae4]
test eax, eax
jne 0x5cdf7f
call fcn.00407820
jmp 0x5cdf93
call fcn.00407820
lea ecx, [ebp - 0xadc]
call fcn.005cd7a2
test eax, eax
je 0x5cdf97
xor bl, bl
jmp 0x5cdfc2
cmp dword [esi + 0x14], 8
jb 0x5cdf9f
mov esi, dword [esi]
push esi
push str.DriveVCDSName
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0xadd]
call fcn.005cc362
lea ecx, [ebp - 0xadc]
call fcn.005ce0fb
mov bl, 1
lea ecx, [ebp - 0xb08]
call fcn.004075a0
jmp 0x5cdfd1
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0xa68]
call fcn.00420750
push 0
push 1
lea ecx, [ebp - 0xa80]
call fcn.00420750
lea ecx, [ebp - 0xadd]
call fcn.004a1050
lea ecx, [ebp - 0xadc]
call fcn.005cd713
push 0
push 1
lea ecx, [ebp - 0xa50]
call fcn.00420750
mov al, bl
call fcn.005cb9fa
ret