Function at 0x120241f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x12088b1c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
mov ecx, dword [esp + 0x184]
mov eax, dword [esp + 0x188]
push ebx
push ebp
push esi
push edi
xor edi, edi
or ebx, 0xffffffff
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], edi
mov dword [eax], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], edi
call fcn.120739d8
lea ecx, [esp + 0x18]
mov dword [esp + 0x188], 1
call fcn.12073ef8
mov eax, dword [0x120ba32c]
mov ebp, dword [esp + 0x18]
cmp eax, edi
jle 0x120243a5
lea edx, [edi*4 + 0x120b9384]
lea ecx, [esp + 0x10]
push edx
call fcn.120736df
lea eax, [edi*4 + 0x120b9b58]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x18c], 2
call fcn.120736df
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x188], 3
cmp byte [ecx + 1], 0x5f
je 0x12024375
mov edx, dword [esp + 0x10]
cmp byte [edx], 0x23
jne 0x1202430e
lea eax, [esp + 0x28]
push 1
push eax
lea ecx, [esp + 0x18]
call fcn.1206beec
mov esi, dword [esp + 0x28]
mov byte [esp + 0x188], 4
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x120242ee
test cl, cl
je 0x120242ea
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x120242ee
add eax, 2
add esi, 2
test cl, cl
jne 0x120242ca
xor eax, eax
jmp 0x120242f3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1202448d
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], 3
call fcn.1207396a
jmp 0x12024375
lea ecx, [esp + 0x30]
call fcn.1202b570
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x18c], 5
call fcn.1202b5f0
push ebp
lea ecx, [esp + 0x34]
call fcn.1202c350
cmp eax, 0xffffffff
je 0x12024364
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x12024350
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x12024350
sub ecx, edx
jmp 0x12024352
xor ecx, ecx
cmp ecx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ecx
jle 0x12024364
mov ebx, ecx
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x30]
mov byte [esp + 0x188], 3
call fcn.1202b5d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], 2
call fcn.1207396a
lea ecx, [esp + 0x10]
mov byte [esp + 0x188], 1
call fcn.1207396a
mov eax, dword [0x120ba32c]
inc edi
cmp edi, eax
jl 0x12024263
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x11d]
mov byte [esp + 0x11c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0xb9]
mov byte [esp + 0xb8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
test ebx, ebx
stosb byte es:[edi], al
jl 0x1202440f
mov edx, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
inc edx
lea eax, [esp + 0x11c]
push edx
push ebp
push eax
call esi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
add ebp, ecx
push 0x64
add ebp, edx
lea edx, [esp + 0xbc]
push ebp
push edx
call esi
mov edx, dword [esp + 0x194]
lea eax, [esp + 0xb8]
lea ecx, [esp + 0x11c]
push eax
push ecx
push edx
call fcn.12024020
mov ecx, dword [esp + 0x1a4]
add esp, 0xc
test ebx, ebx
mov dword [ecx], eax
jl 0x120244df
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
lea eax, [edx*4 + 0x120b9b58]
push eax
call fcn.120736df
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x190]
push ecx
push esi
mov byte [esp + 0x190], 6
call fcn.12023f40
add esp, 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], 1
mov byte [esp + 0x188], 1
call fcn.1207396a
jmp 0x120244fa
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x190]
push ecx
push esi
call fcn.12023f40
add esp, 8
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], 3
call fcn.1207396a
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], 2
call fcn.1207396a
lea ecx, [esp + 0x10]
mov byte [esp + 0x188], 1
call fcn.1207396a
jmp 0x120244fa
mov esi, dword [esp + 0x190]
push 0x120b7bd0
mov ecx, esi
call fcn.120739d8
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x188], 0
call fcn.1207396a
mov ecx, dword [esp + 0x180]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x17c
ret