Function at 0x10027270
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10057d6d
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x10069018]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10069018]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x27c]
mov esi, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], ebp
xor ebx, ebx
mov dword [esp + 0x26c], ebx
mov eax, dword [0x12429ac4]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
push 0x103
mov dword [esi + 0x49d8], eax
mov edi, dword [eax + 0x2c]
lea edx, [esp + 0x99]
push ebx
push edx
mov dword [esp + 0x30], edi
mov byte [esp + 0xa0], bl
call fcn.10057226
add esp, 0xc
lea ecx, [esp + 0x20]
call dword [0x1005d430]
lea ecx, [esp + 0x14]
call dword [0x1005d4d4]
mov byte [esp + 0x26c], 2
mov dword [ebp], ebx
xor ebp, ebp
cmp edi, ebx
jle 0x100275c1
mov eax, dword [esi + 0x49d8]
mov ecx, dword [eax + 0x58]
mov eax, dword [ecx + ebp*4]
movzx edx, byte [eax + 0xa0]
cmp edx, dword [esp + 0x278]
jne 0x100275b8
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x30]
push ecx
lea ebx, [esp + 0x2c]
call fcn.10029600
test eax, eax
je 0x100275b8
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0x30]
mov byte [esp + eax + 0x94], cl
inc eax
test cl, cl
jne 0x10027360
mov edx, dword [esi + 0x49d8]
mov eax, dword [edx + 0x58]
mov ecx, dword [eax + ebp*4]
cmp byte [ecx + 0xac], 0
je 0x10027503
lea ecx, [esp + 0x18]
call dword [0x1005d430]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x1c]
push 0x1005fd70
push eax
mov byte [esp + 0x278], 3
call dword [0x1005d3d4]
mov ecx, dword [esi + 0x49d8]
mov edx, dword [ecx + 0x58]
mov eax, dword [edx + ebp*4]
mov eax, dword [eax + 0xa4]
add esp, 0xc
sub eax, 0
je 0x10027468
sub eax, 1
je 0x10027451
sub eax, 1
jne 0x100274ed
push eax
push 0x100608a8
lea ecx, [esp + 0x20]
call dword [0x1005d3c8]
test eax, eax
jne 0x10027405
mov cl, byte [esp + eax + 0x30]
mov byte [esp + eax + 0x94], cl
inc eax
test cl, cl
jne 0x100273f0
jmp 0x100274ed
mov ax, word [0x100608b0]
mov edx, dword [0x100608ac]
mov ecx, dword [0x100608a8]
mov word [esp + 0x9c], ax
lea eax, [esp + 0x30]
mov dword [esp + 0x98], edx
mov dword [esp + 0x94], ecx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10027433
lea edi, [esp + 0x94]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10027444
jmp 0x100274d9
xor eax, eax
mov cl, byte [esp + eax + 0x30]
mov byte [esp + eax + 0x94], cl
inc eax
test cl, cl
jne 0x10027453
jmp 0x100274ed
push 0
push 0x1006089c
lea ecx, [esp + 0x20]
call dword [0x1005d3c8]
test eax, eax
jne 0x10027492
lea ecx, [ecx]
mov cl, byte [esp + eax + 0x30]
mov byte [esp + eax + 0x94], cl
inc eax
test cl, cl
jne 0x10027480
jmp 0x100274ed
mov ax, word [0x100608a4]
mov edx, dword [0x100608a0]
mov ecx, dword [0x1006089c]
mov word [esp + 0x9c], ax
lea eax, [esp + 0x30]
mov dword [esp + 0x98], edx
mov dword [esp + 0x94], ecx
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100274c0
lea edi, [esp + 0x94]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100274d1
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x26c], 2
call dword [0x1005d440]
mov edi, dword [esp + 0x24]
mov ecx, dword [esi + 0x49d8]
mov edx, dword [ecx + 0x58]
mov eax, dword [edx + ebp*4]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x1002751a
xor bl, bl
jmp 0x10027530
cmp byte [eax], 0x2b
je 0x10027523
xor bl, bl
jmp 0x10027530
inc eax
push eax
call dword [0x1005d138]
add esp, 4
mov bl, al
lea eax, [esp + 0x94]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10027540
push 0x64
sub eax, edx
lea ecx, [esp + 0x19c]
push ecx
inc eax
push eax
lea edx, [esp + 0xa0]
push edx
push 0
push 0
call dword [0x1005d090]
lea eax, [esp + 0x198]
push eax
test bl, bl
je 0x1002758c
movzx ecx, bl
push ecx
lea edx, [esp + 0x1c]
push 0x100608b4
push edx
call dword [0x1005d488]
add esp, 0x10
jmp 0x1002759f
lea ecx, [esp + 0x18]
push 0x1006088c
push ecx
call dword [0x1005d488]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x274]
push edx
push eax
call fcn.100196e0
add esp, 8
test eax, eax
je 0x1002760e
inc ebp
cmp ebp, edi
jl 0x10027322
lea ecx, [esp + 0x14]
call dword [0x1005d4d0]
lea ecx, [esp + 0x20]
call dword [0x1005d440]
lea ecx, [esp + 0x274]
call dword [0x1005d4d0]
xor eax, eax
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.1005680c
add esp, 0x25c
ret 0xc
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [edx], ecx
lea ecx, [esp + 0x14]
call dword [0x1005d4d0]
lea ecx, [esp + 0x20]
call dword [0x1005d440]
lea ecx, [esp + 0x274]
call dword [0x1005d4d0]
mov eax, 1
jmp 0x100275e4