Function at 0x100680c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x101917c0
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e5aec]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov eax, dword [esp + 0x264]
mov ebp, dword [esp + 0x248]
mov esi, dword [esp + 0x24c]
mov ebx, dword [esp + 0x268]
lea ecx, [esp + 0x30]
push ecx
push 0x10198bf0
lea ecx, [esp + 0xac]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], 0
call fcn.10004620
mov dword [esp + 0x240], 1
mov edx, edx
mov al, al
mov al, al
mov edi, dword [esp + 0x250]
cmp edi, 0x64
je 0x1006816c
mov edx, dword [esi + 0x22c]
push edx
push esi
call fcn.1005c510
add esp, 8
mov ch, ch
fld qword [0x10198a40]
fld qword [esp + 0x26c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x10068878
fld1
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x10068878
mov eax, dword [esi + 0x228]
cmp dword [eax + edi*4], 0
jne 0x100681b9
lea ecx, [esp + 0xa4]
fstp st(0)
push ecx
mov ecx, ebp
call fcn.100046a0
jmp 0x10068889
fld qword [0x10198b80]
fnstcw word [esp + 0x30]
movzx eax, word [esp + 0x30]
fmul st(1)
or eax, 0xc00
mov dword [esp + 0x34], eax
fldcw word [esp + 0x34]
fistp dword [esp + 0x34]
mov dx, word [esp + 0x34]
mov word [esi + edi*4 + 0x230], dx
fldcw word [esp + 0x30]
mov edx, edx
mov cx, 0xb
fmul qword [0x10198bc8]
fnstcw word [esp + 0x30]
movzx eax, word [esp + 0x30]
fadd qword [0x10198b68]
or eax, 0xc00
mov dword [esp + 0x34], eax
fldcw word [esp + 0x34]
fistp dword [esp + 0x34]
mov ax, word [esp + 0x34]
sub cx, ax
mov word [esi + edi*4 + 0x232], cx
fldcw word [esp + 0x30]
push ebx
pop ebx
movzx eax, word [esi + edi*4 + 0x232]
test ax, ax
ja 0x10068251
mov word [esi + edi*4 + 0x232], 0
cmp dword [0x101d08a4], 0xfffff8aa
jmp 0x10068263
cmp ax, 3
jb 0x10068263
mov word [esi + edi*4 + 0x232], 3
mov ebp, ebp
cmp dword [0x101d0890], 0xffffff63
lea ecx, [esp + 0x1c]
call fcn.1011f5ff
mov byte [esp + 0x240], 2
cmp dword [0x101d08a0], 0x5de7
mov eax, dword [esp + 0x40]
push 0
lea edx, [esp + 0x20]
push edx
push 0x10198a34
push eax
call fcn.10067a70
add esp, 0x10
mov ebp, eax
cmp dword [0x101d089c], 0x6d33
test ebp, ebp
jne 0x100682f8
lea ecx, [esp + 0xa4]
push ecx
mov esi, dword [esp + 0x40]
mov ecx, esi
call fcn.100046a0
mov dword [esp + 0x38], 1
mov byte [esp + 0x240], 1
lea ecx, [esp + 0x1c]
call fcn.1011f947
mov byte [esp + 0x240], 0
lea ecx, [esp + 0xa4]
call fcn.10002070
mov eax, esi
jmp 0x100688a7
mov dword [esp + 0x34], 0
mov bh, bh
push 0xbb80
call fcn.1012de1c
add esp, 4
mov dword [esp + 0x30], eax
cmp dword [0x101d088c], 0x6537
test eax, eax
je 0x1006839f
push 0xbb80
push 0
push eax
call fcn.1012ea60
add esp, 0xc
cmp dword [0x101d08a0], 0x5de7
mov dh, dh
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x264]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x264]
push edx
mov edx, dword [esp + 0x264]
push ebx
push eax
mov eax, dword [esp + 0x268]
push ecx
push edx
push eax
push edi
lea ecx, [esp + 0x38]
call fcn.10061e90
add esp, 0x24
test eax, eax
jne 0x100683ac
cmp dword [0x101d0898], 0x5cf2
mov ecx, dword [esp + 0x30]
push ecx
call fcn.1012dedf
add esp, 4
cmp dword [0x101d0898], 0x5cf2
lea edx, [esp + 0xa4]
push edx
jmp 0x100682b9
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xd8]
call fcn.10004820
mov byte [esp + 0x240], 3
cmp dword [0x101d088c], 0x6537
push 0x10198a60
push ebx
call fcn.1012e9d0
add esp, 8
mov eax, eax
test eax, eax
je 0x100683f7
add eax, 1
mov edi, edi
push eax
lea ecx, [esp + 0xd8]
call fcn.1000c2d0
mov dl, dl
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0xc0]
call fcn.10004820
mov byte [esp + 0x240], 4
cmp dword [0x101d08a0], 0x5de7
push 0xff
lea edx, [esp + 0x139]
push 0
push edx
mov byte [esp + 0x140], 0
call fcn.1012ea60
add esp, 0xc
cmp dword [0x101d08a4], 0x755
cmp dword [0x101d08a0], 0xffffa218
mov edi, dword [esp + 0x34]
add edi, 0xffffffff
js 0x1006881c
mov ecx, dword [esp + 0x30]
add ebp, 0xffffffff
lea eax, [edi + edi*2]
mov dword [esp + 0x40], ebp
lea ebp, [ecx + eax*8 - 0x16]
mov bl, 0x25
lea edx, [esp + 0x30]
push edx
lea eax, [ebp + 0x1e]
push eax
lea ecx, [esp + 0xf4]
call fcn.10004620
mov byte [esp + 0x240], 5
cmp dword [0x101d08a8], 0xffffc764
lea ecx, [esp + 0xbc]
push ecx
lea edx, [esp + 0xf0]
push edx
lea eax, [esp + 0x64]
push eax
call fcn.100485b0
add esp, 0xc
mov byte [esp + 0x240], 6
lea ecx, [esp + 0xbc]
cmp eax, ecx
je 0x100684d9
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push ecx
push eax
lea ecx, [esp + 0xc4]
call fcn.10007ad0
mov byte [esp + 0x240], 5
lea ecx, [esp + 0x5c]
call fcn.10002070
cmp dword [0x101d088c], 0x6537
mov ebx, ebx
mov esi, dword [esp + 0x40]
test esi, esi
jl 0x1006878f
test esi, esi
jl 0x10068873
cmp esi, dword [esp + 0x24]
jge 0x10068873
mov edx, dword [esp + 0x20]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax - 0xc]
mov bl, bl
cmp esi, dword [esp + 0x24]
jge 0x10068873
mov edx, dword [esp + 0x20]
mov eax, dword [edx + esi*4]
push ecx
push eax
mov eax, dword [esp + 0xd8]
push eax
call fcn.10130a34
add esp, 0xc
test eax, eax
jne 0x10068786
movzx eax, word [ebp + 0x16]
add eax, dword [esp + 0x14]
mov dl, dl
movzx ecx, word [ebp + 0x18]
add ecx, dword [esp + 0x18]
mov bl, bl
cmp dword [esp + 0x274], 0
je 0x100685f4
mov byte [esp + 0x11c], bl
mov byte [esp + 0x11d], 0x73
mov byte [esp + 0x11e], 0x2c
mov byte [esp + 0x11f], bl
mov byte [esp + 0x120], 0x64
mov byte [esp + 0x121], 0x2c
mov byte [esp + 0x122], bl
mov byte [esp + 0x123], 0x64
mov byte [esp + 0x124], 0
cmp dword [0x101d0898], 0x5cf2
cmp esi, dword [esp + 0x24]
jge 0x10068873
push ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + esi*4]
push eax
push edx
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0x144]
push ecx
call fcn.1012f577
add esp, 0x14
cmp dword [0x101d0898], 0x5cf2
jmp 0x10068668
mov byte [esp + 0x128], bl
mov byte [esp + 0x129], 0x64
mov byte [esp + 0x12a], 0x2c
mov byte [esp + 0x12b], bl
mov byte [esp + 0x12c], 0x64
mov byte [esp + 0x12d], 0x2c
mov byte [esp + 0x12e], bl
mov byte [esp + 0x12f], 0x64
mov byte [esp + 0x130], 0
cmp dword [0x101d0894], 0x16ac
push ecx
push eax
push esi
lea edx, [esp + 0x134]
push edx
lea eax, [esp + 0x144]
push eax
call fcn.1012f577
add esp, 0x14
cmp dword [0x101d0898], 0x5cf2
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x138]
push edx
lea ecx, [esp + 0x10c]
call fcn.10004620
mov byte [esp + 0x240], 7
cmp dword [0x101d088c], 0xffff9ac8
mov eax, dword [esp + 0xb4]
sub eax, dword [esp + 0xb8]
jne 0x100686c6
mov ecx, dword [esp + 0x114]
mov edx, dword [esp + 0x118]
push ecx
push edx
lea ecx, [esp + 0xac]
call fcn.10007ad0
mov eax, eax
jmp 0x10068772
push 0x10198a34
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0x94]
push ecx
call fcn.10034c30
add esp, 0xc
mov byte [esp + 0x240], 8
lea edx, [esp + 0x104]
cmp eax, edx
je 0x10068705
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push ecx
push eax
mov ecx, edx
call fcn.10007ad0
mov byte [esp + 0x240], 7
lea ecx, [esp + 0x8c]
call fcn.10002070
mov ebx, ebx
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x108]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.100485b0
add esp, 0xc
mov byte [esp + 0x240], 9
lea ecx, [esp + 0xa4]
cmp eax, ecx
je 0x1006875f
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push ecx
push eax
lea ecx, [esp + 0xac]
call fcn.10007ad0
mov byte [esp + 0x240], 7
lea ecx, [esp + 0x74]
call fcn.10002070
mov ecx, ecx
mov byte [esp + 0x240], 5
lea ecx, [esp + 0x104]
call fcn.10002070
sub esi, 1
jns 0x10068502
mov edx, dword [esp + 0xe4]
sub edx, dword [esp + 0xe8]
je 0x100687fa
test edi, edi
jle 0x100687fa
movzx eax, word [ebp + 4]
movzx ecx, word [ebp]
movzx edx, word [ebp + 0x18]
add eax, ecx
cmp edx, eax
jl 0x100687fa
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.100485b0
add esp, 0xc
mov byte [esp + 0x240], 0xa
push eax
lea ecx, [esp + 0xc0]
call fcn.10021d70
mov byte [esp + 0x240], 5
lea ecx, [esp + 0x44]
call fcn.10002070
mov edi, edi
mov byte [esp + 0x240], 4
lea ecx, [esp + 0xec]
call fcn.10002070
sub edi, 1
sub ebp, 0x18
test edi, edi
jge 0x1006846e
mov eax, dword [esp + 0x30]
push eax
call fcn.1012dedf
add esp, 4
push eax
pop eax
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0xa4]
push ecx
mov ecx, esi
call fcn.100046a0
mov dword [esp + 0x38], 1
mov byte [esp + 0x240], 3
lea ecx, [esp + 0xbc]
call fcn.10002070
mov byte [esp + 0x240], 2
lea ecx, [esp + 0xd4]
call fcn.10002070
jmp 0x100682cc
jmp fcn.1011cee9
lea edx, [esp + 0xa4]
fstp st(0)
push edx
mov ecx, ebp
call fcn.100046a0
mov dword [esp + 0x38], 1
mov byte [esp + 0x240], 0
lea ecx, [esp + 0xa4]
call fcn.10002070
mov eax, ebp
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x230
ret