Function at 0x462d8e
Capabilities:
Get explorer pid

Disassembly:
push ebp
lea ebp, [esp - 0x1b0]
sub esp, 0x230
mov eax, dword [0x4bea34]
xor eax, ebp
mov dword [ebp + 0x1ac], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x64]
push eax
push 0x20019
xor esi, esi
push esi
push str.SoftwareGoogleUpdateClientState8A69D345_D564_463c_AFF1_A69D9E530F96
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
mov dword [ebp - 0x74], 0x104
call edi
test eax, eax
jne 0x462df2
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x5c]
push eax
push str.LastInstallerSuccessLaunchCmdLine
lea esi, [ebp - 0x64]
call fcn.0046298c
add esp, 0xc
xor esi, esi
jmp 0x462df4
xor al, al
test al, al
jne 0x462e3e
lea eax, [ebp - 0x64]
push eax
push 0x20019
push esi
push str.SoftwareGoogleUpdateClientState8A69D345_D564_463c_AFF1_A69D9E530F96
push ebx
mov dword [ebp - 0x74], 0x104
call edi
test eax, eax
jne 0x462e31
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x5c]
push eax
push str.InstallerSuccessLaunchCmdLine
lea esi, [ebp - 0x64]
call fcn.0046298c
add esp, 0xc
xor esi, esi
jmp 0x462e33
xor al, al
test al, al
jne 0x462e3e
xor eax, eax
jmp 0x462fc3
push 2
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, esi
je 0x462e58
cmp eax, 1
jne 0x462e37
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x462e37
push esi
push 0x40
push esi
push 2
push 6
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jne 0x462e50
mov byte [ebp - 0x5d], al
call fcn.00462bc4
test al, al
je 0x462f5c
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.00462c40
test al, al
pop ecx
pop ecx
je 0x462e50
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x6c], esi
call dword [sym.imp.USER32.dll_GetShellWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x6c], esi
ja 0x462eb9
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x462e50
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x6c]
call fcn.00462c40
test al, al
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
pop ecx
pop ecx
je 0x462f4d
push dword [ebp - 0x64]
push dword [ebp - 0x70]
call fcn.00471070
test eax, eax
pop ecx
pop ecx
jne 0x462f48
push dword [ebp - 0x6c]
push 1
push 0x440
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, esi
mov dword [ebp - 0x80], eax
je 0x462f48
lea ecx, [ebp - 0x7c]
push ecx
push 0xa
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x462f33
lea eax, [ebp - 0x78]
push eax
push 1
push 2
push esi
push 0xf
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x462f33
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x462f33
mov byte [ebp - 0x5d], 1
push dword [ebp - 0x78]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x7c]
call edi
push dword [ebp - 0x80]
call edi
push dword [ebp - 0x64]
call ebx
push dword [ebp - 0x70]
call ebx
cmp byte [ebp - 0x5d], 0
je 0x462e50
lea eax, [ebp - 0x68]
push eax
push 0x4a70c8
push 4
push esi
push 0x4a70b8
xor bl, bl
mov dword [ebp - 0x68], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x462f9f
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
lea edx, [ebp - 0x5c]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x462f8f
inc bl
mov eax, dword [ebp - 0x68]
cmp eax, esi
je 0x462f9f
mov dword [ebp - 0x68], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp - 0x5d], 0
je 0x462fab
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x68]
cmp eax, esi
movzx edi, bl
je 0x462fc1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
mov ecx, dword [ebp + 0x1ac]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00470af5
add ebp, 0x1b0
leave
ret