Function at 0x4cca60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x55930c]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xe4]
add ecx, 0x8c
call fcn.004cd050
test eax, eax
jbe 0x4ccd19
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0xe4]
add ecx, 0x8c
call fcn.004ccff0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
jmp 0x4ccacf
push 0
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xc]
call fcn.004cd1a0
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, dword [ebp - 0xe4]
add ecx, 0x8c
call fcn.004cd020
push eax
lea ecx, [ebp - 0xc]
call fcn.004cd1e0
movzx edx, al
test edx, edx
je 0x4ccd19
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x10]
call fcn.0043ca60
lea ecx, [ebp - 0x78]
call fcn.004cce70
lea ecx, [ebp - 0x48]
call fcn.004cce70
lea ecx, [ebp - 0xc]
call fcn.004cd150
mov ecx, dword [eax]
call fcn.004cce40
push eax
lea ecx, [ebp - 0x10]
call fcn.0043cb20
mov dword [ebp - 0x78], 0x30
mov dword [ebp - 0x48], 0x30
lea ecx, [ebp - 0x10]
call fcn.0043cc50
push eax
lea ecx, [ebp - 0x78]
call fcn.004cced0
lea ecx, [ebp - 0xc]
call fcn.004cd150
mov eax, dword [eax]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0x4c], ecx
cmp dword [ebp - 0x4c], 0
jne 0x4cccd6
lea ecx, [ebp - 0x10]
call fcn.0043cc50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cccd6
mov dword [ebp - 0xa4], 0
xor edx, edx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x84], edx
lea eax, [ebp - 0xa4]
push eax
push 0
lea ecx, [ebp - 0x10]
call fcn.0043cc50
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov dword [ebp - 0x80], 0
xor ecx, ecx
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x7c], 0
jl 0x4cccd6
jg 0x4ccc0d
cmp dword [ebp - 0x80], 0x6400000
jbe 0x4cccd6
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, dword [ebp - 0xe4]
add ecx, 0x74
call fcn.004ccff0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xa8], eax
jmp 0x4ccc49
push 0
lea ecx, [ebp - 0xd8]
push ecx
lea ecx, [ebp - 0xac]
call fcn.004cd1a0
lea edx, [ebp - 0xe0]
push edx
mov ecx, dword [ebp - 0xe4]
add ecx, 0x74
call fcn.004cd020
push eax
lea ecx, [ebp - 0xac]
call fcn.004cd1e0
movzx eax, al
test eax, eax
je 0x4cccd6
lea ecx, [ebp - 0xb0]
call fcn.0043ca60
lea ecx, [ebp - 0xac]
call fcn.004cd150
mov ecx, dword [eax]
call fcn.004cce40
push eax
lea ecx, [ebp - 0xb0]
call fcn.0043cb20
lea ecx, [ebp - 0xb0]
call fcn.0043cc50
push eax
lea ecx, [ebp - 0x10]
call fcn.0043cbd0
test eax, eax
jne 0x4cccc6
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0xb0]
call fcn.0043cae0
jmp 0x4cccd6
lea ecx, [ebp - 0xb0]
call fcn.0043cae0
jmp 0x4ccc35
cmp dword [ebp - 0x14], 0
je 0x4cccfc
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x78]
push edx
mov ecx, dword [ebp - 0xe4]
call fcn.004e0b40
test eax, eax
je 0x4cccfc
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x48]
call fcn.004ccdf0
lea ecx, [ebp - 0x78]
call fcn.004ccdf0
lea ecx, [ebp - 0x10]
call fcn.0043cae0
jmp 0x4ccabe
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004e9752
mov esp, ebp
pop ebp
ret