Function at 0x10004c3f
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10022c0f
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x1002d14c]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1002d14c]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x38], ebx
push 0x72
pop eax
push 0x53
mov word [esp + 0x108], ax
pop eax
push 0x74
mov word [esp + 0xfc], ax
pop eax
push 0x61
mov ebp, dword [esp + 0x15c]
mov word [esp + 0x102], ax
pop eax
push 0x66
and dword [esp + 0x20], 0
mov word [esp + 0x106], ax
pop eax
push 0x6f
mov word [esp + 0x100], ax
pop eax
mov word [esp + 0xfa], ax
push 0x5c
xor eax, eax
mov word [esp + 0x10e], ax
pop eax
push 0x65
mov word [esp + 0x10c], ax
pop eax
push 0x77
mov word [esp + 0x10a], ax
pop eax
push str.RSpeedupTab
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], ebp
mov word [esp + 0x104], ax
call fcn.1000202b
mov esi, eax
and dword [esp + 0x14c], 0
push 0x1002d118
lea ecx, [esp + 0x1c]
call fcn.10001fa1
xor eax, eax
inc eax
mov byte [esp + 0x14c], al
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.10004b06
push esi
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x164], 2
call fcn.10004ab1
add esp, 0x18
mov ecx, dword [esp + 0x44]
lea ecx, [ecx - 0x10]
call fcn.10001926
mov ecx, dword [esp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.10001926
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x14c], 6
lea ecx, [ecx - 0x10]
call fcn.10001926
xor esi, esi
xor ecx, ecx
mov edi, esi
inc ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], 0x104
push 0x73
pop eax
mov word [esp + 0xf2], ax
push 0x25
pop eax
mov word [esp + 0xf0], ax
xor eax, eax
add ebx, 0x4198
mov word [esp + 0xf4], ax
mov eax, dword [ebx]
mov dword [esp + 0x58], ebx
cmp dword [eax - 0xc], esi
jne 0x10004e64
push 0x1002d118
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
call fcn.10001fa1
push dword [esp + 0x50]
lea ecx, [esp + 0x18]
mov byte [esp + 0x150], 7
call fcn.100076f4
lea ecx, [esp + 0x50]
push ecx
push eax
lea eax, [esp + 0x5c]
push eax
push ebp
push dword [esp + 0x2c]
push 0x80000001
call dword [0x1004c4ac]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.100077fa
test esi, esi
mov esi, dword [esp + 0x14]
je 0x10004e35
xor eax, eax
lea edi, [eax + 1]
mov dword [esp + 0x18], edi
jmp 0x10004e52
push esi
lea eax, [esp + 0xf4]
push eax
push ebx
call fcn.10005ca7
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.100077fa
lea ecx, [esi - 0x10]
mov byte [esp + 0x14c], 6
call fcn.10001926
xor esi, esi
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0xc
jl 0x10004fd8
push 4
push esi
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
mov dword [esp + 0x20], esi
call fcn.1000761c
push 2
pop ebp
push ebp
push 4
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
mov byte [esp + 0x158], 8
mov dword [esp + 0x2c], esi
call fcn.1000761c
push ebp
push 6
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
mov byte [esp + 0x158], 9
mov dword [esp + 0x34], esi
call fcn.1000761c
push ebp
push 8
lea eax, [esp + 0x44]
push eax
mov ecx, ebx
mov byte [esp + 0x158], 0xa
mov dword [esp + 0x48], esi
call fcn.1000761c
push ebp
push 0xa
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
mov byte [esp + 0x158], 0xb
mov dword [esp + 0x38], esi
call fcn.1000761c
push 0xffffffffffffffff
push esi
mov esi, dword [esp + 0x34]
push esi
mov byte [esp + 0x158], 0xc
call dword [0x1004c4a8]
mov edi, dword [esp + 0x44]
push eax
push edi
call dword [0x1004c4a8]
mov ebx, dword [esp + 0x34]
push eax
push ebx
call dword [0x1004c4a8]
mov ebp, dword [esp + 0x30]
push eax
push ebp
call dword [0x1004c4a8]
push eax
push dword [esp + 0x2c]
call dword [0x1004c4a8]
push eax
lea ecx, [esp + 0x64]
call fcn.10004407
push 0
call fcn.1001105d
pop ecx
mov dword [esp + 0x20], eax
xor eax, eax
push eax
push dword [esp + 0x158]
mov dword [esp + 0x30], edx
push eax
push eax
lea ecx, [esp + 0x4c]
call fcn.100044ed
mov ecx, dword [esp + 0x20]
sub ecx, dword [eax]
push dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
sbb edx, dword [eax + 4]
push dword [esp + 0x4c]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], edx
call fcn.10004b5e
mov ecx, dword [esp + 0x18]
test al, al
push 1
pop eax
cmovne ecx, eax
mov dword [esp + 0x18], ecx
lea ecx, [esi - 0x10]
call fcn.10001926
lea ecx, [edi - 0x10]
call fcn.10001926
lea ecx, [ebx - 0x10]
call fcn.10001926
lea ecx, [ebp - 0x10]
call fcn.10001926
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x14c], 6
lea ecx, [ecx - 0x10]
call fcn.10001926
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x18]
test edi, edi
je 0x10005277
xor eax, eax
inc eax
push 0
mov dword [esp + 0x58], eax
call fcn.1001105d
and dword [esp + 0x18], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
mov dword [esp], 0x1002d118
call fcn.10001fa1
push 0x2e
pop ebp
push 0x25
pop eax
push 0x64
pop esi
push 0x32
pop edx
push 0x34
pop ecx
mov word [esp + 0x120], ax
mov word [esp + 0x12a], ax
mov word [esp + 0x134], ax
mov word [esp + 0x116], ax
xor eax, eax
push 0x25
mov word [esp + 0x142], ax
pop eax
mov word [esp + 0x10c], ax
lea eax, [esp + 0xa8]
mov word [esp + 0x112], cx
mov word [esp + 0x10e], cx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x150], 0xd
mov word [esp + 0x132], bp
mov word [esp + 0x118], si
mov word [esp + 0x134], dx
mov word [esp + 0x130], dx
mov word [esp + 0x126], dx
mov word [esp + 0x11c], dx
mov word [esp + 0x136], si
mov word [esp + 0x11e], bp
mov word [esp + 0x13a], dx
mov word [esp + 0x13e], dx
mov word [esp + 0x120], dx
mov word [esp + 0x114], bp
mov word [esp + 0x128], bp
mov word [esp + 0x140], si
mov word [esp + 0x12a], dx
mov word [esp + 0x12c], si
mov word [esp + 0x122], si
mov word [esp + 0x13c], bp
call fcn.10006b19
test eax, eax
je 0x10005115
mov ebp, dword [eax + 4]
mov dword [esp + 0x20], ebp
jmp 0x1000511a
or dword [esp + 0x20], 0xffffffff
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x5c]
call fcn.10006b19
test eax, eax
je 0x10005134
mov ebp, dword [eax + 8]
jmp 0x10005137
or ebp, 0xffffffff
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0x5c]
call fcn.10006b19
test eax, eax
je 0x10005151
mov esi, dword [eax + 0xc]
jmp 0x10005153
xor esi, esi
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x5c]
call fcn.10006b19
test eax, eax
je 0x1000516b
mov eax, dword [eax + 0x10]
inc eax
jmp 0x1000516d
xor eax, eax
push dword [esp + 0x20]
lea ecx, [esp + 0x5c]
push ebp
push esi
push eax
call fcn.10006d0a
push eax
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.10005ca7
mov esi, dword [esp + 0x30]
push esi
lea eax, [esp + 0x110]
push eax
push ebx
call fcn.10005ca7
mov eax, dword [esi - 0xc]
mov ebx, dword [esp + 0x5c]
add esp, 0x28
add eax, eax
push eax
push esi
push dword [esp + 0x5c]
mov ebp, 0x80000001
push ebx
push dword [esp + 0x2c]
push ebp
call dword [0x1004c4b0]
test eax, eax
je 0x10005206
mov eax, dword [esp + 0x38]
add eax, 0x4180
cmp dword [eax + 0x14], 8
jb 0x100051db
mov eax, dword [eax]
push 0
push 0x80
push 2
xor ecx, ecx
push 0
inc ecx
push ecx
push 0x40000000
push eax
call fcn.1000bbe2
add esp, 0x1c
cmp eax, 0xffffffff
je 0x10005264
push eax
call fcn.1000ba3d
pop ecx
jmp 0x10005264
and dword [esp + 0x18], 0
push 0x1002d118
lea ecx, [esp + 0x1c]
call fcn.10001fa1
push dword [esp + 0x50]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 0xe
call fcn.100076f4
lea ecx, [esp + 0x50]
push ecx
push eax
lea eax, [esp + 0x5c]
push eax
push ebx
push dword [esp + 0x2c]
push ebp
call dword [0x1004c4ac]
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.100077fa
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x14c], 0xd
lea ecx, [ecx - 0x10]
call fcn.10001926
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.100077fa
lea ecx, [esi - 0x10]
call fcn.10001926
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.10001926
mov eax, edi
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.1000eb1d
add esp, 0x13c
ret 8