Function at 0x59ae10
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x744e82
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x857060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x30]
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
mov edx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0xc8], 0
movups xmmword [ebp - 0xa8], xmm0
movups xmmword [ebp - 0x98], xmm0
test eax, eax
je 0x59ae89
push str.ccim_UserAction
push eax
call edx
mov edx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebx + 0x30]
mov dword [ebp - 0x18], 0
test ecx, ecx
je 0x59aea2
push str.ccim_startWorkflowWithMode
push ecx
call edx
mov dword [ebp - 0x18], eax
push str.update
mov ecx, edi
call fcn.00513340
test al, al
mov dword [ebp - 0x1c], 0
mov ecx, 4
mov edx, 1
xorps xmm0, xmm0
cmove ecx, edx
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
lea esi, [ebx + 0x4c]
mov dword [ebp - 4], edx
push esi
lea ecx, [ebp - 0x24]
call fcn.00654dc0
test al, al
je 0x59b353
xor eax, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
push 0x14
push str._messageData_wamMode
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
call fcn.00426d40
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x24]
call fcn.006553c0
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.00426ce0
cmp dword [ebp - 0x74], 0
mov ecx, 4
mov eax, dword [ebp - 0xcc]
cmovne eax, ecx
mov dword [ebp - 0xac], 0x59ca40
push eax
lea eax, [ebp - 0xac]
push eax
call dword [ebp - 0x18]
mov esi, eax
add esp, 8
test esi, esi
je 0x59afc2
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
push esi
jmp 0x59b380
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
lea ecx, [ebx + 0x64]
mov byte [ebp - 4], 4
cmp ecx, edi
je 0x59aff4
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x59afeb
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
call fcn.00426d40
push str.install
mov ecx, edi
call fcn.00513340
test al, al
jne 0x59b0a6
push str.update
mov ecx, edi
call fcn.00513340
test al, al
jne 0x59b0a6
push 0x1a
xor eax, eax
mov dword [ebp - 0x18], 0
push str._messageData_driverXMLData
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
call fcn.00426d40
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
call fcn.00655790
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 7
call fcn.00426ce0
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x6c]
push eax
push ecx
mov eax, esp
mov dword [eax], esi
test esi, esi
je 0x59b08e
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea ecx, [ebp - 0x24]
call fcn.006588d0
mov byte [ebp - 4], 4
test esi, esi
je 0x59b0f7
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x59b0f7
push 0x1a
xor eax, eax
mov dword [ebp - 0xb4], 0
push str._messageData_driverXMLData
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
call fcn.00426d40
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x24]
call fcn.006553c0
lea ecx, [ebp - 0xc4]
call fcn.00426ce0
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x44], 0
cmovae eax, dword [ebp - 0x6c]
mov dword [ebp - 0xa8], eax
xor eax, eax
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xc4]
push 0x1c
push str._messageData_installLocation
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
call fcn.00426d40
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x24]
call fcn.006553c0
lea ecx, [ebp - 0xc4]
call fcn.00426ce0
cmp dword [ebp - 0x44], 0
je 0x59b184
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
mov dword [ebp - 0x90], eax
jmp 0x59b18e
mov dword [ebp - 0x90], 0
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc4]
push 0x1c
push str._messageData_installLanguage
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
call fcn.00426d40
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x24]
call fcn.006553c0
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0xb
call fcn.00426ce0
cmp dword [ebp - 0x2c], 0
je 0x59b20e
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
mov dword [ebp - 0x88], eax
jmp 0x59b218
mov dword [ebp - 0x88], 0
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x59b222
mov eax, dword [edi]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0xac]
push eax
call dword [ebp - 0xc8]
mov esi, eax
add esp, 4
test esi, esi
je 0x59b270
push esi
mov ecx, edi
call fcn.0046a0d0
push eax
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 esi
jmp 0x59b380
mov ecx, dword [ebx + 0x14]
sub esp, 8
call fcn.006638a0
add esp, 8
cmp eax, 2
jne 0x59b2a7
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
mov ecx, dword [ebx + 0x30]
xor eax, eax
test ecx, ecx
je 0x59b2bc
push str.ccim_endWorkflow
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
test eax, eax
je 0x59b2e6
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
lea ecx, [ebp - 0x54]
call fcn.00426ce0
lea ecx, [ebp - 0x6c]
call fcn.00426ce0
lea ecx, [ebp - 0x84]
call fcn.00426ce0
mov dword [ebp - 4], 0xd
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x59b31f
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor esi, esi
cmp byte [ebp - 0x1c], 0
je 0x59b32b
call dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
je 0x59b335
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 - 0x14]
xor ecx, ebp
call fcn.006d0965
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.0046a0d0
push eax
push str.Failed_to_parse_XML:__s.
push 0x799430
push 0x799430
push str.WorkFlowHelper
push 0x799430
push 0x32
call fcn.0056c500
add esp, 0x1c
push 1
lea ecx, [ebp - 0xbc]
call fcn.0056bed0
push 0x853bc4
mov eax, ecx
push eax
call fcn.006e8e84
int3