Function at 0x428fd0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x44c09b
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.00405a00
cmp eax, 0xffffffff
jle 0x429236
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.004482a0
mov ecx, str.mid
test ecx, ecx
je 0x429236
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ecx
call esi
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x429236
lea edx, [esp + 0x30]
test edx, edx
jne 0x429070
mov dword [esp + 0x14], edi
jmp 0x42907b
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 0x429236
push str.mid
push esi
call fcn.0043679e
add esp, 8
test eax, eax
je 0x4290b8
lea esi, [eax + ebx*2]
push str.mid
push esi
inc edi
call fcn.0043679e
add esp, 8
test eax, eax
jne 0x4290a2
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x18]
cmp esi, eax
jb 0x429090
test edi, edi
jle 0x429236
mov ecx, ebp
call fcn.0040ab90
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 0x429104
cmp dword [eax - 0xc], 1
jle 0x42914d
lea edi, [eax - 0xc]
push esi
mov ecx, ebp
mov dword [esp + 0x24], edi
call fcn.00401820
test eax, eax
je 0x429236
mov ecx, dword [edi + 4]
mov eax, dword [ebp]
shl ecx, 1
lea edx, [esi + esi + 2]
cmp edx, ecx
jb 0x429147
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.004018c0
mov edi, dword [ebp]
mov ecx, dword [edi - 8]
lea eax, [edi + ecx*2]
cmp edi, eax
mov dword [esp + 0x18], eax
jae 0x429230
push str.mid
push edi
call fcn.0043679e
mov esi, eax
add esp, 8
test esi, esi
je 0x429215
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.0040a1e0
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.004017c0
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.0043679e
mov ebp, dword [esp + 0x478]
mov esi, eax
add esp, 0x28
test esi, esi
jne 0x42918c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2 + 2]
mov eax, dword [esp + 0x18]
cmp edi, eax
jb 0x429162
mov esi, dword [esp + 0x24]
mov ecx, dword [ebp]
mov dword [ecx - 8], esi
call fcn.00428b70
mov edx, dword [0x455050]
mov esi, eax
test esi, esi
mov dword [esp + 0x10], edx
je 0x429294
shr eax, 0x10
jne 0x429262
and esi, 0xffff
lea ecx, [esp + 0x10]
push esi
call fcn.004015b0
jmp 0x429294
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x429294
push edi
lea ecx, [esp + 0x14]
call fcn.00401820
test eax, eax
je 0x429294
mov eax, dword [esp + 0x10]
lea ecx, [edi + edi]
push ecx
lea edx, [edi + edi + 2]
push esi
push edx
push eax
call fcn.004017c0
add esp, 0x10
push 0
push str.ver
mov ecx, ebp
mov dword [esp + 0x450], 0
call fcn.00405a00
cmp eax, 0xffffffff
jle 0x4292c3
mov ecx, dword [esp + 0x10]
push ecx
push str.ver
mov ecx, ebp
call fcn.00405740
push 0
push str.from
mov ecx, ebp
call fcn.00405a00
cmp eax, 0xffffffff
jle 0x4292ea
mov edx, dword [esp + 0x28]
mov ecx, ebp
mov eax, dword [edx + 4]
push eax
push str.from
call fcn.00405740
mov eax, dword [esp + 0x10]
mov edx, dword [0x455054]
pop edi
pop esi
lea ecx, [eax - 0xc]
pop ebp
cmp ecx, edx
pop ebx
je 0x42931d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42931d
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.0042ac06
add esp, 4
mov ecx, dword [esp + 0x430]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x43c
ret 4