Function at 0x418f50
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46295e
mov eax, dword fs:[0]
push eax
mov eax, 0x1634
call fcn.0044f450
mov eax, dword [0x47f038]
xor eax, esp
mov dword [esp + 0x1630], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47f038]
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.004412c0
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 0x409a30
test al, al
je 0x4196ae
jmp 0x418fd5
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.004412c0
push 0x1c2d0
call fcn.0044e29f
add esp, 0x14
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1650], ebx
cmp eax, ebx
je 0x419014
mov ecx, eax
call fcn.004409e0
mov esi, eax
jmp 0x419016
xor esi, esi
push 0x46ce98
lea eax, [esp + 0x648]
push eax
mov ecx, esi
mov dword [esp + 0x1658], 0xffffffff
call fcn.00440c30
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.0044e1b0
push 0x206
lea ecx, [esp + 0x246]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x24c], ax
call fcn.0044e1b0
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.0044e1b0
add esp, 0x24
xor edi, edi
cmp dword [esp + 0x20], ebx
mov byte [esp + 0x17], bl
jle 0x419589
cmp byte [esi + 0x1c2cc], bl
je 0x4190ca
cmp edi, dword [esi + 0x1c2c8]
jl 0x4190bc
xor eax, eax
jmp 0x4190e0
mov ecx, edi
shl ecx, 0xb
lea eax, [ecx + esi + 0x32c8]
jmp 0x4190e0
cmp edi, dword [esi + 0x1c2c8]
jl 0x4190d6
xor eax, eax
jmp 0x4190e0
mov eax, edi
imul eax, eax, 0x104
add eax, esi
push eax
push edi
push str.____d____s__n
call fcn.004412c0
add esp, 0xc
cmp edi, 5
ja case.default.0x4190f8
jmp dword [edi*4 + 0x4196dc]
cmp byte [esi + 0x1c2cc], bl
je 0x41911b
cmp dword [esi + 0x1c2c8], ebx
jg 0x419113
xor eax, eax
jmp 0x419129
lea eax, [esi + 0x32c8]
jmp 0x419129
xor eax, eax
cmp dword [esi + 0x1c2c8], ebx
setle al
dec eax
and eax, esi
push str.HKLM
push eax
call fcn.0044e882
add esp, 8
test eax, eax
jne 0x419140
mov ebp, reloc.OLEAUT32.dll_SysReAllocString
cmp byte [esi + 0x1c2cc], bl
je 0x41915c
cmp dword [esi + 0x1c2c8], ebx
jg 0x419154
xor eax, eax
jmp 0x41916a
lea eax, [esi + 0x32c8]
jmp 0x41916a
xor eax, eax
cmp dword [esi + 0x1c2c8], ebx
setle al
dec eax
and eax, esi
push str.HKCU
push eax
call fcn.0044e882
add esp, 8
test eax, eax
jne 0x419181
mov ebp, SysReAllocString
cmp byte [esi + 0x1c2cc], bl
je 0x41919d
cmp dword [esi + 0x1c2c8], ebx
jg 0x419195
xor eax, eax
jmp 0x4191ab
lea eax, [esi + 0x32c8]
jmp 0x4191ab
xor eax, eax
cmp dword [esi + 0x1c2c8], ebx
setle al
dec eax
and eax, esi
push str.HKCR
push eax
call fcn.0044e882
add esp, 8
test eax, eax
jne 0x4191c2
mov ebp, SysReAllocString
cmp byte [esi + 0x1c2cc], bl
je 0x4191de
cmp dword [esi + 0x1c2c8], ebx
jg 0x4191d6
xor eax, eax
jmp 0x4191ec
lea eax, [esi + 0x32c8]
jmp 0x4191ec
xor eax, eax
cmp dword [esi + 0x1c2c8], ebx
setle al
dec eax
and eax, esi
push str.HKCC
push eax
call fcn.0044e882
add esp, 8
test eax, eax
jne 0x419203
mov ebp, VariantClear
cmp byte [esi + 0x1c2cc], bl
je 0x41921f
cmp dword [esi + 0x1c2c8], ebx
jg 0x419217
xor eax, eax
jmp 0x41922d
lea eax, [esi + 0x32c8]
jmp 0x41922d
xor eax, eax
cmp dword [esi + 0x1c2c8], ebx
setle al
dec eax
and eax, esi
push str.HKUR
push eax
call fcn.0044e882
add esp, 8
test eax, eax
jne 0x419249
mov ebp, SysStringLen
jmp case.default.0x4190f8
cmp ebp, ebx
jne case.default.0x4190f8
mov byte [esp + 0x16], bl
jmp 0x419570
cmp byte [esi + 0x1c2cc], bl
je 0x419277
cmp dword [esi + 0x1c2c8], 1
jg 0x41926f
xor ecx, ecx
jmp 0x41928a
lea ecx, [esi + 0x3ac8]
jmp 0x41928a
cmp dword [esi + 0x1c2c8], 1
jg 0x419284
xor ecx, ecx
jmp 0x41928a
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 0x419290
cmp word [esp + 0x2c], bx
jne case.default.0x4190f8
mov byte [esp + 0x16], bl
jmp 0x419570
cmp byte [esi + 0x1c2cc], bl
je 0x4192d2
cmp dword [esi + 0x1c2c8], 2
jg 0x4192ca
xor ecx, ecx
jmp 0x4192e5
lea ecx, [esi + 0x42c8]
jmp 0x4192e5
cmp dword [esi + 0x1c2c8], 2
jg 0x4192df
xor ecx, ecx
jmp 0x4192e5
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 0x4192f0
jmp case.default.0x4190f8
cmp byte [esi + 0x1c2cc], bl
je 0x419343
cmp dword [esi + 0x1c2c8], 3
jg 0x41932b
xor eax, eax
push eax
call fcn.0044e92b
add esp, 4
mov dword [esp + 0x1c], eax
jmp case.default.0x4190f8
lea eax, [esi + 0x4ac8]
push eax
call fcn.0044e92b
add esp, 4
mov dword [esp + 0x1c], eax
jmp case.default.0x4190f8
cmp dword [esi + 0x1c2c8], 3
jg 0x419360
xor eax, eax
push eax
call fcn.0044e92b
add esp, 4
mov dword [esp + 0x1c], eax
jmp case.default.0x4190f8
lea eax, [esi + 0x30c]
push eax
call fcn.0044e92b
add esp, 4
mov dword [esp + 0x1c], eax
jmp case.default.0x4190f8
mov eax, dword [esp + 0x1c]
cmp eax, 1
jne 0x41949b
cmp byte [esi + 0x1c2cc], bl
je 0x4193a2
cmp dword [esi + 0x1c2c8], 4
jg 0x41939a
xor eax, eax
jmp 0x4193b5
lea eax, [esi + 0x52c8]
jmp 0x4193b5
cmp dword [esi + 0x1c2c8], 4
jg 0x4193af
xor eax, eax
jmp 0x4193b5
lea eax, [esi + 0x410]
push 2
push eax
push 0x46cedc
call fcn.0044fed8
add esp, 0xc
test eax, eax
jne 0x419439
cmp byte [esi + 0x1c2cc], bl
je 0x419404
cmp dword [esi + 0x1c2c8], 4
jg 0x4193ec
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0xc]
push eax
call fcn.00444fa0
jmp case.default.0x4190f8
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0xc]
lea eax, [esi + 0x52c8]
push eax
call fcn.00444fa0
jmp case.default.0x4190f8
cmp dword [esi + 0x1c2c8], 4
jg 0x419421
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0xc]
xor eax, eax
push eax
call fcn.00444fa0
jmp case.default.0x4190f8
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0xc]
lea eax, [esi + 0x410]
push eax
call fcn.00444fa0
jmp case.default.0x4190f8
cmp byte [esi + 0x1c2cc], bl
je 0x41946e
cmp dword [esi + 0x1c2c8], 4
jg 0x41945a
xor eax, eax
push eax
call fcn.0044e92b
add esp, 4
jmp case.default.0x4190f8
lea eax, [esi + 0x52c8]
push eax
call fcn.0044e92b
add esp, 4
jmp case.default.0x4190f8
cmp dword [esi + 0x1c2c8], 4
jg 0x419487
xor eax, eax
push eax
call fcn.0044e92b
add esp, 4
jmp case.default.0x4190f8
lea eax, [esi + 0x410]
push eax
call fcn.0044e92b
add esp, 4
jmp case.default.0x4190f8
cmp eax, ebx
jne case.default.0x4190f8
cmp byte [esi + 0x1c2cc], bl
je 0x4194c0
cmp dword [esi + 0x1c2c8], 4
jg 0x4194b8
xor ecx, ecx
jmp 0x4194d3
lea ecx, [esi + 0x52c8]
jmp 0x4194d3
cmp dword [esi + 0x1c2c8], 4
jg 0x4194cd
xor ecx, ecx
jmp 0x4194d3
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 0x4194e0
cmp word [esp + 0x234], bx
je 0x41950b
cmp word [esp + 0x43c], bx
jne 0x419515
mov byte [esp + 0x16], bl
jmp 0x419570
cmp word [esp + 0x43c], bx
je case.default.0x4190f8
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x43c]
push eax
call fcn.00417110
jmp case.default.0x4190f8
cmp byte [esi + 0x1c2cc], bl
je 0x419545
cmp dword [esi + 0x1c2c8], 5
jg 0x41953d
xor eax, eax
jmp 0x419558
lea eax, [esi + 0x5ac8]
jmp 0x419558
cmp dword [esi + 0x1c2c8], 5
jg 0x419552
xor eax, eax
jmp 0x419558
lea eax, [esi + 0x514]
push eax
call fcn.0044e92b
add esp, 4
test eax, eax
je case.default.0x4190f8
mov byte [esp + 0x17], 1
cmp byte [esp + 0x16], bl
jne 0x419574
mov edi, dword [esp + 0x20]
inc edi
cmp edi, dword [esp + 0x20]
jl 0x4190a8
cmp byte [esp + 0x16], bl
je 0x41966e
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 8]
cmp byte [edx + 0x1e89], bl
je 0x4195a2
call fcn.00416fc0
jmp 0x41966e
lea eax, [esp + 0x234]
push eax
push 0xffffffffffffffff
push 6
call fcn.00416eb0
cmp word [esp + 0x234], bx
je 0x419626
push 0xf003f
lea ecx, [esp + 0x238]
push ecx
lea edx, [esp + 0x34]
push edx
push ebp
call fcn.0044da60
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.0044d9c0
add esp, 0xc
test eax, eax
jne 0x419645
push 0x20019
lea ecx, [esp + 0x30]
push ecx
push ebp
call fcn.0044da10
add esp, 0xc
test eax, eax
jne 0x419645
push ebx
push 0xf003f
lea edx, [esp + 0x34]
push edx
push ebp
call fcn.0044da80
add esp, 0x10
jmp 0x419645
movzx eax, byte [esp + 0x17]
push ebx
push eax
lea ecx, [esp + 0x34]
push ecx
push ebp
call fcn.0044da80
add esp, 0x10
push 0x64
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, ebx
je 0x419654
lea edx, [esp + 0x234]
push edx
push ebx
jmp 0x419663
lea eax, [esp + 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [esp + 0x20]
push 6
call fcn.00416eb0
cmp esi, ebx
je 0x419682
mov ecx, esi
call fcn.00440490
push esi
call fcn.0044e22a
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 0x409a30
test al, al
jne 0x418fd1
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.0044e1a0
add esp, 0x1640
ret 4