Function at 0x10492a2
Capabilities:
Link many functions at runtime

Disassembly:
push 0x18
mov eax, 0x105f199
call fcn.0104dc9c
mov esi, ecx
mov dword [ebp - 0x20], esi
xor edi, edi
mov dword [ebp - 0x1c], edi
cmp dword [esi + 4], edi
je 0x10492dd
push 0x1014d78
mov eax, 0x8000ffff
push 0x1014d5c
push eax
mov dword [ebp - 0x14], eax
call fcn.01048c52
add esp, 0xc
jmp 0x104957d
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, edi
je 0x10494de
cmp eax, 0xffffffff
je 0x10494de
push eax
push ebx
mov dword [ebp - 0x18], eax
call fcn.01042e59
cmp eax, edi
push dword [ebx]
mov dword [ebp - 0x14], eax
jge 0x1049343
push 0x1014d00
push 0x1014ce4
push eax
call fcn.01048c52
add esp, 0x10
lea ecx, [ebp - 0x18]
call fcn.0102fb22
jmp 0x104957d
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
cmp ebx, edi
je 0x1049494
cmp ebx, 0xffffffff
je 0x1049494
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SPCHookEntry
push ebx
call edi
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x104939c
push 0x1014c90
push 0x1014c70
mov eax, 0x80070057
mov dword [ebp - 0x14], eax
push eax
call fcn.01048c52
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.0102fb22
jmp 0x104954a
push str.SPCHookExit
push ebx
call edi
mov dword [esi + 0x10], eax
test eax, eax
jne 0x10493b7
push 0x1014c20
push 0x1014c00
jmp 0x104937e
push str.SPCHookPackageInstalled
push ebx
call edi
push str.SPCHookPackageStaged
push ebx
mov dword [esi + 0x14], eax
call edi
push str.SPCHookWaitIfReboot
push ebx
mov dword [esi + 0x18], eax
call edi
push str.SPCHookApplicablePackages
push ebx
mov dword [esi + 0x1c], eax
call edi
push str.SPCHookDiskSpaceCheck
push ebx
mov dword [esi + 0x20], eax
call edi
push str.SPCHookACCheck
push ebx
mov dword [esi + 0x24], eax
call edi
push str.SPCHookError
push ebx
mov dword [esi + 0x28], eax
call edi
push str.SPCHookPackageInstalling
push ebx
mov dword [esi + 0x2c], eax
call edi
push str.SPCHookPackageStaging
push ebx
mov dword [esi + 0x30], eax
call edi
push str.SPCHookInstallFinished
push ebx
mov dword [esi + 0x34], eax
call edi
push str.SPCHookPostSSUPreSleep
push ebx
mov dword [esi + 0x38], eax
call edi
push str.SPCHookDriverBlockFound
push ebx
mov dword [esi + 0x3c], eax
call edi
push str.SPCHookDriverWarnFound
push ebx
mov dword [esi + 0x40], eax
call edi
push str.SPCHookHotfixBlockFound
push ebx
mov dword [esi + 0x44], eax
call edi
push str.SPCHookUpdatedSPCFound
push ebx
mov dword [esi + 0x48], eax
call edi
push esi
mov dword [esi + 0x4c], eax
call dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
test eax, eax
jge 0x1049476
push 0x1014ba8
push 0x1014b88
jmp 0x1049386
push dword [ebp + 8]
and dword [ebp - 0x1c], 0
lea ecx, [esi + 8]
mov dword [esi + 0xc], ebx
call fcn.01030cc8
mov dword [esi + 4], 1
jmp 0x1049336
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x10494a8
and eax, 0xffff
or eax, 0x80070000
cmp eax, edi
mov dword [ebp - 0x14], eax
jl 0x10494b6
mov dword [ebp - 0x14], 0x80004005
mov eax, dword [ebp + 8]
push dword [eax]
push 0x10018bc
push 0x1014b6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.01048d15
add esp, 0x10
lea ecx, [ebp - 0x18]
call fcn.0102fb22
jmp 0x104954c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, edi
jle 0x10494f4
and eax, 0xffff
or eax, 0x80070000
cmp eax, edi
mov dword [ebp - 0x14], eax
jl 0x1049502
mov dword [ebp - 0x14], 0x80004005
push dword [ebx]
push 0x1014ad8
push 0x1014abc
call esi
push eax
call fcn.01048d15
add esp, 0x10
jmp 0x104957d
xor edi, edi
cmp ebx, edi
je 0x104957d
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0xc], edi
mov dword [esi], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x1c], edi
mov eax, dword [ebp - 0x14]
call fcn.0104dd50
ret 4