Function at 0x10049b40
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10152620
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x101a53c4]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101a53c4]
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 0x1015a888
lea ecx, [esp + 0xac]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], 0
call fcn.100094b0
mov dword [esp + 0x240], 1
mov edi, edi
push edx
pop edx
push ebx
pop ebx
mov edi, dword [esp + 0x250]
cmp edi, 0x64
je 0x10049be5
push esi
call fcn.1003f640
add esp, 4
mov ebx, ebx
fld qword [0x1015a468]
fld qword [esp + 0x26c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x1004a255
fld1
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x1004a255
mov edx, dword [esi + 0x228]
cmp dword [edx + edi*4], 0
jne 0x10049c32
lea eax, [esp + 0xa4]
fstp st(0)
push eax
mov ecx, ebp
call fcn.10009530
jmp 0x1004a266
fld qword [0x1015a7f8]
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 + 0x230], cx
fldcw word [esp + 0x30]
mov dh, dh
fmul qword [0x1015a840]
fnstcw word [esp + 0x30]
movzx eax, word [esp + 0x30]
fadd qword [0x1015a7e8]
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 + 0x232], ax
fldcw word [esp + 0x30]
mov ebx, ebx
movzx eax, word [esi + edi*4 + 0x232]
test ax, ax
ja 0x10049cc2
mov word [esi + edi*4 + 0x232], 0
mov bh, bh
jmp 0x10049cd4
cmp ax, 3
jb 0x10049cd4
mov word [esi + edi*4 + 0x232], 3
mov edx, edx
push eax
pop eax
lea ecx, [esp + 0x1c]
call fcn.100e6d53
mov byte [esp + 0x240], 2
push edx
pop edx
mov edx, dword [esp + 0x40]
push 0
lea ecx, [esp + 0x20]
push ecx
push 0x1015a45c
push edx
call fcn.10049590
add esp, 0x10
mov ebp, eax
mov bh, bh
test ebp, ebp
jne 0x10049d51
lea eax, [esp + 0xa4]
push eax
mov esi, dword [esp + 0x40]
mov ecx, esi
call fcn.10009530
mov dword [esp + 0x38], 1
mov byte [esp + 0x240], 1
lea ecx, [esp + 0x1c]
call fcn.100e709b
mov byte [esp + 0x240], 0
lea ecx, [esp + 0xa4]
call fcn.100067f0
mov eax, esi
jmp 0x1004a284
mov dword [esp + 0x34], 0
mov dl, dl
push 0xbb80
call fcn.100f4a78
add esp, 4
mov dword [esp + 0x30], eax
mov al, al
test eax, eax
je 0x10049dd8
push 0xbb80
push 0
push eax
call fcn.100f5b10
add esp, 0xc
xchg ebx, eax
xchg ebx, eax
mov ebp, ebp
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.10044430
add esp, 0x24
test eax, eax
jne 0x10049de5
push eax
pop eax
mov eax, dword [esp + 0x30]
push eax
call fcn.100f4b3b
add esp, 4
mov ecx, ecx
lea ecx, [esp + 0xa4]
push ecx
jmp 0x10049d12
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0xd8]
call fcn.100096b0
mov byte [esp + 0x240], 3
push edx
pop edx
push 0x1015a470
push ebx
call fcn.100f5820
add esp, 8
mov esi, esi
test eax, eax
je 0x10049e28
add eax, 1
mov edx, edx
push eax
lea ecx, [esp + 0xd8]
call fcn.1000fe20
mov ch, ch
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xc0]
call fcn.100096b0
mov byte [esp + 0x240], 4
mov al, al
push 0xff
lea ecx, [esp + 0x139]
push 0
push ecx
mov byte [esp + 0x140], 0
call fcn.100f5b10
add esp, 0xc
push ebx
pop ebx
mov cl, cl
mov edi, dword [esp + 0x34]
add edi, 0xffffffff
js 0x1004a1f9
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.100094b0
mov byte [esp + 0x240], 5
mov dh, dh
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.1002e2b0
add esp, 0xc
mov byte [esp + 0x240], 6
lea ecx, [esp + 0xbc]
cmp eax, ecx
je 0x10049eea
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push ecx
push eax
lea ecx, [esp + 0xc4]
call fcn.1000bbd0
mov byte [esp + 0x240], 5
lea ecx, [esp + 0x5c]
call fcn.100067f0
xchg ebx, eax
xchg ebx, eax
mov edx, edx
mov esi, dword [esp + 0x40]
test esi, esi
jl 0x1004a16c
test esi, esi
jl 0x1004a250
cmp esi, dword [esp + 0x24]
jge 0x1004a250
mov edx, dword [esp + 0x20]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax - 0xc]
mov ecx, ecx
cmp esi, dword [esp + 0x24]
jge 0x1004a250
mov edx, dword [esp + 0x20]
mov eax, dword [edx + esi*4]
push ecx
push eax
mov eax, dword [esp + 0xd8]
push eax
call fcn.100f7cf4
add esp, 0xc
test eax, eax
jne 0x1004a163
movzx eax, word [ebp + 0x16]
add eax, dword [esp + 0x14]
mov ebx, ebx
movzx ecx, word [ebp + 0x18]
add ecx, dword [esp + 0x18]
push eax
pop eax
cmp dword [esp + 0x274], 0
je 0x10049fe9
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
push ecx
pop ecx
cmp esi, dword [esp + 0x24]
jge 0x1004a250
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.100f68f0
add esp, 0x14
push edx
pop edx
jmp 0x1004a04d
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 edx, edx
push ecx
push eax
push esi
lea edx, [esp + 0x134]
push edx
lea eax, [esp + 0x144]
push eax
call fcn.100f68f0
add esp, 0x14
mov edx, edx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x138]
push edx
lea ecx, [esp + 0x10c]
call fcn.100094b0
mov byte [esp + 0x240], 7
mov cl, cl
mov eax, dword [esp + 0xb4]
sub eax, dword [esp + 0xb8]
jne 0x1004a0a3
mov ecx, dword [esp + 0x114]
mov edx, dword [esp + 0x118]
push ecx
push edx
lea ecx, [esp + 0xac]
call fcn.1000bbd0
mov al, al
jmp 0x1004a14f
push 0x1015a45c
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0x94]
push ecx
call fcn.10023b20
add esp, 0xc
mov byte [esp + 0x240], 8
lea edx, [esp + 0x104]
cmp eax, edx
je 0x1004a0e2
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push ecx
push eax
mov ecx, edx
call fcn.1000bbd0
mov byte [esp + 0x240], 7
lea ecx, [esp + 0x8c]
call fcn.100067f0
push edx
pop edx
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x108]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.1002e2b0
add esp, 0xc
mov byte [esp + 0x240], 9
lea ecx, [esp + 0xa4]
cmp eax, ecx
je 0x1004a13c
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
push ecx
push eax
lea ecx, [esp + 0xac]
call fcn.1000bbd0
mov byte [esp + 0x240], 7
lea ecx, [esp + 0x74]
call fcn.100067f0
mov ah, ah
mov byte [esp + 0x240], 5
lea ecx, [esp + 0x104]
call fcn.100067f0
sub esi, 1
jns 0x10049f0b
mov edx, dword [esp + 0xe4]
sub edx, dword [esp + 0xe8]
je 0x1004a1d7
test edi, edi
jle 0x1004a1d7
movzx eax, word [ebp + 4]
movzx ecx, word [ebp]
movzx edx, word [ebp + 0x18]
add eax, ecx
cmp edx, eax
jl 0x1004a1d7
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.1002e2b0
add esp, 0xc
mov byte [esp + 0x240], 0xa
push eax
lea ecx, [esp + 0xc0]
call fcn.1001d840
mov byte [esp + 0x240], 5
lea ecx, [esp + 0x44]
call fcn.100067f0
mov eax, eax
mov byte [esp + 0x240], 4
lea ecx, [esp + 0xec]
call fcn.100067f0
sub edi, 1
sub ebp, 0x18
test edi, edi
jge 0x10049e87
mov eax, dword [esp + 0x30]
push eax
call fcn.100f4b3b
add esp, 4
xchg ebx, eax
xchg ebx, eax
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0xa4]
push ecx
mov ecx, esi
call fcn.10009530
mov dword [esp + 0x38], 1
mov byte [esp + 0x240], 3
lea ecx, [esp + 0xbc]
call fcn.100067f0
mov byte [esp + 0x240], 2
lea ecx, [esp + 0xd4]
call fcn.100067f0
jmp 0x10049d25
jmp fcn.100e3ae9
lea edx, [esp + 0xa4]
fstp st(0)
push edx
mov ecx, ebp
call fcn.10009530
mov dword [esp + 0x38], 1
mov byte [esp + 0x240], 0
lea ecx, [esp + 0xa4]
call fcn.100067f0
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.100f5016
add esp, 0x230
ret