Function at 0x417ec0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x45f3ee
mov eax, dword fs:[0]
push eax
mov eax, 0x1634
call fcn.0044bf30
mov eax, dword [0x47b038]
xor eax, esp
mov dword [esp + 0x1630], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47b038]
xor eax, esp
push eax
lea eax, [esp + 0x1648]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1658]
mov edi, ecx
push esi
push str.ProcessSectionAddRegs_____s__n
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], esi
call fcn.0043e2c0
mov ecx, dword [edi + 4]
add esp, 8
xor ebx, ebx
push ebx
lea eax, [esp + 0x648]
push eax
push ebx
push esi
mov dword [esp + 0x34], ebx
call fcn.004090a0
test al, al
je 0x41861e
jmp 0x417f45
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x644]
push ecx
push edx
push esi
push str.__s___d____s__n
call fcn.0043e2c0
push 0x1c2d0
call fcn.0044ad7f
add esp, 0x14
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1650], ebx
cmp eax, ebx
je 0x417f84
mov ecx, eax
call fcn.0043d9e0
mov esi, eax
jmp 0x417f86
xor esi, esi
push 0x469868
lea eax, [esp + 0x648]
push eax
mov ecx, esi
mov dword [esp + 0x1658], 0xffffffff
call fcn.0043dc30
push 0x206
lea edx, [esp + 0x32]
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x2c], eax
mov byte [esp + 0x22], 1
xor ebp, ebp
mov word [esp + 0x38], cx
call fcn.0044ac90
push 0x206
lea ecx, [esp + 0x246]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x24c], ax
call fcn.0044ac90
push 0x206
lea eax, [esp + 0x45a]
xor edx, edx
push ebx
push eax
mov dword [esp + 0x40], ebx
mov word [esp + 0x460], dx
call fcn.0044ac90
add esp, 0x24
xor edi, edi
cmp dword [esp + 0x20], ebx
mov byte [esp + 0x17], bl
jle 0x4184f9
cmp byte [esi + 0x1c2cc], bl
je 0x41803a
cmp edi, dword [esi + 0x1c2c8]
jl 0x41802c
xor eax, eax
jmp 0x418050
mov ecx, edi
shl ecx, 0xb
lea eax, [ecx + esi + 0x32c8]
jmp 0x418050
cmp edi, dword [esi + 0x1c2c8]
jl 0x418046
xor eax, eax
jmp 0x418050
mov eax, edi
imul eax, eax, 0x104
add eax, esi
push eax
push edi
push str.____d____s__n
call fcn.0043e2c0
add esp, 0xc
cmp edi, 5
ja case.default.0x418068
jmp dword [edi*4 + 0x41864c]
cmp byte [esi + 0x1c2cc], bl
je 0x41808b
cmp dword [esi + 0x1c2c8], ebx
jg 0x418083
xor eax, eax
jmp 0x418099
lea eax, [esi + 0x32c8]
jmp 0x418099
xor eax, eax
cmp dword [esi + 0x1c2c8], ebx
setle al
dec eax
and eax, esi
push str.HKLM
push eax
call fcn.0044b362
add esp, 8
test eax, eax
jne 0x4180b0
mov ebp, reloc.OLEAUT32.dll_SysReAllocString
cmp byte [esi + 0x1c2cc], bl
je 0x4180cc
cmp dword [esi + 0x1c2c8], ebx
jg 0x4180c4
xor eax, eax
jmp 0x4180da
lea eax, [esi + 0x32c8]
jmp 0x4180da
xor eax, eax
cmp dword [esi + 0x1c2c8], ebx
setle al
dec eax
and eax, esi
push str.HKCU
push eax
call fcn.0044b362
add esp, 8
test eax, eax
jne 0x4180f1
mov ebp, SysReAllocString
cmp byte [esi + 0x1c2cc], bl
je 0x41810d
cmp dword [esi + 0x1c2c8], ebx
jg 0x418105
xor eax, eax
jmp 0x41811b
lea eax, [esi + 0x32c8]
jmp 0x41811b
xor eax, eax
cmp dword [esi + 0x1c2c8], ebx
setle al
dec eax
and eax, esi
push str.HKCR
push eax
call fcn.0044b362
add esp, 8
test eax, eax
jne 0x418132
mov ebp, SysReAllocString
cmp byte [esi + 0x1c2cc], bl
je 0x41814e
cmp dword [esi + 0x1c2c8], ebx
jg 0x418146
xor eax, eax
jmp 0x41815c
lea eax, [esi + 0x32c8]
jmp 0x41815c
xor eax, eax
cmp dword [esi + 0x1c2c8], ebx
setle al
dec eax
and eax, esi
push str.HKCC
push eax
call fcn.0044b362
add esp, 8
test eax, eax
jne 0x418173
mov ebp, VariantClear
cmp byte [esi + 0x1c2cc], bl
je 0x41818f
cmp dword [esi + 0x1c2c8], ebx
jg 0x418187
xor eax, eax
jmp 0x41819d
lea eax, [esi + 0x32c8]
jmp 0x41819d
xor eax, eax
cmp dword [esi + 0x1c2c8], ebx
setle al
dec eax
and eax, esi
push str.HKUR
push eax
call fcn.0044b362
add esp, 8
test eax, eax
jne 0x4181b9
mov ebp, SysStringLen
jmp case.default.0x418068
cmp ebp, ebx
jne case.default.0x418068
mov byte [esp + 0x16], bl
jmp 0x4184e0
cmp byte [esi + 0x1c2cc], bl
je 0x4181e7
cmp dword [esi + 0x1c2c8], 1
jg 0x4181df
xor ecx, ecx
jmp 0x4181fa
lea ecx, [esi + 0x3ac8]
jmp 0x4181fa
cmp dword [esi + 0x1c2c8], 1
jg 0x4181f4
xor ecx, ecx
jmp 0x4181fa
lea ecx, [esi + 0x104]
lea edx, [esp + 0x2c]
mov edi, edi
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x418200
cmp word [esp + 0x2c], bx
jne case.default.0x418068
mov byte [esp + 0x16], bl
jmp 0x4184e0
cmp byte [esi + 0x1c2cc], bl
je 0x418242
cmp dword [esi + 0x1c2c8], 2
jg 0x41823a
xor ecx, ecx
jmp 0x418255
lea ecx, [esi + 0x42c8]
jmp 0x418255
cmp dword [esi + 0x1c2c8], 2
jg 0x41824f
xor ecx, ecx
jmp 0x418255
lea ecx, [esi + 0x208]
lea edx, [esp + 0x234]
lea esp, [esp]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x418260
jmp case.default.0x418068
cmp byte [esi + 0x1c2cc], bl
je 0x4182b3
cmp dword [esi + 0x1c2c8], 3
jg 0x41829b
xor eax, eax
push eax
call fcn.0044b40b
add esp, 4
mov dword [esp + 0x1c], eax
jmp case.default.0x418068
lea eax, [esi + 0x4ac8]
push eax
call fcn.0044b40b
add esp, 4
mov dword [esp + 0x1c], eax
jmp case.default.0x418068
cmp dword [esi + 0x1c2c8], 3
jg 0x4182d0
xor eax, eax
push eax
call fcn.0044b40b
add esp, 4
mov dword [esp + 0x1c], eax
jmp case.default.0x418068
lea eax, [esi + 0x30c]
push eax
call fcn.0044b40b
add esp, 4
mov dword [esp + 0x1c], eax
jmp case.default.0x418068
mov eax, dword [esp + 0x1c]
cmp eax, 1
jne 0x41840b
cmp byte [esi + 0x1c2cc], bl
je 0x418312
cmp dword [esi + 0x1c2c8], 4
jg 0x41830a
xor eax, eax
jmp 0x418325
lea eax, [esi + 0x52c8]
jmp 0x418325
cmp dword [esi + 0x1c2c8], 4
jg 0x41831f
xor eax, eax
jmp 0x418325
lea eax, [esi + 0x410]
push 2
push eax
push 0x4698ac
call fcn.0044c8e6
add esp, 0xc
test eax, eax
jne 0x4183a9
cmp byte [esi + 0x1c2cc], bl
je 0x418374
cmp dword [esi + 0x1c2c8], 4
jg 0x41835c
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0xc]
push eax
call fcn.00441cd0
jmp case.default.0x418068
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0xc]
lea eax, [esi + 0x52c8]
push eax
call fcn.00441cd0
jmp case.default.0x418068
cmp dword [esi + 0x1c2c8], 4
jg 0x418391
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0xc]
xor eax, eax
push eax
call fcn.00441cd0
jmp case.default.0x418068
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0xc]
lea eax, [esi + 0x410]
push eax
call fcn.00441cd0
jmp case.default.0x418068
cmp byte [esi + 0x1c2cc], bl
je 0x4183de
cmp dword [esi + 0x1c2c8], 4
jg 0x4183ca
xor eax, eax
push eax
call fcn.0044b40b
add esp, 4
jmp case.default.0x418068
lea eax, [esi + 0x52c8]
push eax
call fcn.0044b40b
add esp, 4
jmp case.default.0x418068
cmp dword [esi + 0x1c2c8], 4
jg 0x4183f7
xor eax, eax
push eax
call fcn.0044b40b
add esp, 4
jmp case.default.0x418068
lea eax, [esi + 0x410]
push eax
call fcn.0044b40b
add esp, 4
jmp case.default.0x418068
cmp eax, ebx
jne case.default.0x418068
cmp byte [esi + 0x1c2cc], bl
je 0x418430
cmp dword [esi + 0x1c2c8], 4
jg 0x418428
xor ecx, ecx
jmp 0x418443
lea ecx, [esi + 0x52c8]
jmp 0x418443
cmp dword [esi + 0x1c2c8], 4
jg 0x41843d
xor ecx, ecx
jmp 0x418443
lea ecx, [esi + 0x410]
lea edx, [esp + 0x43c]
lea ebx, [ebx]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x418450
cmp word [esp + 0x234], bx
je 0x41847b
cmp word [esp + 0x43c], bx
jne 0x418485
mov byte [esp + 0x16], bl
jmp 0x4184e0
cmp word [esp + 0x43c], bx
je case.default.0x418068
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x43c]
push eax
call fcn.004160e0
jmp case.default.0x418068
cmp byte [esi + 0x1c2cc], bl
je 0x4184b5
cmp dword [esi + 0x1c2c8], 5
jg 0x4184ad
xor eax, eax
jmp 0x4184c8
lea eax, [esi + 0x5ac8]
jmp 0x4184c8
cmp dword [esi + 0x1c2c8], 5
jg 0x4184c2
xor eax, eax
jmp 0x4184c8
lea eax, [esi + 0x514]
push eax
call fcn.0044b40b
add esp, 4
test eax, eax
je case.default.0x418068
mov byte [esp + 0x17], 1
cmp byte [esp + 0x16], bl
jne 0x4184e4
mov edi, dword [esp + 0x20]
inc edi
cmp edi, dword [esp + 0x20]
jl 0x418018
cmp byte [esp + 0x16], bl
je 0x4185de
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 8]
cmp byte [edx + 0x1e89], bl
je 0x418512
call fcn.0040b1b0
jmp 0x4185de
lea eax, [esp + 0x234]
push eax
push 0xffffffffffffffff
push 6
call fcn.00415ea0
cmp word [esp + 0x234], bx
je 0x418596
push 0xf003f
lea ecx, [esp + 0x238]
push ecx
lea edx, [esp + 0x34]
push edx
push ebp
call fcn.0044a540
add esp, 0x10
push 0x64
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x20019
lea eax, [esp + 0x30]
push eax
push ebp
call fcn.0044a4a0
add esp, 0xc
test eax, eax
jne 0x4185b5
push 0x20019
lea ecx, [esp + 0x30]
push ecx
push ebp
call fcn.0044a4f0
add esp, 0xc
test eax, eax
jne 0x4185b5
push ebx
push 0xf003f
lea edx, [esp + 0x34]
push edx
push ebp
call fcn.0044a560
add esp, 0x10
jmp 0x4185b5
movzx eax, byte [esp + 0x17]
push ebx
push eax
lea ecx, [esp + 0x34]
push ecx
push ebp
call fcn.0044a560
add esp, 0x10
push 0x64
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, ebx
je 0x4185c4
lea edx, [esp + 0x234]
push edx
push ebx
jmp 0x4185d3
lea eax, [esp + 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [esp + 0x20]
push 6
call fcn.00415ea0
cmp esi, ebx
je 0x4185f2
mov ecx, esi
call fcn.0043d490
push esi
call fcn.0044ad0a
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push ebx
inc eax
lea ecx, [esp + 0x648]
push ecx
push eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
push edx
call fcn.004090a0
test al, al
jne 0x417f41
xor eax, eax
mov ecx, dword [esp + 0x1648]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1630]
xor ecx, esp
call fcn.0044ac80
add esp, 0x1640
ret 4