Function at 0x454840
Capabilities:
Get number of processors
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d3ce4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x48]
xor ebx, ebx
mov ebp, 0x64
push eax
mov edi, ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebp
call fcn.00441af0
add esp, 4
mov edx, dword [esp + 0x48]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x4c]
push ecx
push 1
push ebx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x278], ebx
call esi
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x38]
push eax
push 1
push ebx
push str.Overburning
push ecx
call esi
call fcn.00498bc2
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4548cc
push 0x80004005
call fcn.004015a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x264], 1
call fcn.00498bc2
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4548fe
push 0x80004005
call fcn.004015a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x264], 2
call fcn.00498bc2
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x454930
push 0x80004005
call fcn.004015a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x264], 3
call fcn.00498bc2
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x454962
push 0x80004005
call fcn.004015a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x264], 4
call fcn.00498bc2
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x454994
push 0x80004005
call fcn.004015a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x264], 5
call fcn.00498bc2
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4549c6
push 0x80004005
call fcn.004015a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 0x200]
push ebx
push ebx
push 0x1009
push ecx
mov byte [esp + 0x274], 6
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x44]
push ebx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x1a8]
push eax
push ebx
push ecx
mov dword [esp + 0x5c], 0xc8
mov dword [esp + 0x50], ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
mov dword [esp + 0x44], 1
jne 0x454f86
add edi, 0x1e0
mov dword [esp + 0x34], edi
lea eax, [esp + 0x194]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x454a50
sub eax, edx
push eax
lea edx, [esp + 0x198]
push edx
lea ecx, [esp + 0x18]
call fcn.00402770
mov ebp, dword [esp + 0x10]
cmp dword [ebp - 0xc], 0
jg 0x454a7c
or edi, 0xffffffff
jmp 0x454a94
push 0x7c
push ebp
call fcn.004b3dcb
add esp, 8
test eax, eax
jne 0x454a90
or edi, 0xffffffff
jmp 0x454a94
sub eax, ebp
mov edi, eax
mov eax, dword [ebp - 0xc]
lea ebx, [edi + 1]
test ebx, ebx
jl 0x454abc
cmp ebx, eax
jge 0x454abc
lea eax, [ebx + ebp]
push 0x7c
push eax
call fcn.004b3dcb
add esp, 8
test eax, eax
je 0x454abc
sub eax, ebp
mov dword [esp + 0x28], eax
jmp 0x454ac4
mov dword [esp + 0x28], 0xffffffff
push edi
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x18]
call fcn.0042e240
mov ecx, dword [eax]
mov esi, dword [esp + 0x24]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x264], 7
je 0x454b3d
cmp dword [esi + 0xc], 0
lea ebp, [esi + 0xc]
jl 0x454b2b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x454b2b
push eax
call fcn.00402540
mov dword [esp + 0x44], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x454b1e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x40]
add ecx, 0x10
mov dword [esp + 0x24], ecx
jmp 0x454b39
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00402770
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
mov byte [esp + 0x264], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x454b65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
sub ecx, edi
sub ecx, 1
push ecx
push ebx
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x1c]
call fcn.00441810
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x264], 8
je 0x454bdd
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x454bcf
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x454bcf
push eax
call fcn.00402540
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x454bc6
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x1c], ebx
jmp 0x454bdd
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00402770
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
mov byte [esp + 0x264], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x454c05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0xc]
sub eax, dword [esp + 0x28]
lea ecx, [esp + 0x64]
sub eax, 1
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00453cd0
mov ecx, dword [eax]
mov esi, dword [esp + 0x20]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x264], 9
je 0x454c7d
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x454c6f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x454c6f
push eax
call fcn.00402540
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x454c66
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x20], ebx
jmp 0x454c7d
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00402770
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
mov byte [esp + 0x264], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x454ca5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
push 0
push 0
push 0
push 0
push ecx
push ebp
push 1
mov ecx, ebx
call fcn.0049a0ee
mov edx, dword [esp + 0x1c]
push 0
push 0
push 0
push 0
push edx
push 1
push 1
push ebp
mov ecx, ebx
call fcn.0049a13a
mov eax, dword [esp + 0x20]
push 0
push 0
push 0
push 0
push eax
push 1
push 2
push ebp
mov ecx, ebx
call fcn.0049a13a
lea eax, [esp + 0xcc]
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x454d00
sub eax, ecx
push eax
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x18]
call fcn.00402770
mov esi, dword [esp + 0x10]
cmp dword [esi - 0xc], 0
jg 0x454d2c
or edi, 0xffffffff
jmp 0x454d44
push 0x7c
push esi
call fcn.004b3dcb
add esp, 8
test eax, eax
jne 0x454d40
or edi, 0xffffffff
jmp 0x454d44
sub eax, esi
mov edi, eax
push edi
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x18]
call fcn.0042e240
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x264], 0xa
je 0x454dbb
cmp dword [esi + 0xc], 0
lea ebp, [esi + 0xc]
jl 0x454da5
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x454da5
push eax
call fcn.00402540
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x454d9c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x454db3
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402770
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov byte [esp + 0x264], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x454de3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
sub eax, edi
sub eax, 1
push eax
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x18]
call fcn.00453cd0
mov ecx, dword [eax]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
mov byte [esp + 0x264], 0xb
je 0x454e63
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x454e55
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x454e55
push eax
call fcn.00402540
mov dword [esp + 0x44], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x454e48
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x40]
add ecx, 0x10
mov dword [esp + 0x18], ecx
jmp 0x454e63
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00402770
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
mov byte [esp + 0x264], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x454e8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x68]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x454e95
lea ecx, [esp + 0x68]
push ecx
call fcn.004b38f5
mov esi, eax
shl esi, 4
sub esi, eax
lea edx, [esp + 0x6f]
add esi, esi
push edx
add esi, esi
call fcn.004b38f5
mov edi, eax
lea eax, [esp + 0x76]
add edi, esi
push eax
imul edi, edi, 0x4b
call fcn.004b38f5
mov ecx, dword [esp + 0x20]
add eax, edi
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
push eax
push ecx
lea edx, [esp + 0x144]
push str._s___d_MB_
push edx
call fcn.004b09b2
add esp, 0x1c
push 0
push 0
push 0
push 0
lea eax, [esp + 0x140]
push eax
push 1
push 3
push ebp
mov ecx, ebx
call fcn.0049a13a
mov ecx, dword [esp + 0x18]
push 0
push 0
push 0
push 0
push ecx
push 1
push 4
push ebp
mov ecx, ebx
call fcn.0049a13a
mov esi, dword [esp + 0x44]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x44]
push 0
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x1a8]
push eax
push esi
add ebp, 1
push ecx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x5c], 0xc8
mov dword [esp + 0x50], 0x64
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
add esi, 1
test eax, eax
mov dword [esp + 0x44], esi
je 0x454a44
mov edx, dword [esp + 0x38]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
mov eax, dword [esp + 0x4c]
push eax
call esi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x264], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x454fc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x264], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x454fea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x264], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x455012
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x264], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45503a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x264], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x455062
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x264], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45508a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov dword [esp + 0x264], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4550b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x258
ret