Function at 0x459cb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4defa3
mov eax, dword fs:[0]
push eax
mov eax, 0x1005c
call fcn.00491550
mov eax, dword [0x527064]
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 ebx, ecx
mov edi, dword [ebp + 0xc]
lea ecx, [ebx + 0x4c]
mov esi, dword [ebp + 8]
mov dword [ecx + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x459cfe
mov eax, dword [edi]
jmp 0x459d00
mov eax, edi
push dword [ebp - 0x10044]
push dword [edi + 0x10]
push 0
push eax
call fcn.0045d7c0
cmp dword [edi + 0x10], 0
jne 0x459d26
mov byte [esi], 0
mov dword [esi + 8], 0x57
jmp 0x459f5f
cmp dword [edi + 0x14], 8
jb 0x459d30
mov eax, dword [edi]
jmp 0x459d32
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x459d4b
mov byte [esi], al
mov dword [esi + 8], 2
jmp 0x459f5f
push edi
lea ecx, [ebp - 0x10028]
mov dword [ebp - 0x10048], 0
call fcn.0045bd00
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10028]
cmp dword [ebp - 0x10014], 0x10
push 0x5048c8
cmovae eax, dword [ebp - 0x10028]
push eax
lea eax, [ebp - 0x10048]
push eax
call fcn.004a4225
add esp, 0xc
mov edi, eax
cmp dword [ebp - 0x10048], 0
je 0x459ee5
test edi, edi
jne 0x459ee5
push 0x10000
push eax
lea eax, [ebp - 0x10010]
push eax
call fcn.00496490
add esp, 8
lea eax, [ebp - 0x10010]
lea ecx, [ebp - 0x10068]
push eax
push dword [ebp - 0x10048]
call fcn.00458820
lea eax, [ebp - 0x10068]
push eax
lea ecx, [ebx + 4]
call fcn.0045d4e0
cmp dword [ebx + 0x34], edi
je 0x459e68
push str...includeMcJsonUtils.cpp
push str.CMcJsonUtils::Load
push 0x125
push 4
lea ecx, [ebp - 0x10044]
call fcn.00431610
mov byte [ebp - 4], 3
mov edx, str.CMcJsonUtils::Load
mov ecx, dword [eax]
call fcn.00433720
mov edx, str.Json_file_parsing_error_occurred
mov ecx, eax
call fcn.00433720
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10044]
call fcn.004327d0
mov eax, dword [ebp - 0x10044]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x10048]
call fcn.004a6946
add esp, 4
mov byte [esi], 0
lea ecx, [ebp - 0x10028]
mov dword [esi + 8], 0x3ee
call fcn.0042fca0
jmp 0x459f5f
push dword [ebp - 0x10048]
mov dword [ebx + 0x64], 1
mov dword [ebx + 0x68], 0
call fcn.004a6946
add esp, 4
lea ecx, [ebp - 0x10040]
push str.DEFAULT
call fcn.00432050
lea eax, [ebp - 0x10028]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10040]
push eax
push ecx
lea ecx, [ebx + 0x6c]
call fcn.0043a0e0
push fcn.00408d60
push 1
push 0x18
lea eax, [ebp - 0x10040]
mov byte [ebp - 4], 0
push eax
call fcn.00490fab
lea ecx, [ebp - 0x10028]
mov byte [esi], 1
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.0042fca0
jmp 0x459f5f
push str...includeMcJsonUtils.cpp
push str.CMcJsonUtils::Load
push 0x11d
push 4
lea ecx, [ebp - 0x10044]
call fcn.00431610
mov byte [ebp - 4], 1
mov edx, str.CMcJsonUtils::Load
mov ecx, dword [eax]
call fcn.00433720
mov edx, str.Unable_to_access_the_file
mov ecx, eax
call fcn.00433720
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10044]
call fcn.004327d0
mov eax, dword [ebp - 0x10044]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10014]
mov byte [esi], 0
mov dword [esi + 8], edi
cmp eax, 0x10
jb 0x459f5f
push 1
inc eax
push eax
push dword [ebp - 0x10028]
call fcn.00402ff0
add esp, 0xc
mov eax, esi
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.004908ad
mov esp, ebp
pop ebp
ret 8