Function at 0x10019680
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072113
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10089040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edi
mov eax, dword [0x1008beb0]
mov dword [ebp - 0x14], 0
test al, 1
jne 0x100196fa
or eax, 1
mov dword [0x1008beb0], eax
push 0x68
push 0
push 0x1008be48
mov dword [ebp - 4], 0
call fcn.10045770
add esp, 0xc
call fcn.10005f50
push 0x10074db0
call fcn.10043c72
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [0x1008be9c]
lea ecx, [ebp - 0x14]
call fcn.100351e0
mov dword [ebp - 4], 1
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10019782
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x10019900
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x1007d468
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.10005aa0
test al, al
jne 0x10019757
push 0
push 0x1007d468
mov ecx, edi
call fcn.10005d10
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 0x100198e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100198e0
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x10019900
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push ecx
mov byte [ebp - 4], 3
lea ebx, [ebp - 0x18]
mov esi, esp
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x1c], esi
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x10019900
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.InstallTime
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.10005aa0
test al, al
jne 0x100197e7
push 0xb
push str.InstallTime
mov ecx, esi
call fcn.10005d10
push ecx
mov byte [ebp - 4], 5
mov esi, esp
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.10005e40
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
mov byte [ebp - 4], 3
call fcn.100343f0
add esp, 8
test eax, eax
je 0x10019865
mov ebx, dword [ebp - 0x18]
add ebx, 0xfffffff0
mov ecx, ebx
call fcn.10005e40
add eax, 0x10
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov dword [edi], eax
mov eax, esi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x10019840
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x100198e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100198e0
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x10019900
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x1007d468
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.10005aa0
test al, al
jne 0x100198a0
push 0
push 0x1007d468
mov ecx, edi
call fcn.10005d10
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100198c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x100198e0
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10043637
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.100013a0
int3