Function at 0x5cc660
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e2a92
mov eax, dword fs:[0]
push eax
mov eax, 0x1458
call fcn.0053fb70
mov eax, dword [0x676580]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1450], ecx
cmp dword [ebp + 8], 0
jne 0x5cc6a5
mov eax, 0x80004005
jmp 0x5ccc7d
mov byte [ebp - 0x835], 0
mov ax, word [0x630890]
mov word [ebp - 0x834], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x832]
push ecx
call fcn.00524800
add esp, 0xc
mov dword [ebp - 0x8d8], 0x400
mov dx, word [0x630894]
mov word [ebp - 0x10dc], dx
push 0x7fe
push 0
lea eax, [ebp - 0x10da]
push eax
call fcn.00524800
add esp, 0xc
mov dword [ebp - 0x8dc], 0x400
mov dword [ebp - 0x10], 0x80004005
lea ecx, [ebp - 0x8d4]
call fcn.005a9640
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00446280
mov byte [ebp - 4], 1
push 0x630898
mov ecx, dword [ebp + 0xc]
call fcn.004481c0
lea ecx, [ebp - 0x30]
call fcn.00447330
push eax
lea ecx, [ebp - 0x8d4]
call fcn.005aa540
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5cc7c6
lea edx, [ebp - 0x8d8]
push edx
lea eax, [ebp - 0x834]
push eax
lea ecx, [ebp - 0x8d4]
call fcn.005a9410
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5cc7c6
lea ecx, [ebp - 0x834]
push ecx
call fcn.00524b18
add esp, 4
test eax, eax
je 0x5cc7c6
lea edx, [ebp - 0x834]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004481c0
lea eax, [ebp - 0x8dc]
push eax
lea ecx, [ebp - 0x10dc]
push ecx
lea ecx, [ebp - 0x8d4]
call fcn.005a9360
lea edx, [ebp - 0x10dc]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.004481c0
lea eax, [ebp - 0x834]
push eax
call fcn.00524b18
add esp, 4
test eax, eax
je 0x5cc7ee
lea ecx, [ebp - 0x834]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5ccc19
lea ecx, [ebp - 0x1440]
call fcn.00493000
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1448]
call fcn.00493000
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x143c]
call fcn.00493000
mov byte [ebp - 4], 4
mov dword [ebp - 0x1434], 0
push 0x24c
push 0
lea edx, [ebp - 0x1430]
push edx
call fcn.00524800
add esp, 0xc
mov dword [ebp - 0x1438], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov byte [ebp - 0x835], 1
lea ecx, [ebp - 0x1440]
call fcn.00492f80
push eax
push 0x5fbdbc
push 1
push 0
push 0x5fbddc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x5cc891
push 0
lea ecx, [ebp - 0x1440]
call fcn.004943f0
movzx eax, al
test eax, eax
je 0x5cc8c3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x143c]
call fcn.0048b4d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1448]
call fcn.0048b4d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1440]
call fcn.0048b4d0
jmp 0x5ccc3f
lea ecx, [ebp - 0x1440]
call fcn.00493020
mov dword [ebp - 0x1454], eax
lea ecx, [ebp - 0x1448]
call fcn.00492f80
push eax
push 0x5fbe0c
mov ecx, dword [ebp - 0x1454]
push ecx
mov edx, dword [ebp - 0x1454]
mov eax, dword [edx]
mov ecx, dword [eax]
call ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x5cc915
push 0
lea ecx, [ebp - 0x1448]
call fcn.004943f0
movzx edx, al
test edx, edx
je 0x5cc947
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x143c]
call fcn.0048b4d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1448]
call fcn.0048b4d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1440]
call fcn.0048b4d0
jmp 0x5ccc3f
push 0x400
lea ecx, [ebp - 0x30]
call fcn.00447330
push eax
lea eax, [ebp - 0x834]
push eax
call fcn.00480270
add esp, 0xc
lea ecx, [ebp - 0x1448]
call fcn.00493020
mov dword [ebp - 0x1458], eax
push 0
lea ecx, [ebp - 0x30]
call fcn.00447330
push eax
mov ecx, dword [ebp - 0x1458]
push ecx
mov edx, dword [ebp - 0x1458]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
call ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x5cc9cf
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x143c]
call fcn.0048b4d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1448]
call fcn.0048b4d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1440]
call fcn.0048b4d0
jmp 0x5ccc3f
lea ecx, [ebp - 0x1440]
call fcn.00493020
mov dword [ebp - 0x145c], eax
push 2
lea edx, [ebp - 0x1434]
push edx
push 0x104
lea eax, [ebp - 0x834]
push eax
mov ecx, dword [ebp - 0x145c]
push ecx
mov edx, dword [ebp - 0x145c]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5cca26
lea edx, [ebp - 0x834]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004481c0
jmp 0x5ccbec
lea ecx, [ebp - 0x1440]
call fcn.00493020
mov dword [ebp - 0x1460], eax
lea eax, [ebp - 0x1444]
push eax
mov ecx, dword [ebp - 0x1460]
push ecx
mov edx, dword [ebp - 0x1460]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5cca8d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x143c]
call fcn.0048b4d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1448]
call fcn.0048b4d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1440]
call fcn.0048b4d0
jmp 0x5ccc3f
lea edx, [ebp - 0x1438]
push edx
lea ecx, [ebp - 0x143c]
call fcn.00492f80
push eax
push 0x5fbdcc
mov eax, dword [ebp - 0x1444]
push eax
call dword [sym.imp.SHELL32.dll_SHBindToParent]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5ccaca
lea ecx, [ebp - 0x143c]
call fcn.00493020
test eax, eax
jne 0x5ccafc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x143c]
call fcn.0048b4d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1448]
call fcn.0048b4d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1440]
call fcn.0048b4d0
jmp 0x5ccc3f
lea ecx, [ebp - 0x143c]
call fcn.00493020
mov dword [ebp - 0x1464], eax
lea ecx, [ebp - 0x11e4]
push ecx
push 0x8000
mov edx, dword [ebp - 0x1438]
push edx
mov eax, dword [ebp - 0x1464]
push eax
mov ecx, dword [ebp - 0x1464]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5ccb6f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x143c]
call fcn.0048b4d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1448]
call fcn.0048b4d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1440]
call fcn.0048b4d0
jmp 0x5ccc3f
push 0x800
push 0
lea ecx, [ebp - 0x834]
push ecx
call fcn.00524800
add esp, 0xc
push 0x400
lea edx, [ebp - 0x834]
push edx
mov eax, dword [ebp - 0x1444]
push eax
lea ecx, [ebp - 0x11e4]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrRetToBufW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5ccbdd
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x143c]
call fcn.0048b4d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1448]
call fcn.0048b4d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1440]
call fcn.0048b4d0
jmp 0x5ccc3f
lea edx, [ebp - 0x834]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004481c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x143c]
call fcn.0048b4d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1448]
call fcn.0048b4d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1440]
call fcn.0048b4d0
mov ecx, dword [ebp + 0xc]
call fcn.00454ee0
movzx eax, al
test eax, eax
je 0x5ccc31
mov dword [ebp - 0x10], 0x80004005
jmp 0x5ccc38
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x835]
test ecx, ecx
je 0x5ccc50
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x144c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00447350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8d4]
call fcn.005a9620
mov eax, dword [ebp - 0x144c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005236f2
mov esp, ebp
pop ebp
ret 0xc