Function at 0x429a60
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x44ea0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x430
push ebx
push ebp
push esi
mov dword [esp + 0x24], ecx
mov ebp, dword [esp + 0x44c]
push edi
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0x32]
mov word [esp + 0x30], 0
rep stosd dword es:[edi], eax
push 0
push str.mid
mov ecx, ebp
stosw word es:[edi], ax
call fcn.00408fc0
cmp eax, 0xffffffff
jle 0x429cc6
mov ecx, 0x104
xor eax, eax
lea edi, [esp + 0x30]
push 0x64
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push eax
call fcn.0044a9e0
mov ecx, str.mid
test ecx, ecx
je 0x429cc6
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ecx
call esi
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x429cc6
lea edx, [esp + 0x30]
test edx, edx
jne 0x429b00
mov dword [esp + 0x14], edi
jmp 0x429b0b
lea eax, [esp + 0x30]
push eax
call esi
mov dword [esp + 0x14], eax
mov esi, dword [ebp]
mov ecx, dword [esi - 8]
lea eax, [esi + ecx*2]
cmp esi, eax
mov dword [esp + 0x18], eax
jae 0x429cc6
push str.mid
push esi
call fcn.00438980
add esp, 8
test eax, eax
je 0x429b48
lea esi, [eax + ebx*2]
push str.mid
push esi
inc edi
call fcn.00438980
add esp, 8
test eax, eax
jne 0x429b32
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x18]
cmp esi, eax
jb 0x429b20
test edi, edi
jle 0x429cc6
mov ecx, ebp
call fcn.0040e430
mov esi, dword [esp + 0x14]
mov eax, dword [ebp]
sub esi, ebx
mov dword [esp + 0x18], eax
imul esi, edi
mov ecx, dword [eax - 8]
mov dword [esp + 0x1c], ecx
add esi, ecx
mov ecx, dword [eax - 4]
mov dword [esp + 0x24], esi
cmp ecx, esi
jl 0x429b94
cmp dword [eax - 0xc], 1
jle 0x429bdd
lea edi, [eax - 0xc]
push esi
mov ecx, ebp
mov dword [esp + 0x24], edi
call fcn.00403d10
test eax, eax
je 0x429cc6
mov ecx, dword [edi + 4]
mov eax, dword [ebp]
shl ecx, 1
lea edx, [esi + esi + 2]
cmp edx, ecx
jb 0x429bd7
mov esi, dword [esp + 0x18]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
push edi
call fcn.00403e70
mov edi, dword [ebp]
mov ecx, dword [edi - 8]
lea eax, [edi + ecx*2]
cmp edi, eax
mov dword [esp + 0x18], eax
jae 0x429cc0
push str.mid
push edi
call fcn.00438980
mov esi, eax
add esp, 8
test esi, esi
je 0x429ca5
mov eax, dword [esp + 0x14]
mov edx, eax
neg edx
shl edx, 0x1f
sub edx, eax
inc edx
mov dword [esp + 0x20], edx
mov edx, dword [ebp]
mov ecx, dword [esp + 0x1c]
mov eax, esi
mov edi, dword [edx - 4]
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
sub ecx, eax
sub edi, eax
mov eax, dword [esp + 0x14]
sub ecx, ebx
add edx, edi
add eax, eax
lea ebp, [ecx + ecx]
lea ecx, [esi + ebx*2]
push ebp
add eax, esi
shl edx, 1
push ecx
push edx
push eax
mov dword [esp + 0x3c], eax
call fcn.004142e0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x40]
add eax, eax
lea edx, [edi + edi + 2]
push eax
push ecx
push edx
push esi
call fcn.00402e60
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x34]
sub eax, ebx
push str.mid
mov word [edi + ebp], 0
mov ebp, dword [esp + 0x40]
add ebp, eax
push edi
mov dword [esp + 0x44], ebp
call fcn.00438980
mov ebp, dword [esp + 0x478]
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x429c1c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2 + 2]
mov eax, dword [esp + 0x18]
cmp edi, eax
jb 0x429bf2
mov esi, dword [esp + 0x24]
mov ecx, dword [ebp]
mov dword [ecx - 8], esi
call fcn.00429600
mov edx, dword [0x457050]
mov esi, eax
test esi, esi
mov dword [esp + 0x10], edx
je 0x429d24
shr eax, 0x10
jne 0x429cf2
and esi, 0xffff
lea ecx, [esp + 0x10]
push esi
call fcn.004076c0
jmp 0x429d24
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x429d24
push edi
lea ecx, [esp + 0x14]
call fcn.00403d10
test eax, eax
je 0x429d24
mov eax, dword [esp + 0x10]
lea ecx, [edi + edi]
push ecx
lea edx, [edi + edi + 2]
push esi
push edx
push eax
call fcn.00402e60
add esp, 0x10
push 0
push str.ver
mov ecx, ebp
mov dword [esp + 0x450], 0
call fcn.00408fc0
cmp eax, 0xffffffff
jle 0x429d53
mov ecx, dword [esp + 0x10]
push ecx
push str.ver
mov ecx, ebp
call fcn.00420150
push 0
push str.from
mov ecx, ebp
call fcn.00408fc0
cmp eax, 0xffffffff
jle 0x429d7a
mov edx, dword [esp + 0x28]
mov ecx, ebp
mov eax, dword [edx + 4]
push eax
push str.from
call fcn.00420150
mov eax, dword [esp + 0x10]
mov edx, dword [0x457054]
pop edi
pop esi
lea ecx, [eax - 0xc]
pop ebp
cmp ecx, edx
pop ebx
je 0x429dad
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x429dad
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov ecx, dword [esp + 0x430]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x43c
ret 4