Function at 0x514e7e0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x522cdd0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
test esi, esi
je 0x514ec5d
test ebx, ebx
je 0x514ec5d
mov eax, dword [ebx]
test eax, eax
je 0x514ec5d
cmp byte [eax], 0
je 0x514ec5d
mov ebp, dword [esp + 0x44]
test ebp, ebp
je 0x514ec5d
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea ecx, [esp + 0x14]
test eax, eax
jne 0x514e89f
push str._ERROR:
push 0xff
push 0x1658
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov esi, eax
mov dword [esp + 0x30], 1
mov edi, dword [esp + 0x38]
push edi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [ebx]
mov eax, dword [eax + 8]
push ecx
push str.META_CheckUploadFilesConfigurations
push edi
push str.__d___s__:_Ini_File___s__does_not_exist
push eax
push esi
call fcn.051ae2d0
add esp, 0x18
jmp 0x514ecb0
push 0x52c722a
push 1
push 0x1660
push str..FunctionPlatformMETA_misc.cpp
mov dword [esi], 0
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x30], 2
mov esi, dword [esp + 0x38]
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push str.META_CheckUploadFilesConfigurations
push esi
push str.__d___s__:_Step_0:_Check_Basic_Arguments_pass_
push eax
push edi
call fcn.051ae2d0
or edi, 0xffffffff
add esp, 0x14
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov edx, dword [ebx]
push 1
push 1
push edx
push esi
call fcn.051a7bc0
mov ebx, eax
add esp, 0x10
lea ecx, [esp + 0x14]
test ebx, ebx
je 0x514ea25
push str._ERROR:
push 0xff
push 0x1663
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x30], 3
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebx
push str.META_CheckUploadFilesConfigurations
push esi
push str.__d___s__:_Parse_INI_file_fail__please_check_why._err_code__d_
push eax
push ebp
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push str._ERROR:
lea ecx, [esp + 0x18]
push 0xff
cmp ebx, 0xfffffffc
jne 0x514e9d2
push 0x1666
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x30], 4
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push str.META_CheckUploadFilesConfigurations
push esi
push str.__d___s__:_Error_occurred_in_INI_section__Upload_PC_files_to_Target_List_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
lea eax, [edi + 0x4f]
jmp 0x514ecc6
push 0x166c
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x30], 5
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push str.META_CheckUploadFilesConfigurations
push esi
push str.__d___s__:_Error_occurred_in_INI_settings:_others
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x35
jmp 0x514ecc6
push 0x52c722a
push 1
push 0x1671
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x30], 6
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push str.META_CheckUploadFilesConfigurations
push esi
push str.__d___s__:_Step_1:_Parse_INI_settings_pass_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push esi
call fcn.05197c00
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x514ead4
push str._ERROR:
push 0xff
push 0x1675
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebp, eax
mov dword [esp + 0x30], 7
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push ebx
push str.META_CheckUploadFilesConfigurations
push esi
push str.__d___s__:_Check_INI_file_fail__please_check_why._err_code__d_
push eax
push ebp
call fcn.051ae2d0
add esp, 0x18
jmp 0x514ea0e
mov eax, dword [esp + 0x40]
push eax
push esi
call fcn.05194b30
add esp, 8
test al, al
je 0x514eaf0
mov eax, 0x3b
jmp 0x514ecc6
push 0x52c722a
push 1
push 0x167d
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x30], 8
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push str.META_CheckUploadFilesConfigurations
push esi
push str.__d___s__:_Step_2:_Check_INI_settings_pass_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push 0
push esi
call fcn.05197280
add esp, 8
push 0x52c722a
mov dword [ebp], eax
lea ecx, [esp + 0x18]
push 1
test eax, eax
jne 0x514ebb4
push 0x1682
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x30], 9
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push str.META_CheckUploadFilesConfigurations
push esi
push str.__d___s__:_Error__no_files_wants_to_be_uploaded_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x14
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0x4f
jmp 0x514ecc6
push 0x1687
push str..FunctionPlatformMETA_misc.cpp
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x30], 0xa
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [ebp]
mov eax, dword [eax + 8]
push ecx
push str.META_CheckUploadFilesConfigurations
push esi
push str.__d___s__:__d_files_need_to_be_uploaded_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
push 0x52c722a
push 1
push 0x1689
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov ebx, eax
mov dword [esp + 0x30], 0xb
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov edx, dword [ebp]
mov eax, dword [eax + 8]
push edx
push str.META_CheckUploadFilesConfigurations
push esi
push str.__d___s__:_Step_3:_GetNumberOfNeedRestoreFiles__d__pass_
push eax
push ebx
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x30], edi
lea ecx, [esp + 0x14]
call fcn.051ae2c0
xor eax, eax
jmp 0x514ecc6
push str._ERROR:
push 0xff
push 0x1651
push str..FunctionPlatformMETA_misc.cpp
lea ecx, [esp + 0x24]
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x30], 0
mov ebp, dword [esp + 0x38]
push ebp
mov ecx, 0x53f4cc8
call fcn.05065960
mov ecx, dword [ebx]
mov eax, dword [eax + 8]
push ecx
push esi
push ebx
push str.META_CheckUploadFilesConfigurations
push ebp
push str.__d___s__:_invalid_arguments____req_0x_08X___p_uploadstop_0x_08X__req__m_pIniFilePath_0x_08X_
push eax
push edi
call fcn.051ae2d0
add esp, 0x20
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.051ae2c0
mov eax, 0xa
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10