Function at 0x46ba50
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8e34
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 0x46bad1
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 0x46baec
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 0x46bb01
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 0x46bb1c
push str.ccim_endWorkflow
push ecx
call esi
mov dword [ebp - 0x98], eax
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x46bb39
push str.hdimSetLoggerFnPtr
push ecx
call esi
test eax, eax
je 0x46bb39
push fcn.00440db0
call eax
add esp, 4
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0x46c570
push 4
push eax
call dword [ebp - 0x58]
mov esi, eax
add esp, 8
test esi, esi
je 0x46bba5
mov eax, fcn.00440db0
test eax, eax
je 0x46bb85
push esi
push str.Failed_to_start_workflow._Return_error_code:__d
push 0x5f8398
push 0x5f8398
push str.WorkFlowHelper
push 0x5f8398
push 0x32
call fcn.00440db0
add esp, 0x1c
push 0x646910
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.0058f9de
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.005220c0
test al, al
jne 0x46bc05
push 0x646910
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.0058f9de
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.00522a20
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x9c]
cmp eax, 8
jb 0x46bc69
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 0x46bc9c
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea ecx, [ebp - 0x1c]
call fcn.00525970
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.00522660
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x9c]
cmp eax, 8
jb 0x46bd1a
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 0x46bd3c
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
mov dword [ebp - 0x60], eax
jmp 0x46bd43
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 0x46bda3
push eax
lea ecx, [ebp - 0xd0]
call fcn.00408810
push str.false
mov ebx, 1
push eax
mov dword [ebp - 0x8c], ebx
call fcn.00423e40
add esp, 8
mov byte [ebp - 0x85], bl
test al, al
jne 0x46bdaa
mov byte [ebp - 0x85], 0
test bl, 1
je 0x46bdc3
and ebx, 0xfffffffe
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x8c], ebx
call fcn.004087d0
cmp byte [ebp - 0x85], 0
je 0x46bde0
mov eax, dword [ebp - 0x94]
mov byte [eax], 0
call dword [ebp - 0x98]
jmp 0x46bfce
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 0x46be68
mov eax, fcn.00440db0
test eax, eax
je 0x46be3c
push ebx
push str.checkForUpdate
push str.Failed_to__s_product._Return_error_code:__d
push 0x5f8398
push 0x5f8398
push str.WorkFlowHelper
push 0x5f8398
push 0x32
call fcn.00440db0
add esp, 0x20
push 0x646910
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.0058f9de
mov ecx, dword [edi + 0x10]
sub esp, 8
call fcn.00537460
add esp, 8
mov ebx, fcn.00440db0
cmp eax, 2
jne 0x46bea8
test ebx, ebx
je 0x46bea8
push eax
push str.WaitforEvent_hdInstallEvent_returned_error___d
push 0x5f8398
push 0x5f8398
push str.WorkFlowHelper
push 0x5f8398
push 0x32
call fcn.00440db0
add esp, 0x1c
cmp byte [edi + 0x18], 0
jne 0x46bf9c
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 0x46bf0c
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 0x46bf12
mov bl, 1
jmp 0x46bf14
mov ecx, dword [ebp - 0x8c]
xor bl, bl
test cl, 2
je 0x46bf24
lea ecx, [ebp - 0xd0]
call fcn.004087d0
test bl, bl
je 0x46bf8e
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.0044c5e0
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 0x46bf97
mov eax, dword [ebp - 0x94]
mov byte [eax], 0
mov ebx, fcn.00440db0
call dword [ebp - 0x98]
test eax, eax
je 0x46bfce
test ebx, ebx
je 0x46bfce
push eax
push str.Failed_to_end_workflow._Return_error_code:__d
push 0x5f8398
push 0x5f8398
push str.WorkFlowHelper
push 0x5f8398
push 0x28
call fcn.00440db0
add esp, 0x1c
lea ecx, [ebp - 0x3c]
call fcn.004087d0
mov byte [ebp - 4], 2
test esi, esi
je 0x46bfe4
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x54]
call fcn.004087d0
lea ecx, [ebp - 0x1c]
call fcn.00521b30
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.005765b2
mov esp, ebp
pop ebp
ret 8