Function at 0x45c2d3
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a64f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 0
jne 0x45c322
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0054d328
mov eax, dword [ebp - 0x20]
jmp 0x45c51a
mov edx, dword [0x5be480]
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 1
push 0x5af214
call fcn.0053842e
add esp, 4
push eax
lea ecx, [ebp - 0x14]
call fcn.0054d39c
mov byte [ebp - 4], 2
push 0x5af220
lea ecx, [ebp - 0x14]
call fcn.0054a808
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 1
push eax
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0054a76e
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x10]
call fcn.0054d46f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.0054d328
push 0x3b
lea ecx, [ebp - 0x10]
call fcn.0054a7e6
cmp eax, 0xffffffff
je 0x45c3e1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx - 8]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
sub eax, 1
push eax
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0054a76e
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x10]
call fcn.0054d46f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0054d328
mov ecx, dword [0x5be480]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 5
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004b257a
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0054d4bf
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0054a7e6
cmp eax, 1
je 0x45c422
push 0x5af224
lea ecx, [ebp - 0x10]
call fcn.0054d719
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0054d755
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x45c47f
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0054d328
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0054d328
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0054d328
mov eax, dword [ebp - 0x2c]
jmp 0x45c51a
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0x18]
sub edx, 1
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
call fcn.0054a6f2
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x58], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x58]
push edx
lea ecx, [ebp - 0x14]
call fcn.0054d46f
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.0054d328
push 0x5af228
lea ecx, [ebp - 0x14]
call fcn.0054a808
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.0054d328
cmp dword [ebp - 0x18], 0xffffffff
jne 0x45c359
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0054d328
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0054d328
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret