Function at 0x46b7b0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8854
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x64a070]
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, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x94], eax
mov byte [eax], bl
mov eax, dword [edi + 0x28]
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0xb4], ebx
movups xmmword [ebp - 0x80], xmm0
movups xmmword [ebp - 0x70], xmm0
test eax, eax
je 0x46b831
push str.ccim_UserAction
push eax
call esi
mov dword [ebp - 0xb4], eax
mov ecx, dword [edi + 0x28]
mov dword [ebp - 0x90], ebx
test ecx, ecx
je 0x46b84c
push str.ccim_GetInformation
push ecx
call esi
mov dword [ebp - 0x90], eax
mov ecx, dword [edi + 0x28]
mov dword [ebp - 0x58], ebx
test ecx, ecx
je 0x46b861
push str.ccim_startWorkflowWithMode
push ecx
call esi
mov dword [ebp - 0x58], eax
mov ecx, dword [edi + 0x28]
mov dword [ebp - 0x98], ebx
test ecx, ecx
je 0x46b87c
push str.ccim_endWorkflow
push ecx
call esi
mov dword [ebp - 0x98], eax
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x46b899
push str.hdimSetLoggerFnPtr
push ecx
call esi
test eax, eax
je 0x46b899
push fcn.00440ae0
call eax
add esp, 4
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0x46c2d0
push 4
push eax
call dword [ebp - 0x58]
mov esi, eax
add esp, 8
test esi, esi
je 0x46b905
mov eax, fcn.00440ae0
test eax, eax
je 0x46b8e5
push esi
push str.Failed_to_start_workflow._Return_error_code:__d
push 0x5f8398
push 0x5f8398
push 0x606e48
push 0x5f8398
push 0x32
call fcn.00440ae0
add esp, 0x1c
push 0x646690
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], vtable.HDBSException.0
xorps xmm0, xmm0
mov dword [ebp - 0x14], esi
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.0058f513
xorps xmm0, xmm0
mov dword [ebp - 0x14], ebx
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
lea eax, [edi + 0x38]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1c]
call fcn.005218d0
test al, al
jne 0x46b965
push 0x646690
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], vtable.HDBSException.0
xorps xmm0, xmm0
mov dword [ebp - 0x9c], 1
push eax
movq qword [ebp - 0xa4], xmm0
call fcn.0058f513
xor eax, eax
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
push str._messageData_driverXMLData
mov dword [ebp - 0x24], eax
call fcn.00408810
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00522230
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x9c]
cmp eax, 8
jb 0x46b9c9
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.00409510
mov esi, dword [ebp - 0x24]
xor eax, eax
mov word [ebp - 0xb0], ax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], 0
push eax
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x46b9fc
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea ecx, [ebp - 0x1c]
call fcn.00525190
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
mov dword [ebp - 0x68], 0
cmovae eax, dword [ebp - 0x54]
mov dword [ebp - 0x80], eax
xor eax, eax
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
push str._messageData_installLanguage
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 6
call fcn.00408810
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00521e70
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x9c]
cmp eax, 8
jb 0x46ba7a
inc eax
lea ecx, [ebp - 0xb0]
push eax
push dword [ebp - 0xb0]
call fcn.00409510
cmp dword [ebp - 0x2c], 0
mov dword [ebp - 0x64], str.isProductUpdateEnabled
sete al
test al, al
jne 0x46ba9c
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
mov dword [ebp - 0x60], eax
jmp 0x46baa3
mov dword [ebp - 0x60], 0
push 0x16
lea ecx, [edi + 0x50]
push str.isProductUpdateEnabled
call fcn.00408a10
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
push eax
lea eax, [ebp - 0x84]
push eax
call dword [ebp - 0x90]
mov eax, dword [ebp - 0x5c]
add esp, 8
test eax, eax
je 0x46bb03
push eax
lea ecx, [ebp - 0xd0]
call fcn.00408810
push str.false
mov ebx, 1
push eax
mov dword [ebp - 0x8c], ebx
call fcn.00423c90
add esp, 8
mov byte [ebp - 0x85], bl
test al, al
jne 0x46bb0a
mov byte [ebp - 0x85], 0
test bl, 1
je 0x46bb23
and ebx, 0xfffffffe
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x8c], ebx
call fcn.004087d0
cmp byte [ebp - 0x85], 0
je 0x46bb40
mov eax, dword [ebp - 0x94]
mov byte [eax], 0
call dword [ebp - 0x98]
jmp 0x46bd2e
push str.checkForUpdate
lea ecx, [edi + 0x50]
mov dword [ebp - 0x64], str.checkForUpdate
call fcn.004089c0
lea eax, [ebp - 0x84]
push eax
call dword [ebp - 0xb4]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x46bbc8
mov eax, fcn.00440ae0
test eax, eax
je 0x46bb9c
push ebx
push str.checkForUpdate
push str.Failed_to__s_product._Return_error_code:__d
push 0x5f8398
push 0x5f8398
push 0x606e48
push 0x5f8398
push 0x32
call fcn.00440ae0
add esp, 0x20
push 0x646690
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], vtable.HDBSException.0
xorps xmm0, xmm0
mov dword [ebp - 0x9c], ebx
push eax
movq qword [ebp - 0xa4], xmm0
call fcn.0058f513
mov ecx, dword [edi + 0x10]
sub esp, 8
call fcn.00536c90
add esp, 8
mov ebx, fcn.00440ae0
cmp eax, 2
jne 0x46bc08
test ebx, ebx
je 0x46bc08
push eax
push str.WaitforEvent_hdInstallEvent_returned_error___d
push 0x5f8398
push 0x5f8398
push 0x606e48
push 0x5f8398
push 0x32
call fcn.00440ae0
add esp, 0x1c
cmp byte [edi + 0x18], 0
jne 0x46bcfc
push str.getAvailableUpdates
lea ecx, [edi + 0x50]
mov dword [ebp - 0x64], str.getAvailableUpdates
call fcn.004089c0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0
push eax
lea eax, [ebp - 0x84]
push eax
call dword [ebp - 0x90]
mov eax, dword [ebp - 0x58]
add esp, 8
test eax, eax
je 0x46bc6c
push eax
lea ecx, [ebp - 0xd0]
call fcn.00408810
mov ecx, dword [ebp - 0x8c]
or ecx, 2
cmp dword [eax + 0x10], 0
sete al
test al, al
jne 0x46bc72
mov bl, 1
jmp 0x46bc74
mov ecx, dword [ebp - 0x8c]
xor bl, bl
test cl, 2
je 0x46bc84
lea ecx, [ebp - 0xd0]
call fcn.004087d0
test bl, bl
je 0x46bcee
push dword [ebp - 0x58]
lea ecx, [ebp - 0xd0]
call fcn.00408810
push str.updateInfo
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 8
call fcn.00408810
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0xd0]
push eax
lea edx, [ebp - 0xb0]
mov byte [ebp - 4], 9
call fcn.0044c330
add esp, 4
lea ecx, [ebp - 0xb0]
call fcn.004087d0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 6
call fcn.004087d0
mov eax, dword [ebp - 0x94]
mov byte [eax], 1
jmp 0x46bcf7
mov eax, dword [ebp - 0x94]
mov byte [eax], 0
mov ebx, fcn.00440ae0
call dword [ebp - 0x98]
test eax, eax
je 0x46bd2e
test ebx, ebx
je 0x46bd2e
push eax
push str.Failed_to_end_workflow._Return_error_code:__d
push 0x5f8398
push 0x5f8398
push 0x606e48
push 0x5f8398
push 0x28
call fcn.00440ae0
add esp, 0x1c
lea ecx, [ebp - 0x3c]
call fcn.004087d0
mov byte [ebp - 4], 2
test esi, esi
je 0x46bd44
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x54]
call fcn.004087d0
lea ecx, [ebp - 0x1c]
call fcn.00521350
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.0057608a
mov esp, ebp
pop ebp
ret 8