Function at 0x59bec0
Capabilities:
Get number of processors
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7450e4
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x857060]
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 - 0xac], eax
mov byte [eax], bl
mov eax, dword [edi + 0x30]
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xa4], 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 0x59bf3b
push str.ccim_UserAction
push eax
call esi
mov dword [ebp - 0xb4], eax
mov ecx, dword [edi + 0x30]
mov dword [ebp - 0xa8], ebx
test ecx, ecx
je 0x59bf56
push str.ccim_GetInformation
push ecx
call esi
mov dword [ebp - 0xa8], eax
mov ecx, dword [edi + 0x30]
mov dword [ebp - 0x58], ebx
test ecx, ecx
je 0x59bf6b
push str.ccim_startWorkflowWithMode
push ecx
call esi
mov dword [ebp - 0x58], eax
mov ecx, dword [edi + 0x30]
mov dword [ebp - 0xb0], ebx
test ecx, ecx
je 0x59bf86
push str.ccim_endWorkflow
push ecx
call esi
mov dword [ebp - 0xb0], eax
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x59bfa3
push str.hdimSetLoggerFnPtr
push ecx
call esi
test eax, eax
je 0x59bfa3
push fcn.0056c500
call eax
add esp, 4
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0x59ca40
push 4
push eax
call dword [ebp - 0x58]
mov esi, eax
add esp, 8
test esi, esi
jne 0x59c4c2
xorps xmm0, xmm0
mov dword [ebp - 0x14], ebx
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x14], al
mov dword [ebp - 0x1c], eax
lea eax, [edi + 0x4c]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1c]
call fcn.00654dc0
test al, al
je 0x59c4fc
xor eax, eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
push 0x1a
push str._messageData_driverXMLData
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
call fcn.00426d40
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00655790
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 5
call fcn.00426ce0
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x54]
push eax
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x59c071
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea ecx, [ebp - 0x1c]
call fcn.006588d0
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 - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa0]
push 0x1c
push str._messageData_installLanguage
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
call fcn.00426d40
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x1c]
call fcn.006553c0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.00426ce0
cmp dword [ebp - 0x2c], 0
je 0x59c10b
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
mov dword [ebp - 0x60], eax
jmp 0x59c112
mov dword [ebp - 0x60], 0
push 0x16
lea ecx, [edi + 0x64]
mov dword [ebp - 0x64], str.isProductUpdateEnabled
push str.isProductUpdateEnabled
call fcn.00426d40
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
push eax
lea eax, [ebp - 0x84]
push eax
call dword [ebp - 0xa8]
mov edx, dword [ebp - 0x5c]
add esp, 8
test edx, edx
je 0x59c1b1
mov ecx, edx
mov dword [ebp - 0x90], 0
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x59c170
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa0]
call fcn.00426d40
mov ebx, 1
lea ecx, [ebp - 0xa0]
push str.false
mov dword [ebp - 0xa4], ebx
call fcn.00513340
mov byte [ebp - 0x85], bl
test al, al
jne 0x59c1b8
mov byte [ebp - 0x85], 0
test bl, 1
je 0x59c1d1
and ebx, 0xfffffffe
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa4], ebx
call fcn.00426ce0
cmp byte [ebp - 0x85], 0
je 0x59c213
mov eax, dword [ebp - 0xac]
mov byte [eax], 0
call dword [ebp - 0xb0]
lea ecx, [ebp - 0x3c]
call fcn.00426ce0
mov byte [ebp - 4], 2
test esi, esi
je 0x59c1ff
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x54]
call fcn.00426ce0
mov dword [ebp - 4], 8
jmp 0x59c47f
push 0xe
push str.checkForUpdate
lea ecx, [edi + 0x64]
mov dword [ebp - 0x64], str.checkForUpdate
call fcn.00426d40
lea eax, [ebp - 0x84]
push eax
call dword [ebp - 0xb4]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x59c26e
push ebx
push str.checkForUpdate
push str.Failed_to__s_product._Return_error_code:__d
push 0x799430
push 0x799430
push str.WorkFlowHelper
push 0x799430
push 0x32
call fcn.0056c500
add esp, 0x20
push ebx
jmp 0x59c4fe
mov ecx, dword [edi + 0x14]
sub esp, 8
call fcn.006638a0
add esp, 8
cmp eax, 2
jne 0x59c2a5
push eax
push str.WaitforEvent_hdInstallEvent_returned_error___d
push 0x799430
push 0x799430
push str.WorkFlowHelper
push 0x799430
push 0x32
call fcn.0056c500
add esp, 0x1c
cmp byte [edi + 0x1c], 0
jne 0x59c42c
push 0x13
push str.getAvailableUpdates
lea ecx, [edi + 0x64]
mov dword [ebp - 0x64], str.getAvailableUpdates
call fcn.00426d40
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0
push eax
lea eax, [ebp - 0x84]
push eax
call dword [ebp - 0xa8]
mov edx, dword [ebp - 0x58]
add esp, 8
test edx, edx
je 0x59c345
mov ecx, edx
mov dword [ebp - 0x90], 0
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x59c310
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa0]
call fcn.00426d40
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x58]
or eax, 2
cmp dword [ebp - 0x90], 0
je 0x59c34b
mov bl, 1
jmp 0x59c34d
mov eax, dword [ebp - 0xa4]
xor bl, bl
test al, 2
je 0x59c35f
lea ecx, [ebp - 0xa0]
call fcn.00426ce0
mov edx, dword [ebp - 0x58]
test bl, bl
je 0x59c423
mov ecx, edx
mov dword [ebp - 0xc0], 0
xor eax, eax
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x59c390
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xd0]
call fcn.00426d40
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa0]
push 0xa
xor eax, eax
mov dword [ebp - 0x90], 0
push str.updateInfo
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
call fcn.00426d40
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0xd0]
push eax
lea edx, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
call fcn.0057ae10
add esp, 4
lea ecx, [ebp - 0xa0]
call fcn.00426ce0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 6
call fcn.00426ce0
mov eax, dword [ebp - 0xac]
mov byte [eax], 1
jmp 0x59c42c
mov eax, dword [ebp - 0xac]
mov byte [eax], 0
call dword [ebp - 0xb0]
test eax, eax
je 0x59c45a
push eax
push str.Failed_to_end_workflow._Return_error_code:__d
push 0x799430
push 0x799430
push str.WorkFlowHelper
push 0x799430
push 0x28
call fcn.0056c500
add esp, 0x1c
lea ecx, [ebp - 0x3c]
call fcn.00426ce0
mov byte [ebp - 4], 2
test esi, esi
je 0x59c470
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x54]
call fcn.00426ce0
mov dword [ebp - 4], 0xb
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x59c48e
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor esi, esi
cmp byte [ebp - 0x14], 0
je 0x59c49a
call dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
je 0x59c4a4
mov eax, dword [esi]
push esi
call dword [eax + 8]
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.006d0965
mov esp, ebp
pop ebp
ret 8
push esi
push str.Failed_to_start_workflow._Return_error_code:__d
push 0x799430
push 0x799430
push str.WorkFlowHelper
push 0x799430
push 0x32
call fcn.0056c500
add esp, 0x1c
lea ecx, [ebp - 0x20]
push esi
call fcn.0056bed0
push 0x853bc4
mov eax, ecx
push eax
call fcn.006e8e84
push 1
lea ecx, [ebp - 0x98]
call fcn.0056bed0
push 0x853bc4
mov eax, ecx
push eax
call fcn.006e8e84
int3