Function at 0x5197c00
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5231b8f
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x53f3c3c]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f3c3c]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1d0]
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
xor ecx, ecx
mov dword [eax + 0xd5a8], ecx
mov dword [eax + 0xd5ac], ecx
push esi
mov ecx, 0x53f4cc8
call fcn.05065960
mov esi, eax
mov edi, dword [esi + 0xd3fc]
add esi, 0xd3f0
cmp edi, dword [esi + 0x10]
jbe 0x5197c7f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebp, dword [esi]
mov dword [esp + 0x14], ebp
mov ebx, edi
mov eax, dword [esp + 0x1d0]
push eax
mov ecx, 0x53f4cc8
mov dword [esp + 0x1c], ebx
call fcn.05065960
mov esi, eax
mov edi, dword [esi + 0xd400]
add esi, 0xd3f0
cmp dword [esi + 0xc], edi
jbe 0x5197cb6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [esi]
test ebp, ebp
je 0x5197cc0
cmp ebp, esi
je 0x5197cc6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, edi
je 0x519842b
test ebp, ebp
jne 0x5197d19
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x5197ce5
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov al, byte [ebx]
cmp al, 3
je 0x5197ea4
cmp al, 8
jne 0x51980fe
test ebp, ebp
jne 0x5197d1e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x5197d0e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [ebx + 0x1c], 0x10
jb 0x5197d23
mov eax, dword [ebx + 8]
jmp 0x5197d26
mov eax, dword [ebp]
jmp 0x5197cda
mov eax, dword [ebp]
jmp 0x5197d03
lea eax, [ebx + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x5198125
test ebp, ebp
jne 0x5197de6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x5197d50
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
lea ebp, [ebx + 0x48]
mov dword [ebp], 0
mov dword [ebp + 4], 0
test esi, esi
jne 0x5197dee
call edi
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x5197d7a
call edi
lea ecx, [ebx + 0x50]
call fcn.0506a630
mov ecx, dword [esp + 0x1d0]
push ecx
mov ecx, 0x53f4cc8
call fcn.05065960
test esi, esi
jne 0x5197df2
call edi
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x5197da3
call edi
test esi, esi
jne 0x5197df6
call edi
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x5197db2
call edi
test esi, esi
jne 0x5197dfa
call edi
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x5197dc1
call edi
mov edi, dword [ebx + 0x18]
test esi, esi
jne 0x5197dfe
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x5197ddb
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [ebx + 0x1c], 0x10
jb 0x5197e02
mov esi, dword [ebx + 8]
jmp 0x5197e05
mov eax, dword [ebp]
jmp 0x5197d45
mov eax, dword [esi]
jmp 0x5197d73
mov eax, dword [esi]
jmp 0x5197d9c
mov eax, dword [esi]
jmp 0x5197dab
mov eax, dword [esi]
jmp 0x5197dba
mov eax, dword [esi]
jmp 0x5197dd0
lea esi, [ebx + 8]
mov edx, dword [esp + 0x1d0]
push edx
mov ecx, 0x53f4cc8
call fcn.05065960
push eax
lea eax, [ebx + 0x50]
push eax
push 0
push ebp
push 0x539873c
push edi
push esi
call fcn.0506e810
add esp, 0x1c
test eax, eax
je 0x5197e3b
cmp eax, 0x13
jne 0x51981c2
mov eax, dword [esp + 0x1d0]
push eax
mov ecx, 0x53f4cc8
call fcn.05065960
cmp dword [esp + 0x14], 0
mov esi, dword [eax + 0xd5a8]
mov edi, dword [eax + 0xd5ac]
jne 0x5197e9c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x5197e73
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
add esi, dword [ebp]
mov edx, dword [esp + 0x1d0]
adc edi, dword [ebp + 4]
push edx
mov ecx, 0x53f4cc8
call fcn.05065960
mov dword [eax + 0xd5a8], esi
mov dword [eax + 0xd5ac], edi
jmp 0x51980fa
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
jmp 0x5197e68
test ebp, ebp
jne 0x5197edd
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x5197ebb
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test ebp, ebp
jne 0x5197ee2
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x5197ed2
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [ebx + 0x1c], 0x10
jb 0x5197ee7
mov eax, dword [ebx + 8]
jmp 0x5197eea
mov eax, dword [ebp]
jmp 0x5197eb0
mov eax, dword [ebp]
jmp 0x5197ec7
lea eax, [ebx + 8]
mov edx, dword [esp + 0x1d0]
lea ecx, [ebx + 0x3c]
push ecx
push eax
push edx
call fcn.05194810
add esp, 0xc
test eax, eax
jne 0x519824f
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [esp + 0x1c8], 1
lea ecx, [esp + 0x80]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0x1c8], 2
mov edi, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test ebp, ebp
jne 0x5197f54
call edi
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x5197f49
call edi
cmp dword [ebx + 0x38], 0x10
jb 0x5197f59
mov ecx, dword [ebx + 0x24]
jmp 0x5197f5c
mov eax, dword [ebp]
jmp 0x5197f42
lea ecx, [ebx + 0x24]
lea edx, [esp + 0xb8]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x5197f63
lea eax, [esp + 0xb8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathA]
lea eax, [esp + 0xb8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5197f85
sub eax, edx
mov esi, eax
test ebp, ebp
jne 0x5197fdb
call edi
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x5197f9f
call edi
cmp esi, dword [ebx + 0x34]
je 0x5198379
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0x84]
call dword [0x523a2ec]
test ebp, ebp
jne 0x5197fe0
call edi
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x5197fcc
call edi
mov esi, 0x10
cmp dword [ebx + 0x38], esi
jb 0x5197fe5
mov ecx, dword [ebx + 0x24]
jmp 0x5197fe8
mov eax, dword [ebp]
jmp 0x5197f98
mov eax, dword [ebp]
jmp 0x5197fc5
lea ecx, [ebx + 0x24]
lea edx, [esp + 0xb8]
nop
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x5197ff0
lea edx, [esp + 0xb8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0xa0]
call dword [0x523a2ec]
test ebp, ebp
jne 0x5198036
call edi
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x519802c
call edi
cmp dword [ebx + 0x38], esi
jb 0x519803b
mov eax, dword [ebx + 0x24]
jmp 0x519803e
mov eax, dword [ebp]
jmp 0x5198025
lea eax, [ebx + 0x24]
mov edi, dword [esp + 0x1d0]
push eax
push edi
call fcn.05194970
add esp, 8
test eax, eax
jne 0x51982ec
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x98], esi
jae 0x519806e
lea eax, [esp + 0x84]
push eax
push edi
call fcn.05194a70
add esp, 8
test eax, eax
jne 0x51983b0
mov ecx, edi
push ecx
mov ecx, 0x53f4cc8
call fcn.05065960
mov ebp, dword [eax + 0xd5a8]
mov ebx, dword [eax + 0xd5ac]
lea ecx, [esp + 0x14]
call fcn.05150960
mov esi, dword [eax + 0x3c]
mov edx, dword [esp + 0x1d0]
xor edi, edi
add esi, ebp
push edx
mov ecx, 0x53f4cc8
adc edi, ebx
call fcn.05065960
mov dword [eax + 0xd5a8], esi
mov dword [eax + 0xd5ac], edi
mov byte [esp + 0x1c8], 1
lea ecx, [esp + 0x80]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [esp + 0x1c8], 0xffffffff
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
test ebp, ebp
jne 0x5198120
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x5198115
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
add ebx, 0x98
jmp 0x5197c87
mov eax, dword [ebp]
jmp 0x519810a
push str._ERROR:
push 0xff
push 0x4a5
push str..MetaUtilityMETA_misc_utils.cpp
lea ecx, [esp + 0x68]
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x1c8], 5
test ebp, ebp
jne 0x5198171
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x5198166
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [ebx + 0x1c], 0x10
jb 0x5198176
mov esi, dword [ebx + 8]
jmp 0x5198179
mov eax, dword [ebp]
jmp 0x519815b
lea esi, [ebx + 8]
mov ebx, dword [esp + 0x1d0]
push ebx
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push esi
push str.CheckIniFileUploadSections
push ebx
push str.__d___s__:_INI_settings_error:_can_not_find_PC_side_folder__s
push eax
push edi
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x1c8], 0xffffffff
lea ecx, [esp + 0x58]
call fcn.051ae2c0
mov eax, 0xfffffff5
jmp 0x519842d
push str._ERROR:
push 0xff
push 0x4b4
push str..MetaUtilityMETA_misc_utils.cpp
lea ecx, [esp + 0x54]
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x1c8], 6
lea ecx, [esp + 0x14]
call fcn.05150960
add eax, 4
cmp dword [eax + 0x18], 0x10
jb 0x5198203
mov esi, dword [eax + 4]
jmp 0x5198206
lea esi, [eax + 4]
mov ebx, dword [esp + 0x1d0]
push ebx
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push esi
push str.CheckIniFileUploadSections
push ebx
push str.__d___s__:_INI_settings_error:_traverse_PC_folder__s_failed
push eax
push edi
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x1c8], 0xffffffff
lea ecx, [esp + 0x44]
call fcn.051ae2c0
mov eax, 0xfffffff5
jmp 0x519842d
push str._ERROR:
push 0xff
push 0x460
push str..MetaUtilityMETA_misc_utils.cpp
lea ecx, [esp + 0x7c]
call fcn.051ae270
mov edi, eax
mov dword [esp + 0x1c8], 0
test ebp, ebp
jne 0x519829b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x5198290
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [ebx + 0x1c], 0x10
jb 0x51982a0
mov esi, dword [ebx + 8]
jmp 0x51982a3
mov eax, dword [ebp]
jmp 0x5198285
lea esi, [ebx + 8]
mov ebx, dword [esp + 0x1d0]
push ebx
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push esi
push str.CheckIniFileUploadSections
push ebx
push str.__d___s__:_INI_settings_error:_can_not_find_PC_side_file__s
push eax
push edi
call fcn.051ae2d0
add esp, 0x18
mov dword [esp + 0x1c8], 0xffffffff
lea ecx, [esp + 0x6c]
call fcn.051ae2c0
mov eax, 0x69
jmp 0x519842d
push str._ERROR:
push 0xff
push 0x478
push str..MetaUtilityMETA_misc_utils.cpp
lea ecx, [esp + 0x2c]
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x1c8], 3
test ebp, ebp
jne 0x5198335
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x519832a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [ebx + 0x38], 0x10
jb 0x519833a
mov esi, dword [ebx + 0x24]
jmp 0x519833d
mov eax, dword [ebp]
jmp 0x519831f
lea esi, [ebx + 0x24]
mov ebx, dword [esp + 0x1d0]
push ebx
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push esi
push str.CheckIniFileUploadSections
push ebx
push str.__d___s__:_File_Path___s__has_invalid_characters
push eax
push edi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x1c8], 2
lea ecx, [esp + 0x1c]
call fcn.051ae2c0
mov byte [esp + 0x1c8], 1
lea ecx, [esp + 0x80]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [esp + 0x1c8], 0xffffffff
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, 0xfffffffc
jmp 0x519842d
push str._ERROR:
push 0xff
push 0x480
push str..MetaUtilityMETA_misc_utils.cpp
lea ecx, [esp + 0x40]
call fcn.051ae270
mov edi, eax
mov byte [esp + 0x1c8], 4
cmp dword [esp + 0x98], 0x10
mov esi, dword [esp + 0x84]
jae 0x51983ef
lea esi, [esp + 0x84]
mov ebx, dword [esp + 0x1d0]
push ebx
mov ecx, 0x53f4cc8
call fcn.05065960
mov eax, dword [eax + 8]
push esi
push str.CheckIniFileUploadSections
push ebx
push str.__d___s__:_File_Name___s__has_invalid_characters
push eax
push edi
call fcn.051ae2d0
add esp, 0x18
mov byte [esp + 0x1c8], 2
lea ecx, [esp + 0x30]
jmp 0x5198374
xor eax, eax
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a8]
xor ecx, esp
call fcn.0520b902
add esp, 0x1b8
ret