Function at 0x100608f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1017a280
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x101ce2f4]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce2f4]
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 0x10182960
lea ecx, [esp + 0xac]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], 0
call fcn.100085d0
mov dword [esp + 0x240], 1
mov bh, bh
test edi, edi
push eax
pop eax
mov edi, dword [esp + 0x250]
cmp edi, 0x64
je 0x10060995
push esi
call fcn.10056250
add esp, 4
push ecx
pop ecx
fld qword [0x10182918]
fld qword [esp + 0x26c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x1006101b
fld1
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x1006101b
mov edx, dword [esi + 0x220]
cmp dword [edx + edi*4], 0
jne 0x100609e2
lea eax, [esp + 0xa4]
fstp st(0)
push eax
mov ecx, ebp
call fcn.1000cf30
jmp 0x1006102c
fld qword [0x101828c0]
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 cx, word [esp + 0x34]
mov word [esi + edi*4 + 0x228], cx
fldcw word [esp + 0x30]
nop
fmul qword [0x10182910]
fnstcw word [esp + 0x30]
movzx eax, word [esp + 0x30]
fadd qword [0x101828a8]
or eax, 0xc00
mov dword [esp + 0x34], eax
mov ax, 0xb
fldcw word [esp + 0x34]
fistp dword [esp + 0x34]
mov dx, word [esp + 0x34]
sub ax, dx
mov word [esi + edi*4 + 0x22a], ax
fldcw word [esp + 0x30]
push ecx
pop ecx
movzx eax, word [esi + edi*4 + 0x22a]
test ax, ax
ja 0x10060a71
mov word [esi + edi*4 + 0x22a], 0
mov esi, esi
jmp 0x10060a83
cmp ax, 3
jb 0x10060a83
mov word [esi + edi*4 + 0x22a], 3
mov ebp, ebp
nop
lea ecx, [esp + 0x1c]
call fcn.10108ebb
mov byte [esp + 0x240], 2
mov ecx, ecx
mov edx, dword [esp + 0x40]
push 0
lea ecx, [esp + 0x20]
push ecx
push 0x10182548
push edx
call fcn.10060340
add esp, 0x10
mov ebp, eax
mov ebp, ebp
test ebp, ebp
jne 0x10060aff
lea eax, [esp + 0xa4]
push eax
mov esi, dword [esp + 0x40]
mov ecx, esi
call fcn.1000cf30
mov dword [esp + 0x38], 1
mov byte [esp + 0x240], 1
lea ecx, [esp + 0x1c]
call fcn.10109203
mov byte [esp + 0x240], 0
lea ecx, [esp + 0xa4]
call fcn.10006e20
mov eax, esi
jmp 0x1006104a
mov dword [esp + 0x34], 0
mov ecx, ecx
push 0xbb80
call fcn.10116bdc
add esp, 4
mov dword [esp + 0x30], eax
test bl, bl
test eax, eax
je 0x10060b89
push 0xbb80
push 0
push eax
call fcn.101182b0
add esp, 0xc
test ch, ch
test eax, 0x6b4d
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x264]
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x264]
push ecx
mov ecx, dword [esp + 0x264]
push ebx
push edx
mov edx, dword [esp + 0x268]
push eax
push ecx
push edx
push edi
lea ecx, [esp + 0x38]
call fcn.1005b0f0
add esp, 0x24
test eax, eax
jne 0x10060b96
mov edx, edx
mov eax, dword [esp + 0x30]
push eax
call fcn.10116c9f
add esp, 4
test eax, eax
lea ecx, [esp + 0xa4]
push ecx
jmp 0x10060ac0
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0xd8]
call fcn.10011360
mov byte [esp + 0x240], 3
test eax, 0x37e5
push 0x1018290c
push ebx
call fcn.10117980
add esp, 8
test dl, dl
test eax, eax
je 0x10060bdf
add eax, 1
test eax, eax
push eax
lea ecx, [esp + 0xd8]
call fcn.100113c0
test eax, 0x12b7
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xc0]
call fcn.10011360
mov byte [esp + 0x240], 4
push ecx
pop ecx
push 0xff
lea ecx, [esp + 0x139]
push 0
push ecx
mov byte [esp + 0x140], 0
call fcn.101182b0
add esp, 0xc
test ecx, ecx
test eax, 0x1c74
mov edi, dword [esp + 0x34]
add edi, 0xffffffff
js 0x10060fbf
mov eax, dword [esp + 0x30]
add ebp, 0xffffffff
lea edx, [edi + edi*2]
mov dword [esp + 0x40], ebp
lea ebp, [eax + edx*8 - 0x16]
mov bl, 0x25
lea ecx, [esp + 0x30]
push ecx
lea edx, [ebp + 0x1e]
push edx
lea ecx, [esp + 0xf4]
call fcn.100085d0
mov byte [esp + 0x240], 5
push ecx
pop ecx
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.1005d0b0
add esp, 0xc
mov byte [esp + 0x240], 6
lea ecx, [esp + 0xbc]
cmp eax, ecx
je 0x10060ca4
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push ecx
push eax
lea ecx, [esp + 0xc4]
call fcn.1000d0b0
mov byte [esp + 0x240], 5
lea ecx, [esp + 0x5c]
call fcn.10006e20
mov dh, dh
test edx, edx
mov esi, dword [esp + 0x40]
test esi, esi
jl 0x10060f2f
test esi, esi
jl 0x10061016
cmp esi, dword [esp + 0x24]
jge 0x10061016
mov edx, dword [esp + 0x20]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax - 0xc]
test eax, 0x2047
cmp esi, dword [esp + 0x24]
jge 0x10061016
mov edx, dword [esp + 0x20]
mov eax, dword [edx + esi*4]
push ecx
push eax
mov eax, dword [esp + 0xd8]
push eax
call fcn.1011a154
add esp, 0xc
test eax, eax
jne 0x10060f26
movzx eax, word [ebp + 0x16]
add eax, dword [esp + 0x14]
test eax, eax
movzx ecx, word [ebp + 0x18]
add ecx, dword [esp + 0x18]
mov ch, ch
cmp dword [esp + 0x274], 0
je 0x10060da9
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
test edx, edx
cmp esi, dword [esp + 0x24]
jge 0x10061016
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.10119209
add esp, 0x14
test eax, 0x5f80
jmp 0x10060e0d
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
mov bh, bh
push ecx
push eax
push esi
lea edx, [esp + 0x134]
push edx
lea eax, [esp + 0x144]
push eax
call fcn.10119209
add esp, 0x14
mov eax, eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x138]
push edx
lea ecx, [esp + 0x10c]
call fcn.100085d0
mov byte [esp + 0x240], 7
push ebx
pop ebx
mov eax, dword [esp + 0xb4]
sub eax, dword [esp + 0xb8]
jne 0x10060e66
mov ecx, dword [esp + 0x114]
mov edx, dword [esp + 0x118]
push ecx
push edx
lea ecx, [esp + 0xac]
call fcn.1000d0b0
test eax, 0x5f68
jmp 0x10060f12
push 0x10182548
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0x94]
push ecx
call fcn.10031be0
add esp, 0xc
mov byte [esp + 0x240], 8
lea edx, [esp + 0x104]
cmp eax, edx
je 0x10060ea5
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push ecx
push eax
mov ecx, edx
call fcn.1000d0b0
mov byte [esp + 0x240], 7
lea ecx, [esp + 0x8c]
call fcn.10006e20
test ecx, ecx
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x108]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.1005d0b0
add esp, 0xc
mov byte [esp + 0x240], 9
lea ecx, [esp + 0xa4]
cmp eax, ecx
je 0x10060eff
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push ecx
push eax
lea ecx, [esp + 0xac]
call fcn.1000d0b0
mov byte [esp + 0x240], 7
lea ecx, [esp + 0x74]
call fcn.10006e20
mov eax, eax
mov byte [esp + 0x240], 5
lea ecx, [esp + 0x104]
call fcn.10006e20
sub esi, 1
jns 0x10060cc5
mov edx, dword [esp + 0xe4]
sub edx, dword [esp + 0xe8]
je 0x10060f9d
test edi, edi
jle 0x10060f9d
movzx eax, word [ebp + 4]
movzx ecx, word [ebp]
movzx edx, word [ebp + 0x18]
add eax, ecx
cmp edx, eax
jl 0x10060f9d
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.1005d0b0
add esp, 0xc
mov byte [esp + 0x240], 0xa
push eax
lea ecx, [esp + 0xc0]
call fcn.1001f810
mov byte [esp + 0x240], 5
lea ecx, [esp + 0x44]
call fcn.10006e20
test eax, 0x1b50
mov byte [esp + 0x240], 4
lea ecx, [esp + 0xec]
call fcn.10006e20
sub edi, 1
sub ebp, 0x18
test edi, edi
jge 0x10060c41
mov eax, dword [esp + 0x30]
push eax
call fcn.10116c9f
add esp, 4
mov edi, edi
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0xa4]
push ecx
mov ecx, esi
call fcn.1000cf30
mov dword [esp + 0x38], 1
mov byte [esp + 0x240], 3
lea ecx, [esp + 0xbc]
call fcn.10006e20
mov byte [esp + 0x240], 2
lea ecx, [esp + 0xd4]
call fcn.10006e20
jmp 0x10060ad3
jmp fcn.10105c49
lea edx, [esp + 0xa4]
fstp st(0)
push edx
mov ecx, ebp
call fcn.1000cf30
mov dword [esp + 0x38], 1
mov byte [esp + 0x240], 0
lea ecx, [esp + 0xa4]
call fcn.10006e20
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.1011717a
add esp, 0x230
ret