Function at 0x4cdcfe
Capabilities:
Check if file exists

Disassembly:
push 0x38
mov eax, 0x5d8ae0
call fcn.00506dc7
xor ebx, ebx
lea ecx, [ebp + 8]
push 0x6053ec
mov dword [ebp - 4], ebx
call fcn.0042e69b
test eax, eax
jne 0x4cdd80
lea eax, [ebp - 0x10]
push eax
call fcn.0048ac04
pop ecx
mov eax, dword [ebp - 0x10]
inc ebx
mov byte [ebp - 4], bl
cmp dword [eax - 0xc], 0
je 0x4cdd76
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cdd73
push 0
push ecx
mov esi, esp
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00412393
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.004799bc
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
jmp 0x4cdffa
mov eax, dword [ebp - 0x10]
xor ebx, ebx
lea ecx, [eax - 0x10]
jmp 0x4cdfa5
push 0x605450
lea ecx, [ebp + 8]
call fcn.0042e69b
test eax, eax
jne 0x4cddda
lea eax, [ebp - 0x10]
push eax
call fcn.0048cf73
pop ecx
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp dword [eax - 0xc], 0
je 0x4cdd78
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cddd5
push ecx
mov esi, esp
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00412393
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.00466e7c
jmp 0x4cdf7c
mov eax, dword [ebp - 0x10]
jmp 0x4cdd78
push 0x605498
lea ecx, [ebp + 8]
call fcn.0042e69b
test eax, eax
jne 0x4cdfad
lea eax, [ebp - 0x10]
push eax
call fcn.0048c647
pop ecx
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 3
cmp dword [eax - 0xc], 0
je 0x4cdf9f
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
call fcn.0049a533
push dword [ebp - 0x10]
mov byte [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cdf8c
lea ecx, [ebp - 0x44]
call fcn.0042ca82
mov byte [ebp - 4], 5
call fcn.0041279d
push eax
lea ecx, [ebp - 0x14]
call fcn.00411d94
mov byte [ebp - 4], 6
call fcn.0042fb20
cmp eax, 0x13
jl 0x4cdee9
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x605534
call fcn.00413f09
push ecx
push esp
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.004ed062
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x44]
call fcn.00434114
push 0x605550
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0042dfbd
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0043910d
add esp, 0x18
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.00411f3a
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00412ac4
jmp 0x4cdef5
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.00411f3a
push ecx
mov esi, esp
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00412393
add eax, 0x10
pop ecx
mov dword [esi], eax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x20]
push eax
call fcn.0042fedd
push dword [eax]
mov byte [ebp - 4], 0xb
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00412393
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.004799bc
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea ecx, [ebp - 0x44]
call fcn.0042e60b
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
cmp dword [ebp - 0x28], 0
mov byte [ebp - 4], 0xc
je 0x4cdf7d
push dword [ebp - 0x2c]
call fcn.004ed503
mov dword [ebp - 0x28], ebx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov bl, 1
jmp 0x4cdffa
cmp dword [ebp - 0x28], 0
mov byte [ebp - 4], 0xd
je 0x4cdf9f
push dword [ebp - 0x2c]
call fcn.004ed503
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
mov byte [ebp - 4], bl
call fcn.00412ac4
mov edi, 0x108
push edi
call fcn.00506ecd
mov esi, eax
pop ecx
test esi, esi
je 0x4cdfcc
push edi
push ebx
push esi
call fcn.0056b050
add esp, 0xc
jmp 0x4cdfce
mov esi, ebx
test esi, esi
je 0x4cdffa
push dword [ebp + 8]
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
push esi
push 0x7e9
mov ecx, 0x6833d0
mov dword [esi + 4], ebx
call fcn.00535c0b
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00412ac4
mov al, bl
call fcn.00506d90
ret 4