Function at 0x4136d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d8132
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10b4
call fcn.004a2760
mov eax, dword [0x51d260]
xor eax, esp
mov dword [esp + 0x10b0], eax
push ebx
push esi
push edi
mov eax, dword [0x51d260]
xor eax, esp
push eax
lea eax, [esp + 0x10c8]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x5c]
mov dword [esp + 0x10d0], ebx
call fcn.0045a8a0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov eax, edi
mov byte [esp + 0x10d0], 5
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413780
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x48]
call fcn.004018a0
push 0xa
push 0x4de3ec
lea ecx, [esp + 0x48]
call fcn.004057d0
mov eax, dword [esp + 0x44]
mov ebx, 0x10
cmp dword [esp + 0x58], ebx
jae 0x4137b7
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call fcn.0040b0d0
test eax, eax
je 0x413e46
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
sub ecx, ebx
mov eax, 0x7e8472a9
imul ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4137f2
call fcn.004a067d
mov ebx, dword [esp + 0x68]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4137f7
sub eax, edx
push eax
push ebx
lea ecx, [esi + 0x3394]
call fcn.004018a0
mov ecx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x68]
mov eax, 0x7e8472a9
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
ja 0x413830
call fcn.004a067d
mov ecx, dword [esp + 0x68]
add ecx, 0x40c
mov eax, ecx
lea ebx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x413840
sub eax, ebx
push eax
push ecx
lea ecx, [esi + 0x31cc]
call fcn.004018a0
mov ecx, esi
call fcn.00412880
mov ecx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x68]
mov eax, 0x7e8472a9
imul ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 2
ja 0x413880
call fcn.004a067d
mov ecx, dword [esp + 0x68]
add ecx, 0x818
mov eax, ecx
lea ebx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x413890
sub eax, ebx
push eax
push ecx
lea ecx, [esi + 0x31e8]
call fcn.004018a0
mov ecx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x68]
mov eax, 0x7e8472a9
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
ja 0x4138c9
call fcn.004a067d
mov ecx, dword [esp + 0x68]
add ecx, 0xc24
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4138d8
sub eax, ebx
push eax
push ecx
lea ecx, [esi + 0x3204]
call fcn.004018a0
mov ecx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x68]
mov eax, 0x7e8472a9
imul ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 4
ja 0x413911
call fcn.004a067d
mov ecx, dword [esp + 0x68]
add ecx, 0x1030
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x413920
sub eax, ebx
push eax
push ecx
lea ecx, [esi + 0x3220]
call fcn.004018a0
mov ecx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x68]
mov eax, 0x7e8472a9
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 5
ja 0x413959
call fcn.004a067d
mov ecx, dword [esp + 0x68]
add ecx, 0x143c
mov eax, ecx
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x413968
sub eax, ebx
push eax
push ecx
lea ecx, [esi + 0x323c]
call fcn.004018a0
mov ecx, dword [esp + 0x54]
push ecx
push 0
lea ecx, [esp + 0x48]
call fcn.00401480
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413993
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x48]
call fcn.004018a0
push 0xa
push 0x4de3e0
lea ecx, [esp + 0x48]
call fcn.004057d0
mov eax, dword [esp + 0x44]
mov ebx, 0x10
cmp dword [esp + 0x58], ebx
jae 0x4139ca
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.0040ae20
test eax, eax
je 0x413de6
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.00410860
mov ecx, dword [esp + 0x54]
push ecx
push 0
lea ecx, [esp + 0x48]
call fcn.00401480
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413a00
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x48]
call fcn.004018a0
push 0xa
push 0x4de3d4
lea ecx, [esp + 0x48]
call fcn.004057d0
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x58], ebx
jae 0x413a32
lea eax, [esp + 0x44]
mov edx, dword [esi + 0x34]
push 0
lea ecx, [esi + 0x34]
push 0x2010
push eax
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [esp + 0x54]
push ecx
push 0
lea ecx, [esp + 0x48]
call fcn.00401480
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413a60
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x48]
call fcn.004018a0
push 0xa
push 0x4de3c8
lea ecx, [esp + 0x48]
call fcn.004057d0
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x58], ebx
jae 0x413a92
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.0040ae20
test eax, eax
je 0x413d86
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00410860
mov ecx, dword [esp + 0x54]
push ecx
push 0
lea ecx, [esp + 0x48]
call fcn.00401480
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413ac8
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x48]
call fcn.004018a0
push 0xa
push 0x4de3bc
lea ecx, [esp + 0x48]
call fcn.004057d0
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x58], ebx
jae 0x413afa
lea eax, [esp + 0x44]
mov edx, dword [esi + 0x44]
push 0
lea ecx, [esi + 0x44]
push 0x2010
push eax
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [esp + 0x54]
push ecx
push 0
lea ecx, [esp + 0x48]
call fcn.00401480
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413b22
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x48]
call fcn.004018a0
push 0xb
push 0x4de3b0
lea ecx, [esp + 0x48]
call fcn.004057d0
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x58], ebx
jae 0x413b54
lea eax, [esp + 0x44]
mov edx, dword [esi + 0x54]
push 0
lea ecx, [esi + 0x54]
push 0x2010
push eax
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [esp + 0x54]
push ecx
push 0
lea ecx, [esp + 0x48]
call fcn.00401480
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413b80
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x48]
call fcn.004018a0
push 0xa
push 0x4de3a4
lea ecx, [esp + 0x48]
call fcn.004057d0
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x58], ebx
jae 0x413bb2
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.0040ae20
test eax, eax
je 0x413d26
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00410860
mov ecx, dword [esp + 0x54]
push ecx
push 0
lea ecx, [esp + 0x48]
call fcn.00401480
push edi
lea ecx, [esp + 0x44]
call fcn.00401b60
push 0x4de398
lea ecx, [esp + 0x44]
call fcn.004061a0
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x58], ebx
jae 0x413c09
lea eax, [esp + 0x44]
mov edx, dword [esi + 0x64]
push 0
lea ecx, [esi + 0x64]
push 0x2010
push eax
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [esp + 0x54]
push ecx
push 0
lea ecx, [esp + 0x48]
call fcn.00401480
push edi
lea ecx, [esp + 0x44]
call fcn.00401b60
push 0x4de38c
lea ecx, [esp + 0x44]
call fcn.004061a0
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x58], ebx
jae 0x413c52
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call fcn.0040ae20
test eax, eax
je 0x413cc2
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.00410860
mov ecx, dword [esp + 0x54]
push ecx
push 0
lea ecx, [esp + 0x48]
mov dword [esi + 0x33b4], 1
call fcn.00401480
push edi
lea ecx, [esp + 0x44]
call fcn.00401b60
push 0x4de380
lea ecx, [esp + 0x44]
call fcn.004061a0
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x58], ebx
jae 0x413caf
lea eax, [esp + 0x44]
mov edx, dword [esi + 0x74]
push 0
lea ecx, [esi + 0x74]
push 0x2010
push eax
mov eax, dword [edx + 0x20]
call eax
lea ecx, [esp + 0x28]
call fcn.00409b60
lea ecx, [esp + 0x10]
call fcn.00409b60
lea ecx, [esp + 0x1c]
call fcn.00409b60
lea ecx, [esp + 0x34]
call fcn.00409b60
lea ecx, [esp + 0x5c]
mov byte [esp + 0x10d0], 0
call fcn.00459530
lea ecx, [esp + 0x40]
call fcn.004016a0
mov ecx, dword [esp + 0x10c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10b0]
xor ecx, esp
call fcn.004a0abf
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x58], ebx
jae 0x413d34
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xcc0]
push 0x4de370
push ecx
call fcn.004a1520
lea edx, [esp + 0xcc8]
push edx
lea eax, [esp + 0x4bc]
push eax
call fcn.00409760
add esp, 0x14
mov ecx, 0x102
lea esi, [esp + 0x4ac]
lea edi, [esp + 0x8b4]
rep movsd dword es:[edi], dword [esi]
push 0x4fa1f0
lea ecx, [esp + 0x8b8]
push ecx
call fcn.004a068d
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x58], ebx
jae 0x413d94
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0xcc0]
push 0x4de370
push edx
call fcn.004a1520
lea eax, [esp + 0xcc8]
push eax
lea ecx, [esp + 0x8c4]
push ecx
call fcn.00409760
add esp, 0x14
push 0x4fa1f0
lea edx, [esp + 0x4b0]
mov ecx, 0x102
lea esi, [esp + 0x8b8]
lea edi, [esp + 0x4b0]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.004a068d
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x58], ebx
jae 0x413df4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0xcc0]
push 0x4de370
push eax
call fcn.004a1520
lea ecx, [esp + 0xcc8]
push ecx
lea edx, [esp + 0x8c4]
push edx
call fcn.00409760
add esp, 0x14
push 0x4fa1f0
lea eax, [esp + 0x4b0]
mov ecx, 0x102
lea esi, [esp + 0x8b8]
lea edi, [esp + 0x4b0]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.004a068d
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x58], ebx
jae 0x413e54
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0xcc0]
push 0x4de370
push ecx
call fcn.004a1520
lea edx, [esp + 0xcc8]
push edx
lea eax, [esp + 0x8c4]
push eax
call fcn.00409760
add esp, 0x14
mov ecx, 0x102
lea esi, [esp + 0x8b4]
lea edi, [esp + 0x4ac]
rep movsd dword es:[edi], dword [esi]
push 0x4fa1f0
lea ecx, [esp + 0x4b0]
push ecx
call fcn.004a068d
int3