Function at 0x54fcc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x662e28
mov eax, dword fs:[0]
push eax
mov eax, 0x142c
call fcn.005bdf80
mov eax, dword [0x6fc0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1424], ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
lea ecx, [ebp - 0x1414]
call fcn.005721f0
lea ecx, [ebp - 0x1414]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00469af0
mov ecx, eax
call fcn.0046dc90
cmp dword [ebp - 0x410], 0
jne 0x54fd30
xor eax, eax
jmp 0x54ff5c
lea eax, [ebp - 0x1414]
push eax
lea ecx, [ebp - 0x58]
call fcn.00446a20
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc14]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00446a20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0044d720
movzx edx, al
test edx, edx
jne 0x54fd77
lea ecx, [ebp - 0x28]
call fcn.0044d720
movzx eax, al
test eax, eax
je 0x54fda7
mov dword [ebp - 0x141c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043c550
mov eax, dword [ebp - 0x141c]
jmp 0x54ff5c
lea ecx, [ebp - 0x40]
call fcn.00446a90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1418]
call fcn.00545730
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x1418]
call fcn.00545ea0
lea ecx, [ebp - 0x40]
call fcn.0043d1b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x54fe33
mov dword [ebp - 0x1420], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1418]
call fcn.00545750
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0043c550
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043c550
mov eax, dword [ebp - 0x1420]
jmp 0x54ff5c
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x40c]
call fcn.005139f0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1424]
mov edx, dword [ecx + 0x248]
push edx
lea ecx, [ebp - 0x40c]
call fcn.0050f220
cmp eax, 1
je 0x54febd
mov dword [ebp - 0x1428], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40c]
call fcn.00513a50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1418]
call fcn.00545750
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0043c550
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043c550
mov eax, dword [ebp - 0x1428]
jmp 0x54ff5c
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1430], esp
lea eax, [ebp - 0x28]
push eax
call fcn.004468a0
mov dword [ebp - 0x1434], eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.005828c0
add esp, 0x20
mov dword [ebp - 0x1438], eax
mov byte [ebp - 4], 5
lea edx, [ebp - 0x70]
push edx
call fcn.0045cb90
add esp, 4
mov dword [ebp - 0x142c], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.0043c550
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40c]
call fcn.00513a50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1418]
call fcn.00545750
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0043c550
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043c550
mov eax, dword [ebp - 0x142c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bcdb6
mov esp, ebp
pop ebp
ret 0x10