Function at 0x460fa0
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51c920
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x74], eax
test edi, edi
je 0x4614c7
test eax, eax
je 0x4614c7
test ebx, ebx
je 0x4614c7
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x4614c7
lea eax, [ebp - 0x6c]
push eax
call fcn.00462250
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x6c]
cmp dword [eax - 0xc], 0
jne 0x461027
xor esi, esi
jmp 0x4614b4
lea eax, [ebp - 0x68]
push eax
call fcn.00462710
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x68]
cmp dword [eax - 0xc], 0
jne 0x461047
xor esi, esi
jmp 0x4614a8
test esi, esi
lea ecx, [ebp - 0x44]
mov eax, 0x52bd6c
cmovne eax, esi
push eax
call fcn.004093d0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
cmp dword [eax - 0xc], 0
jne 0x461250
lea eax, [ebp - 0x48]
push eax
call fcn.00466430
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48]
cmp dword [eax - 0xc], 0
je 0x4610cb
push str.UtilsRunDll.exe
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00410610
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
push eax
call fcn.00408360
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.00408250
push 1
push dword [ebp - 0x44]
call fcn.0043bba0
add esp, 8
test eax, eax
jne 0x4610cb
lea ecx, [ebp - 0x44]
call fcn.004305b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00408250
mov eax, dword [ebp - 0x44]
cmp dword [eax - 0xc], 0
jne 0x461250
lea eax, [ebp - 0x48]
push eax
call fcn.00462c20
add esp, 4
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48]
cmp dword [eax - 0xc], 0
je 0x461144
push str.UtilsRunDll.exe
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00410610
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
push eax
call fcn.00408360
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call fcn.00408250
push 1
push dword [ebp - 0x44]
call fcn.0043bba0
add esp, 8
test eax, eax
jne 0x461144
lea ecx, [ebp - 0x44]
call fcn.004305b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00408250
mov eax, dword [ebp - 0x44]
cmp dword [eax - 0xc], 0
jne 0x461250
lea eax, [ebp - 0x48]
push eax
call fcn.00466830
add esp, 4
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x48]
cmp dword [eax - 0xc], 0
je 0x4611bd
push str.UtilsRunDll.exe
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00410610
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
push eax
call fcn.00408360
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4c]
call fcn.00408250
push 1
push dword [ebp - 0x44]
call fcn.0043bba0
add esp, 8
test eax, eax
jne 0x4611bd
lea ecx, [ebp - 0x44]
call fcn.004305b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00408250
mov eax, dword [ebp - 0x44]
cmp dword [eax - 0xc], 0
jne 0x461250
lea eax, [ebp - 0x48]
push 1
push eax
call fcn.00465430
add esp, 8
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x48]
cmp dword [eax - 0xc], 0
je 0x461234
push str.UtilsRunDll.exe
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00410610
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
push eax
call fcn.00408360
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4c]
call fcn.00408250
push 1
push dword [ebp - 0x44]
call fcn.0043bba0
add esp, 8
test eax, eax
jne 0x461234
lea ecx, [ebp - 0x44]
call fcn.004305b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00408250
mov eax, dword [ebp - 0x44]
cmp dword [eax - 0xc], 0
jne 0x461250
xor esi, esi
jmp 0x46149c
lea ecx, [ebp - 0x50]
call fcn.0040fec0
mov byte [ebp - 4], 0xb
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x40]
push str.LDSGameCenterRunDll
call fcn.00410030
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043b320
add esp, 8
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x40]
call fcn.00410350
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x50]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00407550
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.00410350
mov esi, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0
push dword [ebp - 0x50]
push 0
call esi
push dword [ebp - 0x50]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4612f2
xor esi, esi
jmp 0x461490
push str.Utils
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00410610
add esp, 0xc
mov byte [ebp - 4], 0xe
push 0
push dword [ebp - 0x58]
push 0
call esi
push dword [ebp - 0x58]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x461328
xor esi, esi
jmp 0x461484
push str.RunDll.exe
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00410610
add esp, 0xc
mov byte [ebp - 4], 0xf
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push dword [ebp - 0x54]
push dword [ebp - 0x44]
call esi
push 1
push dword [ebp - 0x54]
call fcn.0043bba0
add esp, 8
test eax, eax
jne 0x461369
xor esi, esi
jmp 0x461478
push 0x532d98
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00410610
mov byte [ebp - 4], 0x10
push dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00410610
add esp, 0x18
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x4c]
call fcn.00408250
push 0
push dword [ebp - 0x64]
push edi
call esi
push 1
push dword [ebp - 0x64]
call fcn.0043bba0
add esp, 8
test eax, eax
jne 0x4613bb
xor esi, esi
jmp 0x46146c
push str.360base.dll
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00410610
add esp, 0xc
mov byte [ebp - 4], 0x13
push 0
push dword [ebp - 0x60]
push dword [ebp - 0x6c]
call esi
push 1
push dword [ebp - 0x60]
call fcn.0043bba0
add esp, 8
test eax, eax
jne 0x4613f3
xor esi, esi
jmp 0x461460
push str.360NetUL.dll
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00410610
add esp, 0xc
mov byte [ebp - 4], 0x14
push 0
push dword [ebp - 0x5c]
push dword [ebp - 0x68]
call esi
push 1
push dword [ebp - 0x5c]
call fcn.0043bba0
add esp, 8
test eax, eax
jne 0x46142b
xor esi, esi
jmp 0x461454
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x54]
push eax
call fcn.00408360
push 2
push 0x53802c
mov ecx, ebx
call fcn.00407f80
push dword [ebp - 0x70]
mov ecx, ebx
call fcn.00416bf0
mov esi, 1
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x5c]
call fcn.00408250
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x60]
call fcn.00408250
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x64]
call fcn.00408250
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x54]
call fcn.00408250
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x58]
call fcn.00408250
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.00408250
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00408250
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00408250
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00408250
mov eax, esi
jmp 0x4614c9
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret