Function at 0x4111d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x41d044
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0xdb8624]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x20], bl
jne 0x4112c2
mov edi, dword [0x41f438]
push 0x5f
push 0x423a00
mov byte [esi + 0x20], 1
call edi
add esp, 8
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x70]
mov ecx, dword [ecx + 0x10]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x30], ebx
call dword [0x41fc00]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call dword [0x41f508]
mov edx, dword [esi + 0x70]
mov ecx, dword [edx + 0x10]
push ebx
call dword [0x41fb48]
push 0x154
push 0x4238a8
call edi
add esp, 8
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x70]
mov ecx, dword [ecx + 0x18]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x30], 1
call dword [0x41fc00]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call dword [0x41f508]
push ecx
mov edx, esp
mov dword [esp + 0x1c], esp
push 0xffffffffffffffff
push 0x423000
push edx
call dword [0x41f424]
add esp, 0xc
mov ecx, esi
call fcn.00406400
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push 0xffffffffffffffff
push 0x423860
push eax
jmp 0x4116f9
cmp byte [esi + 0x7c], bl
mov byte [esi + 0x8c], bl
sete cl
mov byte [esi + 0x7c], cl
mov byte [esi + 0x21], bl
mov dword [esi + 0x80], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x24], ebx
mov edi, dword [esi + 0x60]
mov edx, dword [0x41f240]
mov dword [esi + 0x60], edx
mov eax, dword [edi]
cmp eax, ebx
je 0x41130a
cmp eax, 0xffffffff
je 0x41132d
mov eax, edi
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
cmp al, bl
jne 0x41132d
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
lea eax, [edi + edx*4 + 0x10]
lea edx, [edi + ecx*4 + 0x10]
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.004070c0
push edi
call dword [0x41f2a8]
add esp, 4
mov word [esi + 0x8d], bx
mov ecx, dword [0x41f240]
mov eax, dword [esi + 0x90]
mov dword [esi + 0x90], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
call fcn.0040b550
mov edx, dword [esi + 0x70]
mov ecx, dword [edx + 0x34]
mov edi, dword [0x41fb90]
push 0x64
push ebx
call edi
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + 0x30]
push 0x64
push ebx
call edi
cmp byte [esi + 0x7c], bl
je 0x411534
push 0x151
push 0x423708
call dword [0x41f438]
add esp, 8
mov dword [esp + 0x10], eax
mov edx, dword [esi + 0x70]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [edx + 0x18]
mov dword [esp + 0x30], 2
call dword [0x41fc00]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call dword [0x41f508]
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + 0x34]
mov edi, dword [0x41fb94]
push 0x64
call edi
mov ecx, dword [esi + 0x70]
mov ecx, dword [ecx + 0x30]
push 0x64
call edi
mov edi, dword [0x41f4d8]
push 0xdb8594
lea edx, [esp + 0x1c]
push edx
mov eax, 0x40c8d0
xor ecx, ecx
mov dword [esp + 0x20], eax
push esi
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x68]
push eax
push ecx
mov dword [esp + 0x24], fcn.004185c0
call edi
push 0xdb8594
lea edx, [esp + 0x30]
push edx
mov eax, fcn.00407970
xor ecx, ecx
mov dword [esp + 0x34], eax
push esi
lea eax, [esp + 0x30]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x68]
push eax
push ecx
mov dword [esp + 0x38], fcn.004185e0
call edi
push 0xdb8594
lea edx, [esp + 0x44]
push edx
mov eax, fcn.00410c50
xor ecx, ecx
mov dword [esp + 0x48], eax
push esi
lea eax, [esp + 0x44]
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0x68]
push eax
push ecx
mov dword [esp + 0x4c], fcn.00418620
call edi
push 0xdb8594
lea edx, [esp + 0x58]
push edx
mov eax, fcn.004062a0
xor ecx, ecx
mov dword [esp + 0x5c], eax
push esi
lea eax, [esp + 0x58]
mov dword [esp + 0x64], ecx
mov ecx, dword [esi + 0x68]
push eax
push ecx
mov dword [esp + 0x60], fcn.004186d0
call edi
mov eax, dword [0x41f24c]
mov edx, dword [0x41f348]
add esp, 0x50
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0x68]
push edx
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x24], fcn.00403390
call edi
mov edx, dword [0x41f4cc]
mov ecx, dword [0x41f24c]
mov eax, dword [0x41f344]
push ecx
mov dword [esp + 0x30], edx
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x6c]
push eax
lea ecx, [esp + 0x30]
push ecx
push eax
call edi
push 0xdb85ac
mov eax, fcn.00418b10
xor ecx, ecx
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x68]
mov dword [esp + 0x44], ecx
push eax
lea ecx, [esp + 0x44]
push ecx
push esi
mov dword [esp + 0x54], fcn.00402b40
call edi
mov ecx, dword [esi + 0x6c]
add esp, 0x3c
call dword [0x41f2d8]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret
push ecx
lea edx, [esi + 0x88]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call dword [0x41f4fc]
mov ecx, esi
call fcn.0040eda0
cmp al, 1
jne 0x411559
mov byte [esi + 0x8e], al
push 0x154
push 0x4238a8
call dword [0x41f438]
add esp, 8
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x70]
mov ecx, dword [ecx + 0x18]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x30], 3
call dword [0x41fc00]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call dword [0x41f508]
mov edx, dword [esi + 0x70]
mov ecx, dword [edx + 0x34]
mov edi, dword [0x41fb94]
push ebx
call edi
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + 0x30]
push ebx
call edi
push ebx
xor ecx, ecx
push ecx
mov ecx, dword [esi + 0x68]
mov eax, 0x40c8d0
push eax
push esi
push fcn.004185c0
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.0040c0a0
mov edi, dword [0x41f47c]
add esp, 0x1c
lea ecx, [esp + 0x18]
call edi
push ebx
xor ecx, ecx
push ecx
mov eax, fcn.00407970
push eax
mov eax, dword [esi + 0x68]
push esi
push fcn.004185e0
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0040c120
add esp, 0x1c
lea ecx, [esp + 0x18]
call edi
mov edx, dword [esi + 0x68]
push ebx
xor ecx, ecx
push ecx
mov eax, fcn.00410c50
push eax
push esi
push fcn.00418620
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0040c1d0
add esp, 0x1c
lea ecx, [esp + 0x18]
call edi
push ebx
xor ecx, ecx
push ecx
mov ecx, dword [esi + 0x68]
mov eax, fcn.004062a0
push eax
push esi
push fcn.004186d0
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.0040c270
add esp, 0x1c
lea ecx, [esp + 0x18]
call edi
mov eax, dword [esi + 0x68]
mov ecx, dword [0x41f348]
mov edx, dword [esi + 0x6c]
push ebx
push fcn.00403390
push eax
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0040c320
add esp, 0x18
lea ecx, [esp + 0x18]
call edi
mov eax, dword [esi + 0x6c]
mov ecx, dword [0x41f4cc]
mov edx, dword [0x41f344]
push ebx
push ecx
push eax
push edx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0040c320
add esp, 0x18
lea ecx, [esp + 0x18]
call edi
mov edx, dword [esi + 0x68]
push ebx
push fcn.00402b40
push edx
xor ecx, ecx
push ecx
mov eax, fcn.00418b10
push eax
lea eax, [esp + 0x34]
push esi
push eax
call fcn.0040c390
add esp, 0x1c
lea ecx, [esp + 0x20]
call edi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0xffffffffffffffff
push 0x423000
push ecx
call dword [0x41f424]
add esp, 0xc
mov ecx, esi
call fcn.00406400
push ecx
mov edx, esp
mov dword [esp + 0x1c], esp
push 0xffffffffffffffff
push 0x423860
push edx
call dword [0x41f424]
add esp, 0xc
mov ecx, esi
call fcn.00406600
mov ecx, dword [esi + 0x6c]
push 7
call dword [0x41f324]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret