Function at 0x1006f3d0
Capabilities:
Get number of processors
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x10093406
mov eax, dword fs:[0]
push eax
sub esp, 0x580
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x578], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100b0380]
xor eax, esp
push eax
lea eax, [esp + 0x594]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5a4]
xor ebx, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x28]
push ecx
push 8
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
mov dword [esp + 0x5ac], ebx
push connect
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x1006f5aa
mov esi, dword [esp + 0x28]
push 0x64
lea edx, [esp + 0x48]
push ebx
mov dword [esp + 0x2c], ebx
push edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebx
call fcn.1007dcf0
add esp, 0xc
push 0x64
lea eax, [esp + 0xb0]
push ebx
push eax
call fcn.1007dcf0
add esp, 0xc
xor eax, eax
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x3c]
push ecx
push ebx
push ebx
push ebx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x398]
push ecx
push eax
mov edi, 0x104
push esi
mov dword [esp + 0x58], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1006f626
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x14]
push edx
push 1
push ebx
lea eax, [esp + 0x390]
push eax
mov byte [esp + 0x5ac], 1
push esi
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x1006f5ba
mov ebp, dword [esp + 0x14]
push 0x100a5594
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], ebx
push ecx
lea edi, [esp + 0x34]
lea esi, [esp + 0x184]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
call fcn.1006d2a0
test eax, eax
jne 0x1006f5f6
lea edx, [esp + 0x2c]
push edx
mov eax, esi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], ebx
call fcn.1006ef80
add esp, 8
test eax, eax
je 0x1006f545
cmp dword [esp + 0x2c], ebx
je 0x1006f5f6
push 0x64
lea ecx, [esp + 0x118]
push ebx
push ecx
call fcn.1007dcf0
add esp, 0xc
lea edx, [esp + 0x114]
push edx
lea eax, [esp + 0x180]
push eax
lea ecx, [esp + 0x1c]
call fcn.1006f1e0
add esp, 8
test eax, eax
je 0x1006f5f6
cmp dword [esp + 0x14], ebx
je 0x1006f5c3
cmp byte [esp + 0xac], bl
je 0x1006f5a1
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x1006f5f6
lea ecx, [esp + 0xac]
jmp 0x1006f5e4
mov dword [esp + 0x59c], 0xffffffff
jmp 0x1006f6d7
mov byte [esp + 0x59c], bl
jmp 0x1006f610
cmp byte [esp + 0x44], bl
je 0x1006f5e0
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x1006f5f6
lea ecx, [esp + 0x44]
lea eax, [esp + 0x114]
push eax
mov edx, 0x64
call fcn.1002d550
mov byte [esp + 0x59c], bl
cmp ebp, ebx
je 0x1006f60c
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
inc eax
cmp eax, 0x64
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], eax
jl 0x1006f484
cmp byte [esp + 0x44], bl
je 0x1006f66d
lea eax, [esp + 0x44]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1006f633
sub eax, edx
lea ecx, [esp + 0x44]
mov edi, eax
mov eax, dword [esp + 0x30]
push ecx
call fcn.1006f710
mov dword [esp + 0x59c], 0xffffffff
cmp esi, ebx
je 0x1006f666
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], ebx
mov eax, 1
jmp 0x1006f6d9
cmp byte [esp + 0xac], bl
je 0x1006f6bd
lea eax, [esp + 0xac]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1006f680
sub eax, edx
lea edx, [esp + 0xac]
mov edi, eax
mov eax, dword [esp + 0x30]
push edx
call fcn.1006f710
mov dword [esp + 0x59c], 0xffffffff
cmp esi, ebx
je 0x1006f666
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], ebx
mov eax, 1
jmp 0x1006f6d9
mov dword [esp + 0x59c], 0xffffffff
cmp esi, ebx
je 0x1006f6d7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], ebx
xor eax, eax
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x594]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x578]
xor ecx, esp
call fcn.10079a05
add esp, 0x58c
ret