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

Disassembly:
push 0xffffffffffffffff
push 0x4b4416
mov eax, dword fs:[0]
push eax
sub esp, 0x588
mov eax, dword [0x4d0b80]
xor eax, esp
mov dword [esp + 0x580], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d0b80]
xor eax, esp
push eax
lea eax, [esp + 0x59c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5ac]
xor ebx, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x20]
push ecx
push 8
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
mov dword [esp + 0x5b4], ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4292ec
mov esi, dword [esp + 0x20]
push 0x64
lea edx, [esp + 0xb8]
push ebx
push edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebx
call fcn.00450680
add esp, 0xc
push 0x64
lea eax, [esp + 0x50]
push ebx
push eax
call fcn.00450680
add esp, 0xc
xor eax, eax
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x44]
push ecx
push ebx
push ebx
push ebx
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x3a0]
push ecx
push eax
mov edi, 0x104
push esi
mov dword [esp + 0x60], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42926d
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x34]
push edx
push 1
push ebx
lea eax, [esp + 0x398]
push eax
mov byte [esp + 0x5b4], 1
push esi
mov dword [esp + 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4291f9
mov ebp, dword [esp + 0x34]
push str.ServiceName
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], edi
push ecx
lea edi, [esp + 0x2c]
lea esi, [esp + 0x18c]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
call fcn.00427030
test eax, eax
jne 0x42923d
lea edx, [esp + 0x24]
push edx
mov eax, esi
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00428c60
add esp, 8
test eax, eax
je 0x42919d
cmp dword [esp + 0x24], ebx
je 0x42923d
push 0x64
lea ecx, [esp + 0x120]
push ebx
push ecx
call fcn.00450680
add esp, 0xc
lea edx, [esp + 0x11c]
push edx
lea eax, [esp + 0x188]
push eax
lea ecx, [esp + 0x30]
call fcn.00428e70
add esp, 8
test eax, eax
je 0x42923d
cmp dword [esp + 0x28], ebx
je 0x429202
cmp byte [esp + 0x4c], bl
je 0x4291f3
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x42923d
lea ecx, [esp + 0x4c]
jmp 0x42922c
mov byte [esp + 0x5a4], bl
jmp 0x429257
cmp byte [esp + 0xb4], bl
je 0x429225
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x42923d
lea ecx, [esp + 0xb4]
lea eax, [esp + 0x11c]
mov edx, 0x64
call fcn.00427230
mov byte [esp + 0x5a4], bl
cmp ebp, ebx
je 0x429253
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, 0x64
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], eax
jl 0x4290e0
cmp byte [esp + 0xb4], bl
je 0x4292b8
lea eax, [esp + 0xb4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x429280
sub eax, edx
push eax
lea edx, [esp + 0xb8]
push edx
mov ecx, dword [esp + 0x38]
call fcn.00426630
mov dword [esp + 0x5a4], 0xffffffff
cmp esi, ebx
je 0x4292b1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x4292ee
cmp byte [esp + 0x4c], bl
je 0x4292d6
lea eax, [esp + 0x4c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4292c5
sub eax, edx
push eax
lea eax, [esp + 0x50]
push eax
jmp 0x429292
mov dword [esp + 0x5a4], 0xffffffff
cmp esi, ebx
je 0x4292ec
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x59c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x580]
xor ecx, esp
call fcn.004513b1
add esp, 0x594
ret