Function at 0x1002ce10
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100e9f66
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10132f1c]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10132f1c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
xor ebp, ebp
xor ebx, ebx
push ebp
mov dword [esp + 0x18], ebx
call fcn.100ad82d
push eax
call fcn.100acb2a
add esp, 8
mov edx, edx
push 0x3810
push ebp
push esi
call fcn.100aacb0
add esp, 0xc
mov esi, esi
push 0x3e8
push 0x1023b878
call fcn.100298c0
add esp, 8
push eax
pop eax
mov edi, 1
add dword [0x1023b87c], edi
push ebx
pop ebx
push ebp
push 0x1023b878
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ah, ah
mov dh, dh
mov al, 0x6c
mov byte [esp + 0x20], 0x75
mov byte [esp + 0x21], 0x73
mov byte [esp + 0x22], 0x65
mov byte [esp + 0x23], 0x72
mov byte [esp + 0x24], 0x33
mov byte [esp + 0x25], 0x32
mov byte [esp + 0x26], 0x2e
mov byte [esp + 0x27], 0x64
mov byte [esp + 0x28], al
mov byte [esp + 0x29], al
mov byte [esp + 0x2a], bl
mov bh, bh
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esi], eax
mov ebp, ebp
mov dword [esi + 0x80], edi
mov ebx, ebx
mov dword [esi + 0x84], ebp
mov ch, ch
mov eax, 0xa
mov dword [esi + 0x88], eax
mov dh, dh
mov ecx, 5
mov dword [esi + 0x8c], ecx
mov eax, eax
mov dword [esi + 0x3c4], edi
mov ecx, ecx
mov dword [esi + 0x3c8], edi
mov bl, bl
mov dword [esi + 0x3cc], eax
mov eax, eax
mov dword [esi + 0x3d0], ecx
mov dh, dh
mov dword [esi + 0x25f8], edi
mov ebx, ebx
mov ecx, 0x1e
mov dword [esi + 0x262c], ecx
push ecx
pop ecx
mov dword [esi + 0x2630], eax
mov ebx, ebx
mov dword [esi + 0x2634], 0x28
nop
mov dword [esi + 0x2638], ecx
mov dh, dh
mov dword [esi + 0x263c], eax
mov ecx, ecx
mov dword [esi + 0x2640], 0x32
mov dh, dh
or eax, 0xffffffff
mov dword [esi + 0x44], eax
xchg ebx, eax
xchg ebx, eax
mov dword [esi + 0x4c], eax
nop
mov dword [esi + 0x48], eax
mov edi, edi
mov dword [esi + 0x32f0], 0xbb8
mov al, al
mov dword [esi + 0x32f4], 0x190
mov edi, edi
mov dword [esi + 0x32fc], edi
mov cl, cl
mov dword [esi + 0x3268], edi
mov dh, dh
mov dword [esi + 0x326c], 4
mov al, al
mov dword [esi + 0x3304], 0xff00ff
push ecx
pop ecx
lea ecx, [esi + 0x94]
mov dword [esi + 0x228], ecx
push edx
pop edx
push 0x18
call fcn.1009c350
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], ebp
cmp eax, ebp
je 0x1002d005
mov ebx, edi
mov dword [esp + 0x14], ebx
lea edx, [esp + 0x1b]
or ebx, ebp
push edx
mov ecx, eax
mov dword [esp + 0x18], ebx
call fcn.100045b0
jmp 0x1002d007
xor eax, eax
mov dword [esp + 0x38], 0xffffffff
test bl, 1
mov dword [esi + 0x32d8], eax
je 0x1002d021
and ebx, 0xfffffffe
mov dword [esp + 0x14], ebx
mov eax, eax
push 0x18
call fcn.1009c350
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], edi
cmp eax, ebp
je 0x1002d04e
lea ecx, [esp + 0x1b]
or ebx, 2
push ecx
mov ecx, eax
mov dword [esp + 0x18], ebx
call fcn.100045b0
jmp 0x1002d050
xor eax, eax
or edi, 0xffffffff
mov dword [esp + 0x38], edi
test bl, 2
mov dword [esi + 0x2644], eax
je 0x1002d069
and ebx, 0xfffffffd
mov dword [esp + 0x14], ebx
mov edi, edi
push 0x18
call fcn.1009c350
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 2
cmp eax, ebp
je 0x1002d09a
lea edx, [esp + 0x1b]
or ebx, 4
push edx
mov ecx, eax
mov dword [esp + 0x18], ebx
call fcn.100045b0
jmp 0x1002d09c
xor eax, eax
mov dword [esp + 0x38], edi
test bl, 4
mov dword [esi + 0x2650], eax
je 0x1002d0b2
and ebx, 0xfffffffb
mov dword [esp + 0x14], ebx
mov cl, cl
push 0xc
call fcn.1009c350
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, 3
mov dword [esp + 0x38], ecx
cmp eax, ebp
je 0x1002d0e4
or ebx, 8
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [esp + 0x14], ebx
mov dword [eax + 8], ebp
mov byte [esp + 0x38], cl
jmp 0x1002d0e6
xor eax, eax
mov dword [esp + 0x38], edi
test bl, 8
mov dword [esi + 0x2624], eax
je 0x1002d0fc
and ebx, 0xfffffff7
mov dword [esp + 0x14], ebx
xchg ebx, eax
xchg ebx, eax
push 0xc
call fcn.1009c350
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 5
cmp eax, ebp
je 0x1002d12e
or ebx, 0x10
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [esp + 0x14], ebx
mov dword [eax + 8], ebp
mov byte [esp + 0x38], 5
jmp 0x1002d130
xor eax, eax
mov dword [esp + 0x38], edi
test bl, 0x10
mov dword [esi + 0x2628], eax
je 0x1002d146
and ebx, 0xffffffef
mov dword [esp + 0x14], ebx
push ebx
pop ebx
push 0xc
call fcn.1009c350
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, 7
mov dword [esp + 0x38], ecx
cmp eax, ebp
je 0x1002d178
or ebx, 0x20
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [esp + 0x14], ebx
mov dword [eax + 8], ebp
mov byte [esp + 0x38], cl
jmp 0x1002d17a
xor eax, eax
mov dword [esp + 0x38], edi
test bl, 0x20
mov dword [esi + 0x3288], eax
je 0x1002d190
and ebx, 0xffffffdf
mov dword [esp + 0x14], ebx
mov ch, ch
push 0xc
call fcn.1009c350
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, 9
mov dword [esp + 0x38], ecx
cmp eax, ebp
je 0x1002d1c2
or ebx, 0x40
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [esp + 0x14], ebx
mov dword [eax + 8], ebp
mov byte [esp + 0x38], cl
jmp 0x1002d1c4
xor eax, eax
mov dword [esp + 0x38], edi
test bl, 0x40
mov dword [esi + 0x328c], eax
je 0x1002d1da
and ebx, 0xffffffbf
mov dword [esp + 0x14], ebx
push eax
pop eax
push 0xc
call fcn.1009c350
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, 0xb
mov dword [esp + 0x38], ecx
cmp eax, ebp
je 0x1002d20f
or ebx, 0x80
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [esp + 0x14], ebx
mov dword [eax + 8], ebp
mov byte [esp + 0x38], cl
jmp 0x1002d211
xor eax, eax
mov dword [esp + 0x38], edi
test bl, bl
mov dword [esi + 0x3308], eax
jns 0x1002d229
and ebx, 0xffffff7f
mov dword [esp + 0x14], ebx
mov ch, ch
push 0x18
call fcn.1009c350
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 0xd
cmp eax, ebp
je 0x1002d25d
lea ecx, [esp + 0x1b]
or ebx, 0x100
push ecx
mov ecx, eax
mov dword [esp + 0x18], ebx
call fcn.100045b0
jmp 0x1002d25f
xor eax, eax
mov dword [esp + 0x38], edi
test ebx, 0x100
mov dword [esi + 0x37f0], eax
je 0x1002d27b
and ebx, 0xfffffeff
mov dword [esp + 0x14], ebx
mov cl, cl
push 0x28
call fcn.1009c350
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 0xe
cmp eax, ebp
je 0x1002d2af
lea edx, [esp + 0x1b]
or ebx, 0x200
push edx
mov ecx, eax
mov dword [esp + 0x18], ebx
call fcn.1001de50
jmp 0x1002d2b1
xor eax, eax
mov dword [esp + 0x38], edi
test ebx, 0x200
mov dword [esi + 0x37f4], eax
je 0x1002d2cd
and ebx, 0xfffffdff
mov dword [esp + 0x14], ebx
mov ecx, ecx
mov dword [esi + 0x2648], 0x2710
mov bl, bl
mov dword [esi + 0x264c], 0x64
mov esi, esi
call fcn.10015060
mov dword [esi + 0x337c], eax
push ecx
pop ecx
call fcn.10015060
mov dword [esi + 0x3378], eax
mov cl, cl
call fcn.1000c8d0
cdq
mov ecx, 0x64
idiv ecx
mov edi, edi
lea eax, [edx - 1]
cmp eax, 0x1c
ja 0x1002d330
push edx
push 0x1023ba14
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x1002d330
mov dword [esi + 0x337c], ebp
mov ch, ch
call fcn.1000c8d0
cdq
mov ecx, 0x64
idiv ecx
push edx
pop edx
lea eax, [edx - 1]
cmp eax, 0x1c
ja 0x1002d35f
push edx
push 0x1023ba18
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x1002d35f
mov dword [esi + 0x3378], ebp
mov bh, bh
call fcn.10015060
mov dword [esi + 0x3374], eax
mov ah, ah
push 0x100eea2c
call fcn.100054a0
add esp, 4
mov ebx, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.100aa646
add esp, 0x28
ret