Function at 0x547f20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x633f56
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.00547da0
push 0x655e58
mov ecx, dword [ebp - 0x68]
add ecx, 0x488
push ecx
call fcn.00412550
add esp, 8
movzx edx, al
test edx, edx
je 0x547f7c
xor eax, eax
jmp 0x548164
call fcn.00478e30
lea ecx, [ebp - 0x11]
call fcn.00450fd0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x68]
add ecx, 0x488
call fcn.0040e5d0
push eax
lea ecx, [ebp - 0x11]
call fcn.00452cd0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x548003
mov ecx, dword [ebp - 0x68]
add ecx, 0x488
call fcn.0040e5d0
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0047bf80
add esp, 8
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x40], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x3c], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x68]
add eax, 0xa8c
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0xc], edx
jmp 0x54801f
mov ecx, dword [ebp - 0x68]
add ecx, 0x488
call fcn.0040e5d0
push eax
push 0x655e5c
call fcn.00455d80
add esp, 8
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0xa8c], 0
jl 0x54804f
mov ecx, dword [ebp - 0x68]
cmp dword [ecx + 0xa90], 0
jl 0x54804f
mov edx, dword [ebp - 0x68]
cmp dword [edx + 0xa98], 0
jle 0x54804f
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0xa94], 0
jg 0x548089
mov ecx, dword [ebp - 0x68]
add ecx, 0x488
call fcn.0040e5d0
push eax
push 0x655e78
call fcn.00455d80
add esp, 8
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11]
call fcn.00450fe0
mov eax, dword [ebp - 0x58]
jmp 0x548164
push 0x655eb0
call fcn.00455d80
add esp, 4
mov ecx, dword [ebp - 0x68]
cmp dword [ecx + 0xa84], 0
jne 0x5480cc
mov ecx, dword [ebp - 0x68]
call fcn.00549140
test eax, eax
jne 0x5480cc
mov dword [ebp - 0x5c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11]
call fcn.00450fe0
mov eax, dword [ebp - 0x5c]
jmp 0x548164
mov ecx, dword [ebp - 0x68]
add ecx, 0x488
call fcn.0040e5d0
push eax
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x11]
call fcn.004541a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.0040e5d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x54813f
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x60], esp
lea eax, [ebp - 0x34]
push eax
call fcn.0040e4f0
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x68]
call fcn.0055c0a0
lea ecx, [ebp - 0x34]
call fcn.0040e5d0
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x488
call fcn.0040e5d0
push eax
push 0x655ebc
call fcn.00455d80
add esp, 0xc
mov dword [ebp - 0x64], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0040e530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11]
call fcn.00450fe0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret 4