Function at 0x10064130
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x101913b6
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e5aec]
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.101319cd
push eax
call fcn.101308da
add esp, 8
cmp dword [0x101d0890], 0x9c
push 0x3810
push ebp
push esi
call fcn.1012ea60
add esp, 0xc
cmp dword [0x101d089c], 0xffff92cc
push 0x3e8
push 0x102ee4c8
call fcn.1005ed90
add esp, 8
cmp dword [0x101d0894], 0xffffe953
mov edi, 1
add dword [0x102ee4cc], edi
cmp dword [0x101d0898], 0x5cf2
push ebp
push 0x102ee4c8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x101d089c], 0x6d33
nop
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
cmp dword [0x101d0884], 0xffffc29c
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esi], eax
cmp dword [0x101d08a8], 0x389b
mov dword [esi + 0x80], edi
mov bl, bl
mov dword [esi + 0x84], ebp
mov edi, edi
mov eax, 0xa
mov dword [esi + 0x88], eax
cmp dword [0x101d0884], 0xffffc29c
mov ecx, 5
mov dword [esi + 0x8c], ecx
cmp dword [0x101d08a4], 0x755
mov dword [esi + 0x3c4], edi
cmp dword [0x101d08a4], 0x755
mov dword [esi + 0x3c8], edi
cmp dword [0x101d0898], 0xffffa30d
mov dword [esi + 0x3cc], eax
cmp dword [0x101d089c], 0x6d33
mov dword [esi + 0x3d0], ecx
mov bh, bh
mov ecx, 0x1e
mov dword [esi + 0x262c], ecx
cmp dword [0x101d08a0], 0x5de7
mov dword [esi + 0x2630], eax
cmp dword [0x101d089c], 0xffff92cc
mov dword [esi + 0x2634], 0x28
cmp dword [0x101d08a8], 0xffffc764
mov dword [esi + 0x2638], ecx
push edx
pop edx
mov dword [esi + 0x263c], eax
cmp dword [0x101d08a8], 0x389b
mov dword [esi + 0x2640], 0x32
cmp dword [0x101d08a0], 0xffffa218
or eax, 0xffffffff
mov dword [esi + 0x44], eax
push ebx
pop ebx
mov dword [esi + 0x4c], eax
mov ebx, ebx
mov dword [esi + 0x48], eax
cmp dword [0x101d089c], 0x6d33
mov dword [esi + 0x32f0], 0xbb8
cmp dword [0x101d08a4], 0x755
mov dword [esi + 0x32f4], 0x190
cmp dword [0x101d08a0], 0xffffa218
mov dword [esi + 0x32fc], edi
mov dl, dl
mov dword [esi + 0x3268], edi
mov dl, dl
mov dword [esi + 0x326c], 4
mov dh, dh
mov dword [esi + 0x3304], 0xff00ff
mov dh, dh
lea ecx, [esi + 0x94]
mov dword [esi + 0x228], ecx
mov al, al
push 0x18
call fcn.1011cdc0
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], ebp
cmp eax, ebp
je 0x100643be
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.10004820
jmp 0x100643c0
xor eax, eax
mov dword [esp + 0x38], 0xffffffff
test bl, 1
mov dword [esi + 0x32d8], eax
je 0x100643da
and ebx, 0xfffffffe
mov dword [esp + 0x14], ebx
mov al, al
push 0x18
call fcn.1011cdc0
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], edi
cmp eax, ebp
je 0x10064407
lea ecx, [esp + 0x1b]
or ebx, 2
push ecx
mov ecx, eax
mov dword [esp + 0x18], ebx
call fcn.10004820
jmp 0x10064409
xor eax, eax
or edi, 0xffffffff
mov dword [esp + 0x38], edi
test bl, 2
mov dword [esi + 0x2644], eax
je 0x10064422
and ebx, 0xfffffffd
mov dword [esp + 0x14], ebx
cmp dword [0x101d088c], 0x6537
push 0x18
call fcn.1011cdc0
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 2
cmp eax, ebp
je 0x1006445b
lea edx, [esp + 0x1b]
or ebx, 4
push edx
mov ecx, eax
mov dword [esp + 0x18], ebx
call fcn.10004820
jmp 0x1006445d
xor eax, eax
mov dword [esp + 0x38], edi
test bl, 4
mov dword [esi + 0x2650], eax
je 0x10064473
and ebx, 0xfffffffb
mov dword [esp + 0x14], ebx
cmp dword [0x101d08a8], 0x389b
push 0xc
call fcn.1011cdc0
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, 3
mov dword [esp + 0x38], ecx
cmp eax, ebp
je 0x100644ad
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 0x100644af
xor eax, eax
mov dword [esp + 0x38], edi
test bl, 8
mov dword [esi + 0x2624], eax
je 0x100644c5
and ebx, 0xfffffff7
mov dword [esp + 0x14], ebx
cmp dword [0x101d08a4], 0x755
push 0xc
call fcn.1011cdc0
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 5
cmp eax, ebp
je 0x100644ff
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 0x10064501
xor eax, eax
mov dword [esp + 0x38], edi
test bl, 0x10
mov dword [esi + 0x2628], eax
je 0x10064517
and ebx, 0xffffffef
mov dword [esp + 0x14], ebx
cmp dword [0x101d08a4], 0x755
push 0xc
call fcn.1011cdc0
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, 7
mov dword [esp + 0x38], ecx
cmp eax, ebp
je 0x10064551
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 0x10064553
xor eax, eax
mov dword [esp + 0x38], edi
test bl, 0x20
mov dword [esi + 0x3288], eax
je 0x10064569
and ebx, 0xffffffdf
mov dword [esp + 0x14], ebx
cmp dword [0x101d0890], 0x9c
push 0xc
call fcn.1011cdc0
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, 9
mov dword [esp + 0x38], ecx
cmp eax, ebp
je 0x100645a3
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 0x100645a5
xor eax, eax
mov dword [esp + 0x38], edi
test bl, 0x40
mov dword [esi + 0x328c], eax
je 0x100645bb
and ebx, 0xffffffbf
mov dword [esp + 0x14], ebx
cmp dword [0x101d0884], 0xffffc29c
push 0xc
call fcn.1011cdc0
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, 0xb
mov dword [esp + 0x38], ecx
cmp eax, ebp
je 0x100645f8
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 0x100645fa
xor eax, eax
mov dword [esp + 0x38], edi
test bl, bl
mov dword [esi + 0x3308], eax
jns 0x10064612
and ebx, 0xffffff7f
mov dword [esp + 0x14], ebx
cmp dword [0x101d0898], 0xffffa30d
push 0x18
call fcn.1011cdc0
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 0xd
cmp eax, ebp
je 0x1006464e
lea ecx, [esp + 0x1b]
or ebx, 0x100
push ecx
mov ecx, eax
mov dword [esp + 0x18], ebx
call fcn.10004820
jmp 0x10064650
xor eax, eax
mov dword [esp + 0x38], edi
test ebx, 0x100
mov dword [esi + 0x37f0], eax
je 0x1006466c
and ebx, 0xfffffeff
mov dword [esp + 0x14], ebx
push ecx
pop ecx
push 0x28
call fcn.1011cdc0
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 0xe
cmp eax, ebp
je 0x100646a0
lea edx, [esp + 0x1b]
or ebx, 0x200
push edx
mov ecx, eax
mov dword [esp + 0x18], ebx
call fcn.10034320
jmp 0x100646a2
xor eax, eax
mov dword [esp + 0x38], edi
test ebx, 0x200
mov dword [esi + 0x37f4], eax
je 0x100646be
and ebx, 0xfffffdff
mov dword [esp + 0x14], ebx
mov edx, edx
mov dword [esi + 0x2648], 0x2710
cmp dword [0x101d088c], 0xffff9ac8
mov dword [esi + 0x264c], 0x64
cmp dword [0x101d088c], 0xffff9ac8
call fcn.10016920
mov dword [esi + 0x337c], eax
cmp dword [0x101d088c], 0x6537
call fcn.10016920
mov dword [esi + 0x3378], eax
cmp dword [0x101d0888], 0xffffba2c
call fcn.1000dec0
cdq
mov ecx, 0x64
idiv ecx
cmp dword [0x101d0894], 0xffffe953
lea eax, [edx - 1]
cmp eax, 0x1c
ja 0x10064749
push edx
push 0x102ee664
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x10064749
mov dword [esi + 0x337c], ebp
mov eax, eax
call fcn.1000dec0
cdq
mov ecx, 0x64
idiv ecx
cmp dword [0x101d0894], 0xffffe953
lea eax, [edx - 1]
cmp eax, 0x1c
ja 0x10064780
push edx
push 0x102ee668
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x10064780
mov dword [esi + 0x3378], ebp
push edx
pop edx
call fcn.10016920
mov dword [esi + 0x3374], eax
mov bl, bl
push 0x10198bb4
call fcn.10005850
add esp, 4
mov eax, eax
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.1012e3ba
add esp, 0x28
ret