Function at 0x456d80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dd038
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x5246f0]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x5246f0]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov ecx, dword [esp + 0x1c]
and ecx, 0xfffffe07
or ecx, 7
xor esi, esi
push 0x10
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], esi
call fcn.0045f789
add esp, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0xd8], esi
cmp eax, esi
je 0x456e02
mov esi, eax
call fcn.00452a40
jmp 0x456e04
xor eax, eax
mov dword [esp + 0x14], eax
lea edx, [esp + 0x6c]
mov ebx, 1
push edx
mov ecx, edi
mov dword [esp + 0xdc], ebx
call fcn.00401190
push eax
lea esi, [esp + 0x28]
mov byte [esp + 0xdc], 2
call fcn.004518d0
lea eax, [esp + 0x14]
push eax
mov ecx, 0x515914
mov byte [esp + 0xdc], 3
call fcn.00452410
mov esi, eax
lea eax, [esp + 0x24]
call fcn.00451bc0
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], 2
call fcn.00451aa0
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd8], bl
call fcn.00405520
lea esi, [esp + 0x6c]
mov eax, edi
call fcn.00456cf0
push eax
lea esi, [esp + 0x28]
mov byte [esp + 0xdc], 4
call fcn.004518d0
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.appid
mov byte [esp + 0xdc], 5
call fcn.00452410
mov esi, eax
lea eax, [esp + 0x24]
call fcn.00451bc0
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], 4
call fcn.00451aa0
lea ecx, [esp + 0x6c]
mov byte [esp + 0xd8], bl
call fcn.00405520
lea edx, [esp + 0x6c]
push edx
mov ecx, edi
call fcn.004011c0
mov bl, 6
push eax
lea esi, [esp + 0x28]
mov byte [esp + 0xdc], bl
call fcn.004518d0
lea eax, [esp + 0x14]
push eax
mov ecx, str.aaid
mov byte [esp + 0xdc], 7
call fcn.00452410
mov esi, eax
lea eax, [esp + 0x24]
call fcn.00451bc0
lea ecx, [esp + 0x24]
mov byte [esp + 0xd8], bl
call fcn.00451aa0
lea ecx, [esp + 0x6c]
call fcn.00405520
lea ecx, [esp + 0x8c]
mov dword [esp + 0x88], vtable.Json::FastWriter.0
call fcn.00404d30
mov byte [esp + 0xa8], 0
mov byte [esp + 0xd8], 8
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x90]
call fcn.0044dc80
mov byte [esp + 0xd8], 9
cmp dword [esp + 0x60], 0
je 0x456fd7
lea edi, [esp + 0x50]
lea eax, [esp + 0x40]
call fcn.00459c00
mov esi, dword [esp + 0x38]
mov byte [esp + 0xd8], 0xa
cmp dword [esi + 0x10], 0
je 0x456fc3
mov ecx, esi
call fcn.00404d10
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
setne al
test al, al
je 0x456fc3
mov ecx, esi
call fcn.00404d10
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x457004
mov ecx, esi
call fcn.00457e40
test al, al
jne 0x457004
lea ecx, [esp + 0x40]
call fcn.00402d40
lea ecx, [esp + 0x50]
call fcn.00405520
lea ecx, [esp + 0x88]
call fcn.00401130
lea ecx, [esp + 0x14]
mov dword [esp + 0xd8], 0xffffffff
call fcn.00451aa0
xor al, al
jmp 0x457083
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push str.BYAppIdentifier.dat
call fcn.004053b0
lea ecx, [esp + 0xc8]
call fcn.004581a0
mov byte [esp + 0xd8], 0xb
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
sub edi, esi
lea ecx, [esp + 0xac]
call fcn.00458480
lea ecx, [esp + 0xac]
mov bl, al
call fcn.00401780
lea ecx, [esp + 0x40]
call fcn.00402d40
lea ecx, [esp + 0x50]
call fcn.00405520
lea ecx, [esp + 0x88]
call fcn.00401130
lea ecx, [esp + 0x14]
mov dword [esp + 0xd8], 0xffffffff
call fcn.00451aa0
mov al, bl
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.0045f522
mov esp, ebp
pop ebp
ret 4