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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eef90
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5441b4]
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 0x50b25c
push eax
call fcn.004b72a3
mov esi, eax
add esp, 8
test esi, esi
jne 0x402c18
mov ecx, dword [ebp - 0x4c]
push 8
push 0x50b288
call fcn.004073c0
cmp dword [edi + 0x14], 8
jb 0x402bf1
mov edi, dword [edi]
push edi
push str.UnCmpAssetFile
push str.PublicCommonCommonFun.cpp
mov edx, 0x105
mov esi, 2
mov eax, 0x547e58
call fcn.0042a050
add esp, 0xc
jmp 0x402eb1
push esi
push 2
lea eax, [ebp - 0x50]
push 1
push eax
call fcn.004b768b
push esi
call fcn.004b7715
mov ax, word [ebp - 0x50]
add esp, 0x14
cmp al, 0x37
jne 0x402db7
cmp ah, 0x7a
jne 0x402dca
xor esi, esi
push 0x50b670
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00404300
add esp, 0xc
push str._back_
lea ecx, [ebp - 0x48]
push ebx
push ecx
mov dword [ebp - 4], 0
call fcn.00404300
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.00407550
mov esi, dword [ebp - 0x4c]
mov ecx, esi
mov edx, eax
call fcn.00466ce0
mov bl, al
add esp, 8
test bl, bl
jne 0x402e85
push 0xa
push 0x50b320
mov ecx, esi
call fcn.004073c0
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x402d3b
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00407550
push eax
push 0x50b338
mov edx, 0x12c
push str.PublicCommonCommonFun.cpp
mov esi, 2
mov eax, 0x547e58
call fcn.0042a050
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.00406760
lea ecx, [ebp - 0x2c]
call fcn.00406760
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, 0x50b414
call fcn.00407510
mov eax, dword [0x547e58]
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, 0x110
call fcn.0042d450
push edi
mov ecx, esi
call fcn.0042b0b0
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.00407550
push eax
xor edx, edx
xor ecx, ecx
call fcn.00449ae0
mov bl, al
add esp, 0xc
test bl, bl
jne 0x402e8a
mov ecx, dword [ebp - 0x4c]
push 0xb
push 0x50b378
call fcn.004073c0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x402e6d
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00407550
push eax
push 0x50b440
mov edx, 0x135
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 0x50b3b8
mov ecx, esi
call fcn.004073c0
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.004b6111
mov esp, ebp
pop ebp
ret