Function at 0x429ea0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x44ee7b
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.00408fb0
cmp eax, 0xffffffff
jle 0x42a106
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.0044ae30
mov ecx, str.mid
test ecx, ecx
je 0x42a106
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ecx
call esi
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x42a106
lea edx, [esp + 0x30]
test edx, edx
jne 0x429f40
mov dword [esp + 0x14], edi
jmp 0x429f4b
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 0x42a106
push str.mid
push esi
call fcn.00438dd0
add esp, 8
test eax, eax
je 0x429f88
lea esi, [eax + ebx*2]
push str.mid
push esi
inc edi
call fcn.00438dd0
add esp, 8
test eax, eax
jne 0x429f72
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x18]
cmp esi, eax
jb 0x429f60
test edi, edi
jle 0x42a106
mov ecx, ebp
call fcn.0040e420
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 0x429fd4
cmp dword [eax - 0xc], 1
jle 0x42a01d
lea edi, [eax - 0xc]
push esi
mov ecx, ebp
mov dword [esp + 0x24], edi
call fcn.00403db0
test eax, eax
je 0x42a106
mov ecx, dword [edi + 4]
mov eax, dword [ebp]
shl ecx, 1
lea edx, [esi + esi + 2]
cmp edx, ecx
jb 0x42a017
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.00403f10
mov edi, dword [ebp]
mov ecx, dword [edi - 8]
lea eax, [edi + ecx*2]
cmp edi, eax
mov dword [esp + 0x18], eax
jae 0x42a100
push str.mid
push edi
call fcn.00438dd0
mov esi, eax
add esp, 8
test esi, esi
je 0x42a0e5
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.004142d0
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.00402e50
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.00438dd0
mov ebp, dword [esp + 0x478]
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x42a05c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2 + 2]
mov eax, dword [esp + 0x18]
cmp edi, eax
jb 0x42a032
mov esi, dword [esp + 0x24]
mov ecx, dword [ebp]
mov dword [ecx - 8], esi
call fcn.00429a40
mov edx, dword [0x458050]
mov esi, eax
test esi, esi
mov dword [esp + 0x10], edx
je 0x42a164
shr eax, 0x10
jne 0x42a132
and esi, 0xffff
lea ecx, [esp + 0x10]
push esi
call fcn.004076b0
jmp 0x42a164
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x42a164
push edi
lea ecx, [esp + 0x14]
call fcn.00403db0
test eax, eax
je 0x42a164
mov eax, dword [esp + 0x10]
lea ecx, [edi + edi]
push ecx
lea edx, [edi + edi + 2]
push esi
push edx
push eax
call fcn.00402e50
add esp, 0x10
push 0
push str.ver
mov ecx, ebp
mov dword [esp + 0x450], 0
call fcn.00408fb0
cmp eax, 0xffffffff
jle 0x42a193
mov ecx, dword [esp + 0x10]
push ecx
push str.ver
mov ecx, ebp
call fcn.004201f0
push 0
push str.from
mov ecx, ebp
call fcn.00408fb0
cmp eax, 0xffffffff
jle 0x42a1ba
mov edx, dword [esp + 0x28]
mov ecx, ebp
mov eax, dword [edx + 4]
push eax
push str.from
call fcn.004201f0
mov eax, dword [esp + 0x10]
mov edx, dword [0x458054]
pop edi
pop esi
lea ecx, [eax - 0xc]
pop ebp
cmp ecx, edx
pop ebx
je 0x42a1ed
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42a1ed
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.0042d78e
add esp, 4
mov ecx, dword [esp + 0x430]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x43c
ret 4