Function at 0x10014050
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007170b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10089040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1008beb0]
mov dword [ebp - 0x14], 0
test al, 1
jne 0x100140c2
or eax, 1
mov dword [0x1008beb0], eax
push 0x68
push 0
push 0x1008be48
mov dword [ebp - 4], 0
call fcn.10045390
add esp, 0xc
call fcn.10005f50
push 0x10074980
call fcn.100438b2
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x1008be9c]
lea ecx, [ebp - 0x14]
call fcn.10034f50
mov dword [ebp - 4], 1
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10014420
push ecx
mov esi, esp
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], esi
call fcn.10003fc0
test eax, eax
je 0x1001445c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.InstallTime
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.10005aa0
test al, al
jne 0x1001412c
push 0xb
push str.InstallTime
mov ecx, esi
call fcn.10005d10
push ecx
mov byte [ebp - 4], 3
mov esi, esp
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10005e40
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.10014470
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x18], esi
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1001445c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.Version
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.10005aa0
test al, al
jne 0x10014193
push 7
push str.Version
mov ecx, esi
call fcn.10005d10
push ecx
mov byte [ebp - 4], 5
mov esi, esp
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10005e40
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.10014470
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x18], esi
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1001445c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.Activate
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.10005aa0
test al, al
jne 0x100141fa
push 8
push str.Activate
mov ecx, esi
call fcn.10005d10
push ecx
mov byte [ebp - 4], 7
mov esi, esp
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10005e40
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.10014470
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x18], esi
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1001445c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.DelayPid
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.10005aa0
test al, al
jne 0x10014261
push 8
push str.DelayPid
mov ecx, esi
call fcn.10005d10
push ecx
mov byte [ebp - 4], 9
mov esi, esp
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10005e40
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.10014470
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x18], esi
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1001445c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.DelayAutoRun
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.10005aa0
test al, al
jne 0x100142c8
push 0xc
push str.DelayAutoRun
mov ecx, esi
call fcn.10005d10
push ecx
mov byte [ebp - 4], 0xb
mov esi, esp
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10005e40
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.10014470
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x18], esi
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1001445c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.DelayCreateLink
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.10005aa0
test al, al
jne 0x1001432f
push 0xf
push str.DelayCreateLink
mov ecx, esi
call fcn.10005d10
push ecx
mov byte [ebp - 4], 0xd
mov esi, esp
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10005e40
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.10014470
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x18], esi
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1001445c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.DelayCreateRegisterKey
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.10005aa0
test al, al
jne 0x10014396
push 0x16
push str.DelayCreateRegisterKey
mov ecx, esi
call fcn.10005d10
push ecx
mov byte [ebp - 4], 0xf
mov esi, esp
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10005e40
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.10014470
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x18], esi
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1001445c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.DelayCreateShellMenu
mov ecx, esi
mov byte [ebp - 4], 0x10
call fcn.10005aa0
test al, al
jne 0x100143fd
push 0x14
push str.DelayCreateShellMenu
mov ecx, esi
call fcn.10005d10
push ecx
mov byte [ebp - 4], 0x11
mov esi, esp
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.10005e40
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.10014470
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10014442
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10043277
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100013a0
int3