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

Disassembly:
push 0xb00
mov eax, 0x5acfe8
call fcn.00431b4a
mov esi, ecx
call fcn.0043da18
test eax, eax
je 0x42cc20
call fcn.0043d94a
test eax, eax
je 0x42cc20
xor al, al
jmp 0x42d0fb
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x42cc19
push 0x208
lea eax, [ebp - 0xa38]
push ebx
push eax
call fcn.0044e770
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.0042d273
test eax, eax
js 0x42cc19
lea edi, [esi + 0x18]
cmp dword [edi + 0x10], ebx
je 0x42cc75
push edi
mov ecx, esi
call fcn.0042ca73
mov dword [ebp - 0xa40], ebx
xor eax, eax
mov ebx, str.IntlgtVCD
mov dword [ebp - 0xa3c], 7
push ebx
mov word [ebp - 0xa50], ax
call fcn.0045c456
pop ecx
push eax
push ebx
lea ecx, [ebp - 0xa50]
call fcn.00408220
xor ebx, ebx
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x42ccb4
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 0x42ccea
cmp dword [ebp - 0xa40], ebx
je 0x42ccea
lea eax, [ebp - 0xa50]
mov ecx, esi
push eax
call fcn.0042ca73
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0044e770
add esp, 0xc
push 8
pop edi
cmp dword [esi + 0x14], edi
jb 0x42cd0b
mov eax, dword [esi]
jmp 0x42cd0d
mov eax, esi
push eax
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x218]
push str._s_s.sys
push eax
call fcn.0042d3f1
add esp, 0x10
cmp dword [esi + 0x14], edi
jb 0x42cd32
mov ecx, dword [esi]
jmp 0x42cd34
mov ecx, esi
cmp dword [esi + 0x14], edi
jb 0x42cd3d
mov eax, dword [esi]
jmp 0x42cd3f
mov eax, esi
push 1
push ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xadc]
call fcn.0042c6ef
lea ecx, [ebp - 0xadd]
mov byte [ebp - 4], 1
call fcn.0042b0b0
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], edi
jb 0x42cd71
mov eax, dword [esi]
jmp 0x42cd73
mov eax, esi
push eax
lea ecx, [ebp - 0xadd]
call fcn.0042b446
test al, al
je 0x42cd9a
cmp dword [esi + 0x14], edi
jb 0x42cd8c
mov eax, dword [esi]
jmp 0x42cd8e
mov eax, esi
push eax
lea ecx, [ebp - 0xadc]
call fcn.0042d36a
mov edi, 0x208
lea eax, [ebp - 0x628]
push edi
push ebx
push eax
call fcn.0044e770
push edi
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.0044e770
xor eax, eax
mov dword [ebp - 0xa6c], 7
mov edi, str.INTLGTVCDbus_x86.sys
mov dword [ebp - 0xa70], ebx
push edi
mov word [ebp - 0xa80], ax
call fcn.0045c456
add esp, 0x1c
lea ecx, [ebp - 0xa80]
push eax
push edi
call fcn.00408220
mov dword [ebp - 0xa58], ebx
xor eax, eax
mov ebx, str.INTLGTVCDbus_x64.sys
mov byte [ebp - 4], 3
push ebx
mov dword [ebp - 0xa54], 7
mov word [ebp - 0xa68], ax
call fcn.0045c456
pop ecx
push eax
push ebx
lea ecx, [ebp - 0xa68]
call fcn.00408220
push edi
mov byte [ebp - 4], 4
call fcn.004071e0
mov ecx, eax
call fcn.00432896
push eax
mov edi, 0x5b3e78
lea eax, [ebp - 0x830]
push edi
push eax
call fcn.0042d3f1
add esp, 0x10
push ebx
call fcn.004071e0
mov ecx, eax
call fcn.00432896
push eax
lea eax, [ebp - 0x628]
push edi
push eax
call fcn.0042d3f1
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x830]
add esp, 0x10
push eax
call edi
test eax, eax
je 0x42d0b4
cmp dword [ebp - 0xa70], 0
je 0x42d0b4
lea eax, [ebp - 0x628]
push eax
call edi
test eax, eax
je 0x42d0b4
cmp dword [ebp - 0xa58], 0
je 0x42d0b4
lea ecx, [ebp - 0xb08]
call fcn.0043e3f5
lea eax, [ebp - 0xae4]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0xb08]
call fcn.0043e685
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
je 0x42cef3
sub esp, 0x18
lea eax, [ebp - 0x218]
mov ecx, esp
push eax
call fcn.00409990
call fcn.0043d101
add esp, 0x18
push dword [ebp - 0xae4]
lea ecx, [ebp - 0xb08]
call fcn.0043e6a3
lea ecx, [ebp - 0xb08]
call fcn.0043e429
test eax, eax
je 0x42cfb5
lea eax, [ebp - 0xae4]
push eax
lea ecx, [ebp - 0xb08]
call fcn.0043e685
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
xor edi, edi
jmp 0x42cf8c
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0044e770
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push str._s.bak_d
push eax
call fcn.0042d3f1
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0045c545
add esp, 0x24
lea eax, [ebp - 0x420]
push 5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp edi, 0xa
jge 0x42cfa2
inc edi
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call ebx
test eax, eax
je 0x42cf33
push dword [ebp - 0xae4]
lea ecx, [ebp - 0xb08]
call fcn.0043e6a3
jmp 0x42d02e
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
xor edi, edi
jmp 0x42d018
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0044e770
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push str._s.bak_d
push eax
call fcn.0042d3f1
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0045c545
add esp, 0x24
lea eax, [ebp - 0x420]
push 5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp edi, 0xa
jge 0x42d02e
inc edi
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call ebx
test eax, eax
je 0x42cfbf
lea eax, [ebp - 0xae4]
push eax
lea ecx, [ebp - 0xb08]
call fcn.0043e685
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 0x42d064
call fcn.0043e6a3
jmp 0x42d078
call fcn.0043e6a3
lea ecx, [ebp - 0xadc]
call fcn.0042c887
test eax, eax
je 0x42d07c
xor bl, bl
jmp 0x42d0a7
cmp dword [esi + 0x14], 8
jb 0x42d084
mov esi, dword [esi]
push esi
push str.DriveVCDSName
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0xadd]
call fcn.0042b0b3
lea ecx, [ebp - 0xadc]
call fcn.0042d1e0
mov bl, 1
lea ecx, [ebp - 0xb08]
call fcn.0043e408
jmp 0x42d0b6
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0xa68]
call fcn.0042c46b
push 0
push 1
lea ecx, [ebp - 0xa80]
call fcn.0042c46b
lea ecx, [ebp - 0xadd]
call fcn.00443630
lea ecx, [ebp - 0xadc]
call fcn.0042c7f8
push 0
push 1
lea ecx, [ebp - 0xa50]
call fcn.0042c46b
mov al, bl
call fcn.00431af4
ret