Function at 0x4c63d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5701b8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5b3124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call fcn.00434080
add esp, 4
mov dword [ebp - 4], 0
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c65dc
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.DelayCreateLink
call fcn.00404c40
push ecx
mov byte [ebp - 4], 1
mov esi, esp
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00405420
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.004c6640
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.DelayCreateRegisterKey
call fcn.00404c40
push ecx
mov byte [ebp - 4], 2
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00405420
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.004c6640
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.DelayCreateShellMenu
call fcn.00404c40
push ecx
mov byte [ebp - 4], 3
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00405420
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.004c6640
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.DelayAutoRun
call fcn.00404c40
push ecx
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00405420
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.004c6640
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.DelayPid
call fcn.00404c40
push ecx
mov byte [ebp - 4], 5
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00405420
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.004c6640
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Version
call fcn.00404c40
push ecx
mov byte [ebp - 4], 6
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00405420
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.004c6640
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.InstallTime
call fcn.00404c40
push ecx
mov byte [ebp - 4], 7
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00405420
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.004c6640
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Activate
call fcn.00404c40
push ecx
mov byte [ebp - 4], 8
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00405420
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.004c6640
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4c6625
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4c6621
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4c6621
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4c6625
mov ecx, edx
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050975e
mov esp, ebp
pop ebp
ret