Function at 0x56a1e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b8b72
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x89b044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
jne 0x56a218
mov ecx, dword [ebp - 0x38]
call fcn.0056a140
push str.FlyIcon_
lea ecx, [ebp - 0x28]
push ecx
call fcn.004bb400
mov ecx, eax
call fcn.0043e2b0
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00403a70
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00405ef0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00617f50
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00405e80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x56a327
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x14]
push eax
call fcn.00405d50
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.00569e90
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.0056a580
movzx edx, al
test edx, edx
jne 0x56a2f3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.0056a530
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00405ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
jmp 0x56a3ee
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0056a550
mov ecx, eax
call fcn.0056ac70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.0056a530
jmp 0x56a3d3
push 0x1c
call fcn.00704930
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], 0
je 0x56a34b
mov ecx, dword [ebp - 0x34]
call fcn.0056a450
mov dword [ebp - 0x4c], eax
jmp 0x56a352
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.00403670
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 4
call fcn.00403670
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 0x14], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x38]
mov dword [edx + 8], eax
mov dword [ebp - 0x20], 0
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x569cc0
mov ecx, dword [ebp - 0x38]
add ecx, 4
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 4]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00405ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14