Function at 0x41ade0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560620
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5b7f60]
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 eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x14]
mov esi, edi
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xd4], eax
call fcn.0040e6b0
lea esi, [edi + 0x64]
lea eax, [esi + 0x2c]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xdc], esi
mov dword [esi], 0x58dcc8
mov dword [ebp - 0xbc], eax
mov dword [eax], 0x58ed8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x30], eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
xor ecx, ecx
mov word [esi + 4], cx
mov ecx, dword [ebp - 0xbc]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov cl, byte [ebp + 0x18]
lea esi, [edi + 0x9c]
lea eax, [esi + 0x2c]
mov byte [edi + 0x98], cl
mov byte [edi + 0x99], bl
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xc4], esi
mov dword [esi], 0x58dcc8
mov dword [ebp - 0xe0], eax
mov dword [eax], 0x58ed8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0xb8]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x41aee8
add eax, 4
jmp 0x41aeea
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 4]
push ebx
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push eax
mov word [ecx], dx
call fcn.004021c0
mov ecx, dword [ebp - 0xe0]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov ecx, dword [eax + ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea esi, [edi + 0xd0]
lea eax, [esi + 0x2c]
mov dword [ebp - 0xc4], esi
mov dword [esi], 0x58dcc8
mov dword [ebp - 0xe0], eax
mov dword [eax], 0x58ed8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0xd8]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x41af60
add eax, 4
jmp 0x41af62
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 4]
push ebx
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push eax
mov word [ecx], dx
call fcn.004021c0
mov ecx, dword [ebp - 0xe0]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov ecx, dword [eax + ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea esi, [edi + 0x104]
lea eax, [esi + 0x2c]
mov dword [ebp - 0xc4], esi
mov dword [esi], 0x58dcc8
mov dword [ebp - 0xd8], eax
mov dword [eax], 0x58ed8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xc0]
cmp eax, ebx
je 0x41afd8
add eax, 4
jmp 0x41afda
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 4]
push ebx
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push eax
mov word [ecx], dx
call fcn.004021c0
mov ecx, dword [ebp - 0xd8]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov ecx, dword [eax + ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea esi, [edi + 0x138]
lea eax, [esi + 0x2c]
mov dword [ebp - 0xc4], esi
mov dword [esi], 0x58dcc8
mov dword [ebp - 0xc0], eax
mov dword [eax], 0x58ed8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xd4]
cmp eax, ebx
je 0x41b050
add eax, 4
jmp 0x41b052
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 4]
push ebx
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push eax
mov word [ecx], dx
call fcn.004021c0
mov ecx, dword [ebp - 0xc0]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov ecx, dword [eax + ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0xb8]
add eax, 4
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
jb 0x41b0a0
mov eax, dword [eax]
push eax
push str.Loading_product__s
push 0x200
call fcn.004060b0
add esp, 0xc
lea esi, [edi + 0x16c]
push esi
mov dword [ebp - 0xb8], esi
call fcn.0041be10
mov edx, dword [ebp - 0xbc]
mov ebx, dword [esi]
push edx
lea ecx, [edi + 0x104]
call fcn.0041ce10
mov esi, dword [esi]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
lea edx, [ebp - 0xc8]
push edx
call fcn.0041bef0
add esp, 4
lea eax, [ebp - 0xc8]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040e830
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xc4]
xor ebx, ebx
cmp eax, ebx
je 0x41b13d
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41b13d
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41b13d
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
push 1
lea eax, [ebp - 0xb1]
push eax
push str.CustomIconConfig
lea ecx, [ebp - 0x48]
call fcn.004136e0
lea esi, [ebp - 0xc8]
mov byte [ebp - 4], 0xb
call fcn.0040e9d0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xdc]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp - 0xbc]
lea edx, [ebp - 0x48]
push edx
push ecx
mov ecx, eax
call fcn.004072d0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xc4]
cmp eax, ebx
je 0x41b1ba
mov esi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x41b1ba
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41b1ba
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
call fcn.004026f0
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx]
cmp dword [edx + 0x74], ebx
jne 0x41b51e
mov dword [ebp - 0x7c], 0x58dcc8
mov dword [ebp - 0x50], 0x58ed8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
xor eax, eax
mov word [ebp - 0x78], ax
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov eax, dword [ecx + 4]
mov edx, dword [ebp + eax - 0x50]
lea eax, [ebp + eax - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 1
lea eax, [ebp - 0xb1]
push eax
push str.CSMGranularity
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xd
call fcn.004136e0
lea esi, [ebp - 0xc8]
mov byte [ebp - 4], 0xe
call fcn.0040e9d0
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, dword [ebp - 0xbc]
lea edx, [ebp - 0x48]
mov byte [ebp - 4], 0xf
mov eax, dword [eax]
push edx
push ecx
mov ecx, eax
call fcn.004072d0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0xc4]
cmp eax, ebx
je 0x41b29a
mov esi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x41b29a
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41b29a
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xd
call fcn.004026f0
cmp dword [ebp - 0x64], 8
mov eax, dword [ebp - 0x78]
jae 0x41b2b2
lea eax, [ebp - 0x78]
push 1
lea ecx, [ebp - 0xb1]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.004136e0
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 0x10
call fcn.0041c3e0
lea ecx, [ebp - 0x48]
mov esi, eax
mov byte [ebp - 4], 0xd
call fcn.004026f0
cmp esi, 4
jne 0x41b504
mov dword [ebp - 0x48], 0x58dcc8
mov dword [ebp - 0x1c], 0x58ed8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], ebx
mov word [ebp - 0x44], dx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0x1c]
lea eax, [ebp + eax - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 1
lea edx, [ebp - 0xb1]
push edx
push str.CSMCustomGranularity
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x11
call fcn.004136e0
lea esi, [ebp - 0xc8]
mov byte [ebp - 4], 0x12
call fcn.0040e9d0
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0xbc]
lea edx, [ebp - 0xb0]
mov byte [ebp - 4], 0x13
mov eax, dword [eax]
push edx
push ecx
mov ecx, eax
call fcn.004072d0
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0xc4]
cmp eax, ebx
je 0x41b3b0
mov esi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x41b3b0
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x41b3b0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x11
call fcn.004026f0
cmp dword [ebp - 0x34], ebx
jne 0x41b3f7
push str.Invalid_custom_granularity_period___defaulting_to_daily.
push 8
call fcn.004060b0
mov ecx, dword [ebp - 0xb8]
mov esi, dword [ecx]
add esp, 8
push 1
call fcn.0041d0d0
lea ecx, [ebp - 0x48]
call fcn.004026f0
lea ecx, [ebp - 0x7c]
call fcn.004026f0
jmp 0x41b528
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], ebx
push 1
lea edx, [ebp - 0xb1]
push edx
push 0x58ef74
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x14
call fcn.00403100
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xb0]
push ecx
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 0x15
call fcn.0041bcf0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x14
call fcn.004026f0
mov ecx, dword [ebp - 0xcc]
mov esi, dword [ebp - 0xd0]
sub ecx, esi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
je 0x41b4a2
push str.Invalid_custom_granularity_format._Expected__24HOURS___DAYOFWEEK___MONTHOFYEAR_._Defaulting_to_daily.
push 8
call fcn.004060b0
mov ecx, dword [ebp - 0xb8]
mov esi, dword [ecx]
add esp, 8
push 1
call fcn.0041d0d0
lea esi, [ebp - 0xd0]
call fcn.00409800
jmp 0x41b3e2
lea edx, [ebp - 0xc0]
push edx
mov eax, esi
call fcn.0041e3c0
lea ecx, [ebp - 0xdc]
lea eax, [esi + 0x34]
push ecx
call fcn.0041e3c0
lea edx, [ebp - 0xd4]
lea eax, [esi + 0x68]
push edx
call fcn.0041e3c0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xd4]
push eax
push edx
mov edx, dword [ebp - 0xc0]
call fcn.0041d200
lea esi, [ebp - 0xd0]
call fcn.00409800
lea ecx, [ebp - 0x48]
call fcn.004026f0
jmp 0x41b512
mov eax, dword [ebp - 0xb8]
push esi
mov esi, dword [eax]
call fcn.0041d0d0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 9
call fcn.004026f0
cmp byte [ebp + 0xc], bl
je 0x41b528
call fcn.0041bbe0
mov eax, edi
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.005319a6
mov esp, ebp
pop ebp
ret 0x14