Function at 0x402b60
Capabilities:
Check if file exists
Move file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x54c1b4]
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 esi, dword [ebp + 8]
mov ebx, edx
cmp dword [ebx + 0x10], 0
mov edi, ecx
mov dword [ebp - 0x4c], esi
je 0x402ea3
cmp dword [edi + 0x14], 8
jb 0x402ba9
mov eax, dword [edi]
jmp 0x402bab
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402ea3
cmp dword [edi + 0x14], 8
jb 0x402bc4
mov eax, dword [edi]
jmp 0x402bc6
mov eax, edi
push 0x5112bc
push eax
call fcn.004bc673
mov esi, eax
add esp, 8
test esi, esi
jne 0x402c18
mov ecx, dword [ebp - 0x4c]
push 8
push 0x5112e8
call fcn.00408810
cmp dword [edi + 0x14], 8
jb 0x402bf1
mov edi, dword [edi]
push edi
push str.UnCmpAssetFile
push str.PublicCommonCommonFun.cpp
mov edx, 0x106
mov esi, 2
mov eax, 0x54fee0
call fcn.0042c610
add esp, 0xc
jmp 0x402eb1
push esi
push 2
lea eax, [ebp - 0x50]
push 1
push eax
call fcn.004bca5b
push esi
call fcn.004bcae5
mov ax, word [ebp - 0x50]
add esp, 0x14
cmp al, 0x37
jne 0x402db7
cmp ah, 0x7a
jne 0x402dca
xor esi, esi
push 0x5118c0
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00407ab0
add esp, 0xc
push str._back_
lea ecx, [ebp - 0x48]
push ebx
push ecx
mov dword [ebp - 4], 0
call fcn.00407ab0
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x402c81
lea eax, [ebp - 0x48]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
je 0x402ca3
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x402c9a
lea eax, [ebp - 0x48]
push eax
call fcn.00402580
add esp, 4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x402caf
lea eax, [ebp - 0x2c]
push eax
call ebx
test eax, eax
je 0x402cdb
mov ecx, dword [ebp - 0x48]
mov eax, 8
cmp dword [ebp - 0x34], eax
jae 0x402cc6
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
jae 0x402cd1
lea eax, [ebp - 0x2c]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
xor bl, bl
cmp esi, eax
jne 0x402e1b
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x2c]
jae 0x402cfc
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x5c]
push edx
push eax
mov ecx, edi
call fcn.004089a0
mov esi, dword [ebp - 0x4c]
mov ecx, esi
mov edx, eax
call fcn.0046c0b0
mov bl, al
add esp, 8
test bl, bl
jne 0x402e85
push 0xa
push 0x511380
mov ecx, esi
call fcn.00408810
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x402d3b
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.004089a0
push eax
push 0x511398
mov edx, 0x12d
push str.PublicCommonCommonFun.cpp
mov esi, 2
mov eax, 0x54fee0
call fcn.0042c610
add esp, 0x10
mov eax, dword [ebp - 0x48]
mov esi, 8
cmp dword [ebp - 0x34], esi
jae 0x402d75
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402da0
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x402d8b
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x402d96
lea eax, [ebp - 0x48]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x48]
call fcn.00407bb0
lea ecx, [ebp - 0x2c]
call fcn.00407bb0
mov al, bl
jmp 0x402eb3
cmp al, 0x50
jne 0x402dca
cmp ah, 0x4b
jne 0x402dca
mov esi, 1
jmp 0x402c46
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, 0x511474
call fcn.00408960
mov eax, dword [0x54fee0]
test eax, eax
je 0x402eb1
cmp dword [eax + 8], 2
mov edi, eax
jl 0x402eb1
push str.PublicCommonCommonFun.cpp
push 2
push ecx
mov edx, esp
mov dword [ebp - 0x4c], esp
push edx
mov ecx, str._rN_e
mov esi, 0x111
call fcn.0042fa10
push edi
mov ecx, esi
call fcn.0042d670
jmp 0x402eb1
cmp esi, 1
jne 0x402d65
mov eax, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x402e34
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp + 0xc]
push ecx
push eax
mov ecx, edi
call fcn.004089a0
push eax
xor edx, edx
xor ecx, ecx
call fcn.0044d240
mov bl, al
add esp, 0xc
test bl, bl
jne 0x402e8a
mov ecx, dword [ebp - 0x4c]
push 0xb
push 0x5113d8
call fcn.00408810
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x402e6d
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.004089a0
push eax
push 0x5114a0
mov edx, 0x136
jmp 0x402d4e
mov esi, 8
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x402e95
lea eax, [ebp - 0x48]
push eax
call fcn.00402580
add esp, 4
jmp 0x402da0
push 0xf
push 0x511418
mov ecx, esi
call fcn.00408810
xor al, al
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.004bb4e3
mov esp, ebp
pop ebp
ret