Function at 0x429010
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a3f70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [esp + 0x44], 0
call fcn.0047ef80
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x14]
mov byte [esp + 0x44], 1
mov esi, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
lea ebx, [esi - 0x10]
mov dword [esp + 0x28], esp
mov dword [esp + 0x24], esp
call dword [edx + 0x10]
mov edx, dword [ebx + 0xc]
test edx, edx
lea ecx, [ebx + 0xc]
jl 0x42908c
cmp eax, dword [ebx]
jne 0x42908c
mov eax, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4290c7
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
push 2
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x42974c
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebx + 4]
inc ecx
add ecx, ecx
mov edx, ecx
shr ecx, 2
lea esi, [ebx + 0x10]
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x1c]
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x24]
add eax, 0x10
mov dword [ecx], eax
call fcn.00428810
add esp, 8
test eax, eax
mov dword [esp + 0x1c], eax
jle 0x429154
cmp eax, 0xa
jge 0x42915d
dec eax
je 0x4290f6
dec eax
je 0x4290f2
dec eax
jne 0x429117
push 0x29
jmp 0x4290f8
push 0x5d
jmp 0x4290f8
push 0x7d
push ecx
mov dword [esp + 0x28], esp
mov edi, esp
push ebx
call fcn.004040d0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00428b50
add esp, 8
mov edi, eax
cmp edi, 0xffffffff
je 0x42971a
mov esi, dword [esp + 0xc]
push ecx
mov edx, edi
sub edx, esi
mov eax, esp
mov dword [esp + 0x24], esp
dec edx
push edx
lea ecx, [esi + 1]
push ecx
push eax
lea ecx, [ebp + 8]
call fcn.0040bb70
call fcn.00429010
fstp qword [esp + 0x2c]
add esp, 4
inc edi
mov dword [esp + 0x14], edi
jmp case.default.0x4295cb
cmp eax, 0xa
jl 0x4293ac
cmp eax, 0x64
jge 0x4293b5
mov esi, dword [esp + 0xc]
push esi
push ecx
mov dword [esp + 0x28], esp
mov edi, esp
push ebx
call fcn.004040d0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00428bb0
mov edi, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff5
add esp, 8
cmp eax, 7
mov dword [esp + 0x14], edi
ja case.default.0x4295cb
jmp dword [eax*4 + 0x42981c]
push edi
lea edx, [esi + 3]
push edx
push ecx
mov dword [esp + 0x2c], esp
mov dword [esp + 0x28], esp
push ebx
call fcn.004040d0
mov ecx, dword [esp + 0x2c]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
call fcn.00428ce0
fmul qword [0x4abdb8]
add esp, 0xc
fmul qword [0x4a8c50]
fsin
fstp qword [esp + 0x28]
jmp case.default.0x4295cb
push edi
lea edx, [esi + 3]
push edx
push ecx
mov dword [esp + 0x2c], esp
mov dword [esp + 0x28], esp
push ebx
call fcn.004040d0
mov ecx, dword [esp + 0x2c]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
call fcn.00428ce0
fmul qword [0x4abdb8]
add esp, 0xc
fmul qword [0x4a8c50]
fcos
fstp qword [esp + 0x28]
jmp case.default.0x4295cb
push edi
lea edx, [esi + 3]
push edx
push ecx
mov dword [esp + 0x2c], esp
mov dword [esp + 0x28], esp
push ebx
call fcn.004040d0
mov ecx, dword [esp + 0x2c]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
call fcn.00428ce0
fmul qword [0x4abdb8]
add esp, 4
fmul qword [0x4a8c50]
fstp qword [esp]
call fcn.0042a9a0
fstp qword [esp + 0x30]
add esp, 8
jmp case.default.0x4295cb
push 0x3ff00000
push 0
push edi
lea edx, [esi + 4]
push edx
push ecx
mov dword [esp + 0x34], esp
mov dword [esp + 0x30], esp
push ebx
call fcn.004040d0
mov ecx, dword [esp + 0x34]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
call fcn.00428ce0
fstp qword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
add esp, 0xc
push edx
push eax
call fcn.0042aac0
add esp, 0x10
fdiv qword [0x4abdb8]
fmul qword [0x4a8d50]
fstp qword [esp + 0x28]
jmp case.default.0x4295cb
push edi
lea ecx, [esi + 4]
push ecx
push ecx
mov dword [esp + 0x2c], esp
mov dword [esp + 0x28], esp
push ebx
call fcn.004040d0
mov edx, dword [esp + 0x2c]
add eax, 0x10
add esp, 4
mov dword [edx], eax
call fcn.00428ce0
fst qword [esp + 0x3c]
add esp, 0xc
call fcn.0046b8c0
jmp 0x4292b0
push edi
lea eax, [esi + 4]
push eax
push ecx
mov dword [esp + 0x2c], esp
mov dword [esp + 0x28], esp
push ebx
call fcn.004040d0
mov ecx, dword [esp + 0x2c]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
call fcn.00428ce0
fst qword [esp + 0x3c]
add esp, 0xc
call fcn.0046b7f0
jmp 0x4292b0
push edi
lea edx, [esi + 4]
push edx
push ecx
mov dword [esp + 0x2c], esp
mov dword [esp + 0x28], esp
push ebx
call fcn.004040d0
mov ecx, dword [esp + 0x2c]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
call fcn.00428ce0
fstp qword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
push eax
call fcn.0042ac10
fstp qword [esp + 0x3c]
add esp, 0x14
jmp case.default.0x4295cb
push edi
lea ecx, [esi + 1]
push ecx
push ecx
mov dword [esp + 0x2c], esp
mov dword [esp + 0x28], esp
push ebx
call fcn.004040d0
mov edx, dword [esp + 0x2c]
add eax, 0x10
add esp, 4
mov dword [edx], eax
call fcn.00428ce0
fmul qword [0x4abdb8]
add esp, 0xc
fmul qword [0x4a8c50]
fstp qword [esp + 0x28]
jmp case.default.0x4295cb
cmp eax, 0x64
jl 0x42965c
mov eax, dword [esp + 0xc]
push eax
push ecx
mov ecx, dword [ebx]
mov dword [esp + 0x20], eax
mov eax, dword [ecx]
mov dword [esp + 0x28], esp
mov dword [esp + 0x1c], esp
call dword [eax + 0x10]
mov edx, dword [ebx + 0xc]
test edx, edx
lea ecx, [ebx + 0xc]
jl 0x4293e9
cmp eax, dword [ebx]
jne 0x4293e9
mov eax, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x42941d
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
push 2
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x42974c
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebx + 4]
inc ecx
add ecx, ecx
mov edx, ecx
shr ecx, 2
lea esi, [ebx + 0x10]
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
add eax, 0x10
mov dword [ecx], eax
call fcn.00428df0
mov edx, dword [esp + 0x20]
add esp, 8
push edx
push ecx
mov ecx, dword [ebx]
mov esi, eax
mov eax, dword [ecx]
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], esp
mov dword [esp + 0x1c], esp
call dword [eax + 0x10]
mov ecx, dword [ebx + 0xc]
test ecx, ecx
lea edx, [ebx + 0xc]
jl 0x429464
cmp eax, dword [ebx]
jne 0x429464
mov eax, ebx
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x42949c
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
push 2
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x42974c
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebx + 4]
inc ecx
add ecx, ecx
mov edx, ecx
shr ecx, 2
lea esi, [ebx + 0x10]
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add eax, 0x10
mov dword [ecx], eax
call fcn.00428f00
mov edx, dword [esp + 0x20]
add esp, 8
push edx
push esi
push ecx
mov ecx, dword [ebx]
mov edi, eax
mov eax, dword [ecx]
mov dword [esp + 0x2c], esp
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], esp
call dword [eax + 0x10]
mov ecx, dword [ebx + 0xc]
test ecx, ecx
lea edx, [ebx + 0xc]
jl 0x4294e4
cmp eax, dword [ebx]
jne 0x4294e4
mov eax, ebx
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x429520
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
push 2
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x42974c
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebx + 4]
inc ecx
add ecx, ecx
mov edx, ecx
shr ecx, 2
lea esi, [ebx + 0x10]
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
add eax, 0x10
mov dword [ecx], eax
call fcn.00428ce0
fstp qword [esp + 0x3c]
mov eax, dword [esp + 0x24]
add esp, 0xc
lea edx, [edi + 1]
push edx
inc eax
push eax
push ecx
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov dword [esp + 0x2c], esp
mov dword [esp + 0x2c], esp
call dword [edx + 0x10]
mov ecx, dword [ebx + 0xc]
test ecx, ecx
lea edx, [ebx + 0xc]
jl 0x42956a
cmp eax, dword [ebx]
jne 0x42956a
mov eax, ebx
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x4295a6
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
push 2
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x42974c
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebx + 4]
inc ecx
add ecx, ecx
mov edx, ecx
shr ecx, 2
lea esi, [ebx + 0x10]
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
add eax, 0x10
mov dword [ecx], eax
call fcn.00428ce0
fstp qword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add eax, 0xffffff9c
add esp, 0xc
cmp eax, 5
ja case.default.0x4295cb
jmp dword [eax*4 + 0x42983c]
fld qword [esp + 0x30]
fld qword [esp + 0x20]
call fcn.0046b5a0
fstp qword [esp + 0x28]
jmp case.default.0x4295cb
fld qword [esp + 0x20]
fmul qword [esp + 0x30]
fstp qword [esp + 0x28]
jmp case.default.0x4295cb
fld qword [esp + 0x20]
fabs
fcomp qword [0x4abe28]
fnstsw ax
test ah, 5
jnp 0x429751
fld qword [esp + 0x30]
fdiv qword [esp + 0x20]
fstp qword [esp + 0x28]
jmp case.default.0x4295cb
fld qword [esp + 0x20]
fadd qword [esp + 0x30]
fstp qword [esp + 0x28]
jmp case.default.0x4295cb
fld qword [esp + 0x30]
fsub qword [esp + 0x20]
fstp qword [esp + 0x28]
jmp case.default.0x4295cb
fld qword [esp + 0x30]
fabs
fcomp qword [0x4abe28]
fnstsw ax
test ah, 5
jnp 0x429751
fld qword [esp + 0x20]
fdiv qword [esp + 0x30]
fstp qword [esp + 0x28]
jmp case.default.0x4295cb
cmp eax, 0xffffffff
je 0x429767
test eax, eax
je 0x42979c
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x18]
push str._1.7lf
push ecx
call fcn.00403140
add esp, 0x10
mov edx, edi
sub edx, esi
push edx
push esi
lea ecx, [ebp + 8]
call fcn.00402f50
lea ecx, [ebp + 8]
call fcn.00404030
mov ebx, dword [esp + 0x10]
push ebx
push esi
lea ecx, [ebp + 8]
call fcn.00428c30
mov eax, dword [0x4d0b10]
test eax, eax
jbe 0x429055
lea eax, [ebx - 0x10]
mov byte [esp + 0x44], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4296dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429702
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
fld qword [0x4a79f0]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [0x4d0b10], 5
mov byte [esp + 0x44], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429794
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
jmp 0x4296e3
jmp fcn.00402d90
mov eax, dword [esp + 0x10]
mov dword [0x4d0b10], 2
add eax, 0xfffffff0
jmp 0x4296c1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [0x4d0b10], 0xb
mov byte [esp + 0x44], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429794
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
jmp 0x4296e3
lea eax, [esp + 0x28]
push eax
push 0x4a8450
push esi
call fcn.0046ad5e
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
add esp, 0xc
mov byte [esp + 0x44], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4297e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esi - 0x10]
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429804
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x3c]
fld qword [esp + 0x30]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret