Function at 0x407b70
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43029d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x440440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
mov ecx, dword [edi + 0x34]
lea edx, [edi + 0x34]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x407697
mov edi, eax
push dword [edi + 8]
mov ecx, edx
push edx
call fcn.004085e0
mov esi, edi
mov edi, dword [edi]
lea ecx, [esi + 0x14]
call fcn.00408020
push 0x20
push esi
call fcn.0041c726
mov edx, dword [ebp - 0x38]
add esp, 8
cmp byte [edi + 0xd], 0
je 0x407666
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], ecx
lea eax, [edi + 0x3c]
mov dword [ecx], ecx
mov dword [ecx + 8], ecx
mov dword [edx + 4], 0
mov dword [ebp - 0x28], eax
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x4076e6
mov edi, dword [ebp - 0x28]
nop dword [eax]
push dword [esi + 8]
mov ecx, edi
push edi
call fcn.004085a0
mov eax, esi
mov esi, dword [esi]
push 0x1c
push eax
call fcn.0041c726
add esp, 8
cmp byte [esi + 0xd], 0
je 0x4076c0
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], eax
mov dword [eax], eax
mov dword [eax + 8], eax
mov dword [edi + 0x40], 0
mov eax, dword [edi + 0x44]
cmp eax, dword [edi + 0x48]
je 0x407700
mov dword [edi + 0x48], eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], 0
call fcn.00401ec0
mov ecx, eax
test ecx, ecx
je 0x407b5b
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
mov byte [edi + 0xc], 0
call fcn.00407b80
mov esi, dword [ebp - 0x14]
cmp al, 1
jne 0x407821
mov edx, dword [esi - 0xc]
mov dword [ebp - 0x1c], edx
test edx, edx
js 0x407b65
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4077a7
push edx
lea ecx, [ebp - 0x14]
call fcn.00401bb0
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
lea eax, [edx + 1]
push eax
push esi
call fcn.00422ff3
mov eax, dword [ebp - 0x1c]
add esp, 8
cmp eax, dword [esi - 8]
jg 0x407b65
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
jl 0x4078bc
push str.intel
push esi
call fcn.0041df87
add esp, 8
test eax, eax
je 0x4078bc
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4078bc
mov dword [edi + 8], 0
cmp dword [esi - 0xc], 0
jl 0x407821
push str.12th
push esi
call fcn.0041df87
add esp, 8
test eax, eax
je 0x407821
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x407821
mov byte [edi + 0xc], 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x407840
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalProcessorInformationEx]
lea eax, [ebp - 0x18]
push eax
push 0
push 0xffff
mov dword [ebp - 0x18], 0
call esi
test eax, eax
jne 0x407a80
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x407a80
push dword [ebp - 0x18]
call fcn.0041c757
add esp, 4
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x18]
push ecx
push eax
push 0xffff
call esi
test eax, eax
je 0x407a73
xor edx, edx
cmp dword [ebp - 0x18], 0x4c
mov dword [ebp - 0x14], edx
jbe 0x407a73
mov esi, dword [ebp - 0x28]
add esi, edx
mov dword [ebp - 0x34], esi
mov eax, dword [esi]
cmp eax, 3
ja case.default.0x4078b5
jmp dword [eax*4 + 0x407b70]
mov dword [edi + 8], 1
jmp 0x407821
mov al, byte [esi + 8]
cmp al, 3
jne case.default.0x4078b5
mov byte [ebp - 0x60], al
lea ecx, [edi + 0x44]
mov al, byte [esi + 9]
mov byte [ebp - 0x5f], al
mov ax, word [esi + 0xa]
mov word [ebp - 0x5e], ax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x48], eax
movzx eax, word [esi + 0x2c]
mov dword [ebp - 0x50], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x44], 0
cmp eax, dword [ecx + 8]
je 0x407924
movups xmm0, xmmword [ebp - 0x60]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [eax + 0x10], xmm0
add dword [ecx + 4], 0x20
jmp 0x407931
lea edx, [ebp - 0x60]
push edx
push eax
call fcn.00408830
mov edx, dword [ebp - 0x14]
mov ecx, dword [edi + 0x50]
test ecx, ecx
jne 0x40793e
mov ecx, dword [esi + 0xc]
mov dword [edi + 0x50], ecx
cmp ecx, dword [esi + 0xc]
cmovae ecx, dword [esi + 0xc]
mov dword [edi + 0x50], ecx
mov ecx, dword [edi + 0x54]
cmp ecx, dword [esi + 0xc]
cmovbe ecx, dword [esi + 0xc]
mov dword [edi + 0x54], ecx
jmp case.default.0x4078b5
inc dword [edi + 0x24]
movzx eax, word [esi + 0x1e]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x40796f
mov dword [ebp - 0x1c], 1
mov edi, dword [ebp - 0x1c]
lea eax, [esi + 8]
mov dword [ebp - 0x24], eax
add esi, 0x20
nop dword [eax + eax]
mov ecx, dword [ebp - 0x38]
push eax
call fcn.004081c0
mov ecx, eax
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x4079a7
movq xmm0, qword [esi]
movq qword [edx], xmm0
mov eax, dword [esi + 8]
mov dword [edx + 8], eax
add dword [ecx + 4], 0xc
jmp 0x4079ae
push esi
push edx
call fcn.00408670
mov eax, dword [ebp - 0x24]
add esi, 0xc
sub edi, 1
jne 0x407980
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x14]
jmp case.default.0x4078b5
inc dword [edi + 0x1c]
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x34]
xor ecx, ecx
bts ecx, eax
xor esi, esi
xor edx, edx
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [edi + 0x20]
mov edi, dword [ebp - 0x30]
cmovae edx, ecx
and esi, edx
and eax, ecx
or eax, esi
mov esi, dword [ebp - 0x34]
je 0x407a31
movzx eax, word [esi + 0x24]
lea ecx, [edi + 0x3c]
inc dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
mov al, byte [esi + 9]
mov byte [ebp - 0x1d], al
lea eax, [ebp - 0x40]
push eax
call fcn.004080f0
movzx ecx, byte [ebp - 0x1d]
mov dword [eax], ecx
movzx eax, byte [esi + 9]
cmp eax, dword [edi + 0x2c]
jbe 0x407a31
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 0x20
jb 0x4079d2
cmp byte [esi + 8], 1
mov ecx, dword [edi + 0x14]
mov eax, dword [ebp - 0x24]
jne 0x407a4d
add ecx, eax
jmp 0x407a4e
inc ecx
mov dword [edi + 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp eax, dword [edi + 0x18]
jbe case.default.0x4078b5
mov dword [edi + 0x18], eax
jmp case.default.0x4078b5
inc dword [edi + 0x20]
add edx, dword [esi + 4]
mov dword [ebp - 0x14], edx
lea eax, [edx + 0x4c]
cmp eax, dword [ebp - 0x18]
jb 0x4078a2
push 0x4c
push dword [ebp - 0x28]
call fcn.0041c726
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_GetActiveProcessorCount]
push 0xffff
call esi
mov dword [edi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetActiveProcessorGroupCount]
movzx eax, ax
push 0
mov dword [edi + 0x28], eax
call esi
cmp dword [edi + 0x18], 0
mov dword [edi + 0x10], eax
jne 0x407ab0
mov dword [edi + 0x18], 1
xor esi, esi
cmp dword [edi + 0x28], esi
jbe 0x407ae1
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
push eax
push esi
mov ecx, edi
movlpd qword [ebp - 0x2c], xmm0
call fcn.00407df0
test al, al
je 0x407adb
mov eax, dword [ebp - 0x2c]
or eax, dword [ebp - 0x28]
je 0x407adb
mov byte [edi + 0x30], 1
inc esi
cmp esi, dword [edi + 0x28]
jb 0x407ab7
cmp dword [edi + 8], 0
je 0x407b28
mov eax, dword [edi + 0x50]
cmp eax, dword [edi + 0x54]
je 0x407b28
mov eax, dword [edi + 0x48]
xor ecx, ecx
mov edx, dword [edi + 0x44]
sub eax, edx
sar eax, 5
test eax, eax
je 0x407b28
xor esi, esi
mov eax, dword [edx + esi + 4]
cmp eax, dword [edi + 0x50]
jne 0x407b10
mov dword [edi + 0x5c], ecx
jmp 0x407b18
cmp eax, dword [edi + 0x54]
jne 0x407b18
mov dword [edi + 0x58], ecx
mov eax, dword [edi + 0x48]
inc ecx
sub eax, edx
add esi, 0x20
sar eax, 5
cmp ecx, eax
jb 0x407b02
cmp dword [edi + 0x20], 0
je 0x407b3e
cmp dword [edi + 0x14], 0
je 0x407b3e
cmp dword [edi + 0x1c], 0
je 0x407b3e
mov al, 1
jmp 0x407b40
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041cd0c
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401fc0
push 0x80070057
call fcn.00401fc0
nop
invalid