Function at 0x10011790
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f84d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10087040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10089eac]
mov dword [ebp - 0x14], 0
test al, 1
jne 0x100117f4
push 0x64
or eax, 1
push 0
push 0x10089e48
mov dword [0x10089eac], eax
call fcn.10043f30
add esp, 0xc
call fcn.10005170
push 0x10072aa0
call fcn.1004245d
add esp, 4
mov edx, dword [0x10089e98]
lea ecx, [ebp - 0x14]
call fcn.10026fa0
mov dword [ebp - 4], 0
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10011b52
push ecx
mov esi, esp
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], esi
call fcn.10003fc0
test eax, eax
je 0x10011b8e
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], 1
call fcn.10005830
test al, al
jne 0x1001185e
push 0xb
push str.InstallTime
mov ecx, esi
call fcn.10005aa0
push ecx
mov byte [ebp - 4], 2
mov esi, esp
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10005bd0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.10011ba0
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 0x10011b8e
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], 3
call fcn.10005830
test al, al
jne 0x100118c5
push 7
push str.Version
mov ecx, esi
call fcn.10005aa0
push ecx
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10005bd0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.10011ba0
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 0x10011b8e
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], 5
call fcn.10005830
test al, al
jne 0x1001192c
push 8
push str.Activate
mov ecx, esi
call fcn.10005aa0
push ecx
mov byte [ebp - 4], 6
mov esi, esp
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10005bd0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.10011ba0
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 0x10011b8e
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], 7
call fcn.10005830
test al, al
jne 0x10011993
push 8
push str.DelayPid
mov ecx, esi
call fcn.10005aa0
push ecx
mov byte [ebp - 4], 8
mov esi, esp
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10005bd0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.10011ba0
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 0x10011b8e
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], 9
call fcn.10005830
test al, al
jne 0x100119fa
push 0xc
push str.DelayAutoRun
mov ecx, esi
call fcn.10005aa0
push ecx
mov byte [ebp - 4], 0xa
mov esi, esp
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10005bd0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.10011ba0
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 0x10011b8e
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], 0xb
call fcn.10005830
test al, al
jne 0x10011a61
push 0xf
push str.DelayCreateLink
mov ecx, esi
call fcn.10005aa0
push ecx
mov byte [ebp - 4], 0xc
mov esi, esp
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10005bd0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.10011ba0
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 0x10011b8e
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], 0xd
call fcn.10005830
test al, al
jne 0x10011ac8
push 0x16
push str.DelayCreateRegisterKey
mov ecx, esi
call fcn.10005aa0
push ecx
mov byte [ebp - 4], 0xe
mov esi, esp
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10005bd0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.10011ba0
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 0x10011b8e
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], 0xf
call fcn.10005830
test al, al
jne 0x10011b2f
push 0x14
push str.DelayCreateShellMenu
mov ecx, esi
call fcn.10005aa0
push ecx
mov byte [ebp - 4], 0x10
mov esi, esp
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.10005bd0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.10011ba0
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 0x10011b74
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.10041e20
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100013a0
int3