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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ff58
mov eax, dword fs:[0]
push eax
mov eax, 0x14a8
call fcn.00489eb0
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0x34], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14b4], ecx
mov dword [ebp - 0x448], 1
xor eax, eax
mov word [ebp - 0xa64], ax
push 0x206
push 0
lea ecx, [ebp - 0xa62]
push ecx
call fcn.00486c20
add esp, 0xc
xor edx, edx
mov word [ebp - 0x444], dx
push 0x206
push 0
lea eax, [ebp - 0x442]
push eax
call fcn.00486c20
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x654], cx
push 0x206
push 0
lea edx, [ebp - 0x652]
push edx
call fcn.00486c20
add esp, 0xc
xor eax, eax
mov word [ebp - 0x85c], ax
push 0x206
push 0
lea ecx, [ebp - 0x85a]
push ecx
call fcn.00486c20
add esp, 0xc
xor edx, edx
mov word [ebp - 0x23c], dx
push 0x206
push 0
lea eax, [ebp - 0x23a]
push eax
call fcn.00486c20
add esp, 0xc
push str.PeopleCDTime32.dat
call fcn.004058c0
mov ecx, eax
call fcn.00447800
push eax
push 0x54e68c
lea ecx, [ebp - 0x23c]
push ecx
call fcn.00487ebf
add esp, 0x10
push str.PeopleCDTime64.dat
call fcn.004058c0
mov ecx, eax
call fcn.00447800
push eax
push 0x54e6c0
lea edx, [ebp - 0x85c]
push edx
call fcn.00487ebf
add esp, 0x10
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42d83e
xor eax, eax
jmp 0x42dc4d
lea ecx, [ebp - 0x85c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42d856
xor eax, eax
jmp 0x42dc4d
push 0x104
lea edx, [ebp - 0x444]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x654]
push ecx
call fcn.00486ab7
add esp, 8
push 0x54e6cc
lea edx, [ebp - 0x654]
push edx
call fcn.00486ab7
add esp, 8
mov ax, word [0x54e6e0]
mov word [ebp - 0xc6c], ax
push 0x206
push 0
lea ecx, [ebp - 0xc6a]
push ecx
call fcn.00486c20
add esp, 0xc
push 0x54e6e4
push 0x54e700
lea edx, [ebp - 0xc6c]
push edx
call fcn.00487ebf
add esp, 0xc
lea eax, [ebp - 0xc6c]
push eax
lea ecx, [ebp - 0x654]
push ecx
call fcn.00486ab7
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.00416ea0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004170d0
test eax, eax
je 0x42db52
lea edx, [ebp - 0xc70]
push edx
lea ecx, [ebp - 0x30]
call fcn.00417150
lea eax, [ebp - 0x654]
push eax
lea ecx, [ebp - 0x85c]
push ecx
mov ecx, dword [ebp - 0x14b4]
call fcn.0042de70
test eax, eax
jne 0x42d9ec
mov dword [ebp - 0xe80], 0
push 0
lea edx, [ebp - 0x654]
push edx
lea eax, [ebp - 0x85c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x42d9ec
xor ecx, ecx
mov word [ebp - 0x108c], cx
push 0x206
push 0
lea edx, [ebp - 0x108a]
push edx
call fcn.00486c20
add esp, 0xc
mov eax, dword [ebp - 0xe80]
push eax
lea ecx, [ebp - 0x654]
push ecx
push 0x54e710
lea edx, [ebp - 0x108c]
push edx
call fcn.00487ebf
add esp, 0x10
lea eax, [ebp - 0x108c]
push eax
lea ecx, [ebp - 0x654]
push ecx
call fcn.0048ad17
add esp, 8
push 5
push 0
lea edx, [ebp - 0x108c]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [ebp - 0xe80], 0xa
jl 0x42d9d8
mov dword [ebp - 0x448], 0
jmp 0x42d9ec
mov eax, dword [ebp - 0xe80]
add eax, 1
mov dword [ebp - 0xe80], eax
jmp 0x42d93d
push 0x104
lea ecx, [ebp - 0xa64]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00417110
push str.drivers_
lea edx, [ebp - 0xa64]
push edx
call fcn.00486ab7
add esp, 8
mov ax, word [0x54e738]
mov word [ebp - 0xe7c], ax
push 0x206
push 0
lea ecx, [ebp - 0xe7a]
push ecx
call fcn.00486c20
add esp, 0xc
push 0x54e73c
push str._s.sys
lea edx, [ebp - 0xe7c]
push edx
call fcn.00487ebf
add esp, 0xc
push 0x54e768
lea eax, [ebp - 0xa64]
push eax
call fcn.00486ab7
add esp, 8
lea ecx, [ebp - 0xa64]
push ecx
lea edx, [ebp - 0x23c]
push edx
mov ecx, dword [ebp - 0x14b4]
call fcn.0042de70
test eax, eax
jne 0x42db3e
mov dword [ebp - 0x1090], 0
push 0
lea eax, [ebp - 0xa64]
push eax
lea ecx, [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x42db3e
xor edx, edx
mov word [ebp - 0x129c], dx
push 0x206
push 0
lea eax, [ebp - 0x129a]
push eax
call fcn.00486c20
add esp, 0xc
mov ecx, dword [ebp - 0x1090]
push ecx
lea edx, [ebp - 0xa64]
push edx
push 0x54e784
lea eax, [ebp - 0x129c]
push eax
call fcn.00487ebf
add esp, 0x10
lea ecx, [ebp - 0x129c]
push ecx
lea edx, [ebp - 0xa64]
push edx
call fcn.0048ad17
add esp, 8
push 5
push 0
lea eax, [ebp - 0x129c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [ebp - 0x1090], 0xa
jl 0x42db2a
mov dword [ebp - 0x448], 0
jmp 0x42db3e
mov ecx, dword [ebp - 0x1090]
add ecx, 1
mov dword [ebp - 0x1090], ecx
jmp 0x42da8f
mov edx, dword [ebp - 0xc70]
push edx
lea ecx, [ebp - 0x30]
call fcn.00417190
jmp 0x42dc2c
lea eax, [ebp - 0x654]
push eax
lea ecx, [ebp - 0x23c]
push ecx
mov ecx, dword [ebp - 0x14b4]
call fcn.0042de70
test eax, eax
jne 0x42dc2c
mov dword [ebp - 0x12a0], 0
push 0
lea edx, [ebp - 0x654]
push edx
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x42dc2c
xor ecx, ecx
mov word [ebp - 0x14ac], cx
push 0x206
push 0
lea edx, [ebp - 0x14aa]
push edx
call fcn.00486c20
add esp, 0xc
mov eax, dword [ebp - 0x12a0]
push eax
lea ecx, [ebp - 0x654]
push ecx
push 0x54e798
lea edx, [ebp - 0x14ac]
push edx
call fcn.00487ebf
add esp, 0x10
lea eax, [ebp - 0x14ac]
push eax
lea ecx, [ebp - 0x654]
push ecx
call fcn.0048ad17
add esp, 8
push 5
push 0
lea edx, [ebp - 0x14ac]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [ebp - 0x12a0], 0xa
jl 0x42dc18
mov dword [ebp - 0x448], 0
jmp 0x42dc2c
mov eax, dword [ebp - 0x12a0]
add eax, 1
mov dword [ebp - 0x12a0], eax
jmp 0x42db7d
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0x14b0], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00416ec0
mov eax, dword [ebp - 0x14b0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret