Function at 0x410020
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b7226
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi + 4], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi], 0x5dafa0
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x44], 0xffffffff
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x48], 0x2710
mov dword [esp + 0x10], esi
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], 0x5dba54
mov dword [esi + 0x54], 0xf
mov eax, dword [0x639698]
mov dword [esp + 0x38], ebx
mov dword [esi + 0x60], eax
mov ecx, dword [0x639698]
mov dword [esi + 0x64], ecx
mov byte [esi + 0x68], bl
mov byte [esi + 0x6f], bl
mov byte [esi + 0x7a], bl
mov byte [esi + 0x81], bl
mov eax, 0x64
mov dword [esi + 0x94], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], eax
lea edi, [esi + 0x9c]
mov dword [edi + 8], ebx
mov dword [edi], ebx
mov dword [edi + 4], eax
lea ebp, [esi + 0xac]
mov dword [ebp + 8], ebx
mov dword [ebp], ebx
mov dword [ebp + 4], eax
mov byte [esi + 0x104], bl
mov byte [esi + 0x10b], bl
mov byte [esi + 0x116], bl
mov byte [esi + 0x11d], bl
mov dword [esi + 0x130], ebx
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], eax
mov edx, dword [0x639698]
mov dword [esi + 0x134], edx
mov eax, dword [0x639698]
mov dword [esi + 0x14c], eax
mov ecx, dword [0x639698]
mov dword [esi + 0x150], ecx
mov dword [esi + fcn.004eac90], 0x5dad7c
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1d0], ebx
mov dword [esi + 0x1d8], ebx
lea ecx, [esi + 0x1e4]
mov byte [esp + 0x38], 0xe
call fcn.004dc340
lea ecx, [esi + 0x220]
call fcn.004dc340
mov dword [esi + fcn.004eac90], 0x5dad7c
mov dword [esi + 0x240], ebx
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x244], ebx
mov dword [esi], 0x5dba1c
mov dword [esi + 0x50], 0x5dba10
mov dword [esi + 0x58], 0x3e8
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x3c], ebx
mov eax, 0x40c58880
mov dword [esi + 0x1a0], ebx
mov dword [esi + 0x1a4], eax
mov dword [esi + 0x198], ebx
mov dword [esi + 0x19c], eax
mov byte [esi + 0x1ac], bl
mov byte [esp + 0x1c], bl
mov byte [esp + 0x23], bl
push 7
lea edx, [esp + 0x20]
push 0x625cc0
push edx
mov byte [esp + 0x44], 0x10
call fcn.00573cb0
lea eax, [esp + 0x28]
push 7
push eax
lea eax, [esi + 0x68]
push eax
mov byte [esp + 0x3b], bl
call fcn.00573cb0
mov cl, byte [esp + 0x3b]
lea edx, [esp + 0x34]
push 7
lea eax, [esi + 0x7a]
push edx
push eax
mov byte [esi + 0x6f], cl
call fcn.00573cb0
mov al, byte [esp + 0x47]
add esp, 0x24
lea ecx, [esi + 0x8c]
mov byte [esi + 0x81], al
push 7
call fcn.0040b8a0
push 0xa
mov ecx, edi
mov dword [esi + 0x98], 1
call fcn.0040b8a0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.0040b930
mov edi, 1
push 7
mov ecx, ebp
mov dword [esi + 0xa8], edi
call fcn.0040b8a0
lea edx, [esp + 0x1c]
mov ecx, ebp
push edx
call fcn.0040b930
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], edi
mov dword [esi + 0xc4], 3
mov ecx, 0x12c
mov dword [esi + 0xc8], 0x64
mov dword [esi + 0xcc], ecx
mov dword [esi + 0xd0], ebx
mov eax, 0xa
mov dword [esi + 0xd4], 0x3f
mov dword [esi + 0xd8], eax
mov dword [esi + 0xdc], ebx
mov edi, 0xf
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], edi
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], 0x3c
mov dword [esi + 0xf0], ecx
lea eax, [esp + 0x1c]
push 7
lea ebp, [esi + 0x104]
push eax
mov dword [esi + 0xfc], ebx
push ebp
mov dword [esi + 0xf8], ebx
call fcn.00573cb0
mov cl, byte [esp + 0x2f]
add esp, 0xc
mov byte [ebp + 7], cl
lea ecx, [esi + 0x116]
push 0x625cbc
call fcn.0040b700
push 7
lea ecx, [esi + 0x128]
call fcn.0040b8a0
push 0x625cb4
lea ecx, [esi + 0x134]
call fcn.00593864
mov dword [esi + 0x138], 0x3c
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x140], edi
mov dword [esi + 0x144], ebx
push 0x625ca0
lea ecx, [esi + 0x14c]
mov dword [esi + 0x148], 0x2580
call fcn.00593864
mov dword [esi + 0x154], ebx
mov dword [esi + 0x158], ebx
mov dword [esi + 0x15c], 1
mov dword [esi + 0x160], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x170], ebx
push 0xb4
mov dword [esi + 0x174], 0x960
mov dword [esi + 0x178], 0x7d0
mov dword [esi + 0x17c], 0xe10
mov dword [esi + 0x180], ebx
mov dword [esi + 0x184], ebx
mov dword [esi + 0x188], ebx
mov dword [esi + 0x18c], 0x7fff
mov dword [esi + 0x194], ebx
mov dword [esi + 0x190], edi
mov dword [esi + 0x1a8], ebx
call fcn.0058ecf8
mov ebp, eax
add esp, 4
mov dword [esp + 0x14], ebp
cmp ebp, ebx
je 0x41046c
mov dword [ebp], fcn.00425060
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
lea edi, [ebp + 0x18]
mov byte [esp + 0x38], 0x12
mov ecx, edi
mov dword [esp + 0x18], edi
call fcn.00410a60
push ebx
push ebx
push 0x3fb29372
push 0x5bb804a5
push ebx
push 0x14
mov ecx, edi
mov byte [esp + 0x50], 0x13
mov dword [edi], fcn.004eac90
call fcn.004eac90
lea ecx, [ebp + 0x34]
mov byte [esp + 0x38], 0x14
call fcn.00410a80
push 4
lea ecx, [ebp + 0x70]
mov byte [esp + 0x3c], 0x15
call fcn.00410af0
mov ecx, ebp
mov byte [esp + 0x38], 0x16
mov dword [ebp], fcn.004110b0
call fcn.004110b0
jmp 0x41046e
xor ebp, ebp
push 0x78
mov byte [esp + 0x3c], 0x10
mov dword [esi + 0x1b0], ebp
call fcn.0058ecf8
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x4104ad
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov ecx, edi
mov byte [esp + 0x38], 0x18
mov dword [edi], fcn.00425060
call fcn.004171c0
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
jmp 0x4104af
xor edi, edi
push 0x1b8
mov byte [esp + 0x3c], 0x10
mov dword [esi + 0x1b4], edi
call fcn.0058ecf8
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x38], 0x19
je 0x4104dd
mov ecx, eax
call fcn.00417400
jmp 0x4104df
xor eax, eax
push 0x1f0
mov byte [esp + 0x3c], 0x10
mov dword [esi + 0x1b8], eax
call fcn.0058ecf8
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
cmp ebp, ebx
mov byte [esp + 0x38], 0x1a
je 0x410593
mov ecx, ebp
call fcn.00417400
mov dword [ebp + fcn.004eac90], 0x5dad7c
mov dword [ebp + 0x1c8], ebx
mov dword [ebp + 0x1c4], ebx
mov dword [ebp + 0x1cc], ebx
lea edi, [ebp + 0x1d8]
push 0x625c90
mov byte [esp + 0x3c], 0x1c
mov dword [esp + 0x18], edi
lea ecx, [edi + 4]
call fcn.00593749
push 0x625c7c
lea ecx, [edi + 8]
mov byte [esp + 0x3c], 0x1d
call fcn.00593749
push 0x40
mov ecx, edi
mov byte [esp + 0x3c], 0x1e
call fcn.00410c40
push ebx
push 0x625c6c
push 0x625c90
lea ecx, [ebp + 0x1e4]
mov byte [esp + 0x44], 0x1f
call fcn.00410b40
mov dword [ebp], fcn.00425060
mov dword [ebp + 0x1b8], ebx
jmp 0x410595
xor ebp, ebp
push 0x70
mov byte [esp + 0x3c], 0x10
mov dword [esi + 0x1bc], ebp
call fcn.0058ecf8
add esp, 4
cmp eax, ebx
je 0x4105fc
mov ecx, 0x5dad7c
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x50], ecx
mov dword [eax + 0x5c], ebx
mov dword [eax + 0x58], ebx
mov dword [eax + 0x60], ebx
mov ebp, 1
mov dword [eax + 0x38], ebx
mov dword [eax + 0x30], ebx
mov dword [eax], fcn.00425060
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x34], ebx
mov dword [eax + 0x44], ebp
mov word [eax + 0x40], bx
mov dword [eax + 0x48], ebx
mov word [eax + 0x4e], bx
mov word [eax + 0x4c], bx
jmp 0x410603
xor eax, eax
mov ebp, 1
fld qword [0x5db990]
fdiv qword [esi + 0x198]
sub esp, 8
mov edx, dword [esi + 0x1c8]
sub esp, 8
lea ecx, [esi + 0x1c8]
mov dword [esi + 0x1c0], eax
fstp qword [esp + 8]
fld qword [0x5db988]
fdiv qword [esi + 0x198]
fstp qword [esp]
push 2
push 0x19
call dword [edx]
fld qword [0x5db980]
fdiv qword [esi + 0x1a0]
mov eax, dword [esi + 0x234]
push ebx
push ebx
lea ecx, [esi + 0x234]
sub esp, 8
fstp qword [esp]
push ebp
push 0x10
call dword [eax]
push 0x48
mov dword [esi + 0x1f8], ebp
mov dword [esi + 0x250], ebx
call fcn.0058ecf8
add esp, 4
cmp eax, ebx
mov edi, 0x2b11
je 0x4106b2
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x14], ebx
mov dword [eax], fcn.004109d0
mov dword [eax + 0x40], 0x12c
mov dword [eax + 4], edi
mov dword [eax + 0x44], ebx
mov dword [eax + 0x28], ebx
mov word [eax + 0x24], bx
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], ebx
jmp 0x4106b4
xor eax, eax
push 0x30
mov dword [esi + 0x200], eax
call fcn.0058ecf8
add esp, 4
cmp eax, ebx
je 0x4106e6
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x14], ebx
mov dword [eax], fcn.004109d0
mov dword [eax + 4], edi
mov word [eax + 0x24], bx
mov dword [eax + 0x2c], ebx
jmp 0x4106e8
xor eax, eax
push 0x2c
mov dword [esi + 0x204], eax
call fcn.0058ecf8
add esp, 4
cmp eax, ebx
je 0x41071a
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x14], ebx
mov dword [eax], fcn.004109d0
mov dword [eax + 4], edi
mov word [eax + 0x22], bx
mov dword [eax + 0x28], ebx
jmp 0x41071c
xor eax, eax
push 0x34
mov dword [esi + 0x208], eax
call fcn.0058ecf8
add esp, 4
cmp eax, ebx
je 0x410751
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x14], ebx
mov dword [eax], fcn.004109d0
mov dword [eax + 4], edi
mov word [eax + 0x24], bx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebp
jmp 0x410753
xor eax, eax
push 0x3c
mov dword [esi + 0x20c], eax
call fcn.0058ecf8
add esp, 4
cmp eax, ebx
je 0x41078e
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
mov dword [eax], fcn.004109d0
mov dword [eax + 4], edi
mov dword [eax + 0xc], ebx
mov word [eax + 0x28], bx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], ebp
mov dword [eax + 0x14], ebx
mov dword [eax + 0x38], ebx
mov dword [eax + 0x18], ebx
jmp 0x410790
xor eax, eax
push 0x48
mov dword [esi + 0x210], eax
call fcn.0058ecf8
add esp, 4
cmp eax, ebx
je 0x4107d7
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x2c], 0x5dad7c
mov dword [eax + 0x38], ebx
mov dword [eax + 0x34], ebx
mov dword [eax + 0x3c], ebx
mov dword [eax], fcn.004109d0
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
jmp 0x4107d9
xor eax, eax
push 0x27a4
mov dword [esi + 0x214], eax
call fcn.0058ecf8
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x38], 0x20
je 0x410802
mov ecx, eax
call fcn.004ffb00
jmp 0x410804
xor eax, eax
push 0x24
mov byte [esp + 0x3c], 0x10
mov dword [esi + 0x218], eax
call fcn.0058ecf8
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x410852
push 0x2000
mov byte [esp + 0x3c], 0x22
mov dword [edi], 0x5db8e0
call fcn.0058ecf8
add esp, 4
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x1c], ebx
jmp 0x410854
xor edi, edi
push 0x2c
mov byte [esp + 0x3c], 0x10
mov dword [esi + 0x254], edi
call fcn.0058ecf8
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x41089f
push 0x2000
mov byte [esp + 0x3c], 0x24
mov dword [edi], 0x5db8d8
call fcn.0058ecf8
add esp, 4
mov dword [edi + 4], eax
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x28], ebx
jmp 0x4108a1
xor edi, edi
push 8
mov byte [esp + 0x3c], 0x10
mov dword [esi + 0x258], edi
call fcn.0058ecf8
add esp, 4
cmp eax, ebx
je 0x4108c5
mov dword [eax], 0x5db8d4
mov dword [eax + 4], ebx
jmp 0x4108c7
xor eax, eax
push 0x10
mov dword [esi + 0x25c], eax
call fcn.0058ecf8
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, ebx
mov byte [esp + 0x38], 0x25
je 0x4108fd
push 0x2000
call fcn.0058ecf8
add esp, 4
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
jmp 0x4108ff
xor edi, edi
push 0x190
mov byte [esp + 0x3c], 0x10
mov dword [esi + 0x260], edi
call fcn.0058ecf8
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, ebx
je 0x410998
mov dword [edi + 0x14], ebx
lea ecx, [edi + 0x18]
mov eax, 0x64
mov dword [ecx + 8], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], eax
lea ebp, [edi + 0x24]
mov dword [ebp + 8], ebx
mov dword [ebp], ebx
mov dword [ebp + 4], eax
mov byte [edi + 0x30], bl
mov byte [edi + 0x37], bl
mov byte [edi + 0x42], bl
mov byte [edi + 0x49], bl
mov dword [edi + 0x5c], ebx
mov dword [edi + 0x54], ebx
mov dword [edi + 0x58], eax
push 0xa
mov byte [esp + 0x3c], 0x2d
mov dword [edi], 0x5db8d0
mov dword [edi + 4], 1
call fcn.0040b8a0
push 0xa
mov ecx, ebp
call fcn.0040b8a0
push 7
lea ecx, [edi + 0x54]
call fcn.0040b8a0
mov dword [edi + 0x168], ebx
mov dword [edi + 0x16c], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x170], ebx
jmp 0x41099a
xor edi, edi
mov ecx, esi
mov byte [esp + 0x38], 0x10
mov dword [esi + 0x264], edi
mov dword [esi + 0x100], ebx
call fcn.00414230
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret