Function at 0x559c30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66b12e
mov eax, dword fs:[0]
push eax
mov eax, 0x142c
call fcn.005c5930
mov eax, dword [0x7060c4]
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.0057a4a0
lea ecx, [ebp - 0x1414]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00469f10
mov ecx, eax
call fcn.0046e710
cmp dword [ebp - 0x410], 0
jne 0x559ca0
xor eax, eax
jmp 0x559ecc
lea eax, [ebp - 0x1414]
push eax
lea ecx, [ebp - 0x58]
call fcn.00446d70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc14]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00446d70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0044da70
movzx edx, al
test edx, edx
jne 0x559ce7
lea ecx, [ebp - 0x28]
call fcn.0044da70
movzx eax, al
test eax, eax
je 0x559d17
mov dword [ebp - 0x141c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043c8a0
mov eax, dword [ebp - 0x141c]
jmp 0x559ecc
lea ecx, [ebp - 0x40]
call fcn.00446de0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1418]
call fcn.0054db90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x1418]
call fcn.0054e440
lea ecx, [ebp - 0x40]
call fcn.0043d500
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x559da3
mov dword [ebp - 0x1420], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1418]
call fcn.0054dbb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043c8a0
mov eax, dword [ebp - 0x1420]
jmp 0x559ecc
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x40c]
call fcn.0051b4e0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1424]
mov edx, dword [ecx + 0x248]
push edx
lea ecx, [ebp - 0x40c]
call fcn.00514130
cmp eax, 1
je 0x559e2d
mov dword [ebp - 0x1428], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40c]
call fcn.0051b540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1418]
call fcn.0054dbb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043c8a0
mov eax, dword [ebp - 0x1428]
jmp 0x559ecc
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1430], esp
lea eax, [ebp - 0x28]
push eax
call fcn.00446bf0
mov dword [ebp - 0x1434], eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.0058a770
add esp, 0x20
mov dword [ebp - 0x1438], eax
mov byte [ebp - 4], 5
lea edx, [ebp - 0x70]
push edx
call fcn.0045cee0
add esp, 4
mov dword [ebp - 0x142c], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.0043c8a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40c]
call fcn.0051b540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1418]
call fcn.0054dbb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043c8a0
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.005c4766
mov esp, ebp
pop ebp
ret 0x10