Function at 0x4075b0
Capabilities:
Check if file exists
Get common file path
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c63fd
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x6403f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.004090e0
movzx eax, al
test eax, eax
je 0x4075f1
xor eax, eax
jmp 0x40784d
mov ecx, dword [ebp + 8]
call fcn.00407f90
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40760b
xor eax, eax
jmp 0x40784d
lea ecx, [ebp - 0x424]
call fcn.00407c40
mov dword [ebp - 4], 0
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.005163e0
add esp, 0xc
push 0x208
push 0
lea edx, [ebp - 0x420]
push edx
call fcn.005163e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [ebp - 0x420]
push ecx
call fcn.00544d69
add esp, 4
push 0
mov ecx, dword [ebp + 8]
call fcn.00407f50
mov word [ebp - 0x428], ax
movzx edx, word [ebp - 0x428]
push edx
call fcn.0053307c
add esp, 4
mov word [ebp - 0x428], ax
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ebp + ecx - 0x420]
movzx eax, word [ebp - 0x428]
cmp edx, eax
jne 0x4076c1
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x407717
push 0
mov ecx, dword [ebp + 8]
call fcn.00408b50
movzx edx, ax
push edx
push 0x5dec00
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.00409870
add esp, 0x10
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x407717
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 2
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x42c]
call fcn.00407bc0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x424]
push edx
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.00408ed0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call fcn.00407db0
lea ecx, [ebp - 0x424]
call fcn.00407f90
push eax
mov ecx, dword [ebp + 8]
call fcn.00407f90
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4077bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x424]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push str.move__s_to__s__failed__error_d
call fcn.00439410
add esp, 0x10
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.00407db0
mov eax, dword [ebp - 0x430]
jmp 0x40784d
mov ecx, dword [ebp + 8]
call fcn.00407f90
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x407808
lea ecx, [ebp - 0x424]
call fcn.00407f90
push eax
call fcn.00407300
add esp, 4
mov dword [ebp - 0x434], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.00407db0
mov eax, dword [ebp - 0x434]
jmp 0x40784d
lea ecx, [ebp - 0x424]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00407f10
mov dword [ebp - 0x438], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.00407db0
mov eax, dword [ebp - 0x438]
jmp 0x40784d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004742a8
mov esp, ebp
pop ebp
ret