Function at 0x1005d9b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1017afd6
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x101ce00c]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce00c]
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.1011b6dd
push eax
call fcn.1011a5ea
add esp, 8
mov dl, dl
push 0x3800
push ebp
push esi
call fcn.10118770
add esp, 0xc
test al, al
push 0x3e8
push 0x101d69e0
call fcn.10058cb0
add esp, 8
push edx
pop edx
mov edi, 1
add dword [0x101d69e4], edi
test edx, edx
push ebp
push 0x101d69e0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test al, al
mov ch, ch
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 ah, ah
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esi], eax
test esi, esi
mov dword [esi + 0x78], edi
mov ch, ch
mov dword [esi + 0x7c], ebp
mov dh, dh
mov eax, 0xa
mov dword [esi + 0x80], eax
test edx, edx
mov ecx, 5
mov dword [esi + 0x84], ecx
mov eax, eax
mov dword [esi + 0x3bc], edi
test eax, 0x386
mov dword [esi + 0x3c0], edi
mov edi, edi
mov dword [esi + 0x3c4], eax
mov edx, edx
mov dword [esi + 0x3c8], ecx
xchg ebx, eax
xchg ebx, eax
mov ecx, 0x1e
mov dword [esi + 0x2624], ecx
test ecx, ecx
mov dword [esi + 0x2628], eax
test dh, dh
mov dword [esi + 0x262c], 0x28
mov ebx, ebx
mov dword [esi + 0x2630], ecx
test edx, edx
mov dword [esi + 0x2634], eax
mov ebx, ebx
mov dword [esi + 0x2638], 0x32
test dl, dl
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov ch, ch
mov dword [esi + 0x48], eax
test dh, dh
mov dword [esi + 0x44], eax
push ecx
pop ecx
mov dword [esi + 0x32e8], 0xbb8
xchg ebx, eax
xchg ebx, eax
mov dword [esi + 0x32ec], 0x190
test al, al
mov dword [esi + 0x32f4], edi
test ah, ah
mov dword [esi + 0x3260], edi
mov dh, dh
mov dword [esi + 0x3264], 4
push ebx
pop ebx
mov dword [esi + 0x32fc], 0xff00ff
test ch, ch
lea ecx, [esi + 0x8c]
mov dword [esi + 0x220], ecx
test ch, ch
push 0x18
call fcn.10106ad0
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], ebp
cmp eax, ebp
je 0x1005db9c
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.10004150
jmp 0x1005db9e
xor eax, eax
mov dword [esp + 0x38], 0xffffffff
test bl, 1
mov dword [esi + 0x32d0], eax
je 0x1005dbb8
and ebx, 0xfffffffe
mov dword [esp + 0x14], ebx
push ecx
pop ecx
push 0x18
call fcn.10106ad0
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], edi
cmp eax, ebp
je 0x1005dbe5
lea ecx, [esp + 0x1b]
or ebx, 2
push ecx
mov ecx, eax
mov dword [esp + 0x18], ebx
call fcn.10004150
jmp 0x1005dbe7
xor eax, eax
or edi, 0xffffffff
mov dword [esp + 0x38], edi
test bl, 2
mov dword [esi + 0x263c], eax
je 0x1005dc00
and ebx, 0xfffffffd
mov dword [esp + 0x14], ebx
nop
push 0x18
call fcn.10106ad0
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 2
cmp eax, ebp
je 0x1005dc30
lea edx, [esp + 0x1b]
or ebx, 4
push edx
mov ecx, eax
mov dword [esp + 0x18], ebx
call fcn.10004150
jmp 0x1005dc32
xor eax, eax
mov dword [esp + 0x38], edi
test bl, 4
mov dword [esi + 0x2648], eax
je 0x1005dc48
and ebx, 0xfffffffb
mov dword [esp + 0x14], ebx
test eax, 0x4f1f
push 0xc
call fcn.10106ad0
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, 3
mov dword [esp + 0x38], ecx
cmp eax, ebp
je 0x1005dc7d
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 0x1005dc7f
xor eax, eax
mov dword [esp + 0x38], edi
test bl, 8
mov dword [esi + 0x261c], eax
je 0x1005dc95
and ebx, 0xfffffff7
mov dword [esp + 0x14], ebx
test al, al
push 0xc
call fcn.10106ad0
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 5
cmp eax, ebp
je 0x1005dcc7
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 0x1005dcc9
xor eax, eax
mov dword [esp + 0x38], edi
test bl, 0x10
mov dword [esi + 0x2620], eax
je 0x1005dcdf
and ebx, 0xffffffef
mov dword [esp + 0x14], ebx
mov dl, dl
push 0xc
call fcn.10106ad0
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, 7
mov dword [esp + 0x38], ecx
cmp eax, ebp
je 0x1005dd11
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 0x1005dd13
xor eax, eax
mov dword [esp + 0x38], edi
test bl, 0x20
mov dword [esi + 0x3280], eax
je 0x1005dd29
and ebx, 0xffffffdf
mov dword [esp + 0x14], ebx
mov ah, ah
push 0xc
call fcn.10106ad0
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, 9
mov dword [esp + 0x38], ecx
cmp eax, ebp
je 0x1005dd5b
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 0x1005dd5d
xor eax, eax
mov dword [esp + 0x38], edi
test bl, 0x40
mov dword [esi + 0x3284], eax
je 0x1005dd73
and ebx, 0xffffffbf
mov dword [esp + 0x14], ebx
push eax
pop eax
push 0xc
call fcn.10106ad0
add esp, 4
mov dword [esp + 0x1c], eax
mov ecx, 0xb
mov dword [esp + 0x38], ecx
cmp eax, ebp
je 0x1005dda8
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 0x1005ddaa
xor eax, eax
mov dword [esp + 0x38], edi
test bl, bl
mov dword [esi + 0x3300], eax
jns 0x1005ddc2
and ebx, 0xffffff7f
mov dword [esp + 0x14], ebx
mov dl, dl
push 0x18
call fcn.10106ad0
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 0xd
cmp eax, ebp
je 0x1005ddf6
lea ecx, [esp + 0x1b]
or ebx, 0x100
push ecx
mov ecx, eax
mov dword [esp + 0x18], ebx
call fcn.10004150
jmp 0x1005ddf8
xor eax, eax
mov dword [esp + 0x38], edi
test ebx, 0x100
mov dword [esi + 0x37e8], eax
je 0x1005de14
and ebx, 0xfffffeff
mov dword [esp + 0x14], ebx
test esi, esi
push 0x28
call fcn.10106ad0
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], 0xe
cmp eax, ebp
je 0x1005de48
lea edx, [esp + 0x1b]
or ebx, 0x200
push edx
mov ecx, eax
mov dword [esp + 0x18], ebx
call fcn.10031d10
jmp 0x1005de4a
xor eax, eax
mov dword [esp + 0x38], edi
test ebx, 0x200
mov dword [esi + 0x37ec], eax
je 0x1005de66
and ebx, 0xfffffdff
mov dword [esp + 0x14], ebx
mov eax, eax
mov dword [esi + 0x2640], 0x2710
mov bl, bl
mov dword [esi + 0x2644], 0x64
test edi, edi
call fcn.10016180
mov dword [esi + 0x3374], eax
test eax, eax
call fcn.10016180
mov dword [esi + 0x3370], eax
mov ebx, ebx
call fcn.1000cba0
cdq
mov ecx, 0x64
idiv ecx
mov ebx, ebx
lea eax, [edx - 1]
cmp eax, 0x1c
ja 0x1005dec9
push edx
push 0x101d6b7c
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x1005dec9
mov dword [esi + 0x3374], ebp
mov edi, edi
call fcn.1000cba0
cdq
mov ecx, 0x64
idiv ecx
test eax, 0x2d64
lea eax, [edx - 1]
cmp eax, 0x1c
ja 0x1005defb
push edx
push 0x101d6b80
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x1005defb
mov dword [esi + 0x3370], ebp
mov eax, eax
call fcn.10016180
mov dword [esi + 0x336c], eax
test bh, bh
push 0x10181b8c
call fcn.100051d0
add esp, 4
mov edi, edi
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.101180ca
add esp, 0x28
ret