Function at 0x4192c0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ef511
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
xor ebx, ebx
push edi
mov esi, dword [ebp + 0xc70]
cmp esi, ebx
je 0x419300
mov ecx, esi
call fcn.0048f850
push esi
call fcn.004de3a6
add esp, 4
mov dword [ebp + 0xc70], ebx
mov dword [ebp + 0x1b0], ebx
push 0x20
mov dword [ebp + 0x1b4], ebx
call fcn.004de48f
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov dword [esp + 0x38], ebx
je 0x41932b
mov ecx, eax
call fcn.0048f830
jmp 0x41932d
xor eax, eax
mov esi, dword [ebp + 0x1b8]
mov dword [ebp + 0xc70], eax
mov eax, dword [0x50d0e0]
cmp esi, ebx
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x10], eax
je 0x41939f
mov ecx, esi
shr ecx, 0x10
jne 0x419367
and esi, 0xffff
lea ecx, [esp + 0x10]
push esi
call fcn.00407b60
jmp 0x41939f
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, ebx
je 0x41939f
push edi
lea ecx, [esp + 0x14]
call fcn.00402190
test eax, eax
je 0x41939f
lea ecx, [edi + edi]
lea edx, [edi + edi + 2]
cmp edx, ecx
jb 0x41939f
mov edi, dword [esp + 0x10]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push 0x2f
push ecx
mov dword [esp + 0x40], 1
call fcn.004dec29
add esp, 8
cmp eax, ebx
jne 0x4193bf
or esi, 0xffffffff
jmp 0x4193c7
sub eax, dword [esp + 0x10]
sar eax, 1
mov esi, eax
mov eax, dword [ebp + 0x1b8]
cmp eax, ebx
je 0x4193e0
push eax
call fcn.004de3a6
add esp, 4
mov dword [ebp + 0x1b8], ebx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
sub eax, esi
dec eax
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004071a0
push ebx
push 0x50ff24
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 2
call fcn.00414af0
cmp eax, ebx
jle 0x4194eb
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00407030
mov eax, dword [esp + 0x14]
mov byte [esp + 0x38], 3
cmp dword [eax - 8], ebx
je 0x419469
cmp dword [eax - 0xc], ebx
jl 0x419442
lea ecx, [esp + 0x14]
call fcn.00402350
jmp 0x419469
mov edx, 0x5209fc
test edx, edx
jne 0x41944f
xor eax, eax
jmp 0x41945a
push 0x5209fc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x5209fc
push eax
lea ecx, [esp + 0x1c]
call fcn.004021f0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
je 0x4194bb
cmp dword [ecx - 0xc], ebx
jge 0x419487
mov edx, dword [0x50d0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41948c
cmp dword [eax - 0xc], ebx
jge 0x41949c
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x1c]
call fcn.004021f0
jmp 0x4194b7
lea ecx, [esp + 0x14]
call fcn.00402350
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x24]
mov edx, dword [0x50d0e4]
lea ecx, [eax - 0xc]
cmp ecx, edx
mov byte [esp + 0x38], 2
je 0x4194eb
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4194eb
mov edx, dword [esp + 0x24]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 8]
lea ecx, [eax + eax + 2]
push ecx
call fcn.004de48f
mov edx, dword [esp + 0x18]
mov edi, eax
mov dword [ebp + 0x1b8], edi
add esp, 4
mov eax, dword [edx - 8]
lea ecx, [eax + 1]
cmp ecx, ebx
jbe 0x419520
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x1b8]
push eax
push ecx
call fcn.004df3e0
add esp, 8
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push 0x525780
push eax
call fcn.0040d460
mov eax, dword [ebp + 0xc80]
mov ecx, dword [esp + 0x18]
lea esi, [ebp + 0xc80]
cmp eax, ecx
mov byte [esp + 0x38], 4
je 0x41959d
cmp dword [eax - 0xc], ebx
jge 0x419573
mov edx, dword [0x50d0e4]
add eax, 0xfffffff4
cmp eax, edx
jne 0x419578
cmp dword [ecx - 0xc], ebx
jge 0x419586
push ecx
mov ecx, dword [ecx - 8]
push ecx
mov ecx, esi
call fcn.004021f0
jmp 0x41959d
mov ecx, esi
call fcn.00402350
mov eax, dword [esp + 0x18]
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, str.._mv
test edx, edx
jne 0x4195aa
xor eax, eax
jmp 0x4195b5
push str.._mv
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.._mv
push eax
lea ecx, [esp + 0x20]
call fcn.00407f00
mov ecx, dword [ebp + 0xc7c]
mov eax, dword [esp + 0x18]
lea esi, [ebp + 0xc7c]
cmp ecx, eax
je 0x419618
cmp dword [ecx - 0xc], ebx
jge 0x4195ea
mov edx, dword [0x50d0e4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4195ef
cmp dword [eax - 0xc], ebx
jge 0x4195fd
push eax
mov eax, dword [eax - 8]
push eax
mov ecx, esi
call fcn.004021f0
jmp 0x419614
mov ecx, esi
call fcn.00402350
mov eax, dword [esp + 0x18]
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
mov esi, dword [eax - 8]
lea edi, [eax - 0xc]
cmp ecx, 1
jg 0x41962b
cmp esi, dword [eax - 4]
jle 0x419669
push esi
lea ecx, [esp + 0x1c]
call fcn.00402190
test eax, eax
jne 0x41963d
xor ebx, ebx
jmp 0x41966b
lea ecx, [esi + esi + 2]
lea edx, [edi + 0xc]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esi + esi + 2]
push edx
push eax
push ecx
call fcn.00402060
mov edx, dword [esp + 0x28]
add esp, 0x10
push edi
mov dword [edx - 8], esi
call fcn.00408030
mov eax, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 0xc]
mov esi, dword [eax - 8]
lea edi, [eax - 0xc]
cmp ecx, 1
jg 0x419682
cmp esi, dword [eax - 4]
jle 0x4196c0
push esi
lea ecx, [esp + 0x14]
call fcn.00402190
test eax, eax
jne 0x419694
xor edi, edi
jmp 0x4196c2
lea eax, [esi + esi + 2]
lea ecx, [edi + 0xc]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esi + esi + 2]
push ecx
push edx
push eax
call fcn.00402060
mov ecx, dword [esp + 0x20]
add esp, 0x10
push edi
mov dword [ecx - 8], esi
call fcn.00408030
mov eax, dword [esp + 0x10]
xor edi, edi
mov ecx, dword [ebp + 0xc70]
push 0x419a40
push ebx
push eax
call fcn.0048f8d0
mov ebx, eax
cmp ebx, edi
jge 0x4197b2
mov esi, dword [ebp + 0xc70]
cmp esi, edi
je 0x4196fe
mov ecx, esi
call fcn.0048f850
push esi
call fcn.004de3a6
add esp, 4
mov dword [ebp + 0xc70], edi
mov eax, dword [esp + 0x18]
mov ecx, dword [0x50d0e4]
mov byte [esp + 0x38], 2
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x419732
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419732
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x38], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x419766
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x419766
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x50d0e4]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41979d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41979d
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004de3a6
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov eax, dword [ebp + 0xbc]
mov esi, 0x32
cmp eax, 0xb
je 0x4197fc
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 0xc70]
cmp ecx, edi
je 0x4197fc
cmp esi, 0x64
jne 0x4197ee
xor esi, esi
call fcn.0048fb90
cmp eax, edi
jg 0x419876
jl 0x419888
jmp 0x4197f3
push 0xa
inc esi
call ebx
cmp dword [ebp + 0xbc], 0xb
jne 0x4197c8
mov eax, dword [ebp + 0x1b8]
lea ecx, [esp + 0x10]
push eax
call fcn.00406e00
lea esi, [ebp + 0x190]
lea ecx, [ebp + 0xb4]
push esi
push ecx
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0040bd90
mov eax, dword [ebp + 0xb8]
mov ecx, ebp
push eax
call fcn.00413d80
push 0x40
mov dword [esp + 0x24], 1
call fcn.004de48f
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov byte [esp + 0x38], 5
je 0x4198eb
mov ecx, dword [ebp + 0x1b4]
mov edx, dword [ebp + 0x1b0]
push 0xffffffffffffffff
push ecx
push edx
push ebp
mov ecx, eax
call fcn.00425460
jmp 0x4198ed
cdq
mov dword [ebp + 0x1b0], eax
mov dword [ebp + 0x1b4], edx
jmp 0x4197fc
mov esi, dword [ebp + 0xc70]
cmp esi, edi
je 0x4198a8
mov ecx, esi
call fcn.0048f850
push esi
call fcn.004de3a6
add esp, 4
mov dword [ebp + 0xc70], edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.00402160
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call fcn.00402160
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00402160
or eax, 0xffffffff
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
xor eax, eax
push 0x1e8
mov byte [esp + 0x3c], 4
mov dword [ebp + 0x118], eax
call fcn.004de48f
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov byte [esp + 0x38], 6
je 0x41992e
lea ecx, [esp + 0x20]
lea edx, [ebp + 0x148]
push ecx
mov ecx, dword [ebp + 0x118]
push edx
push ecx
mov ecx, eax
call fcn.00425700
jmp 0x419930
xor eax, eax
mov dword [ebp + 0x11c], eax
mov edx, dword [eax + 0xc]
add eax, 0xc
mov byte [esp + 0x38], 4
push eax
call dword [edx + 4]
mov eax, dword [esi]
mov ecx, ebp
push eax
call fcn.00417520
mov eax, dword [ebp + 0x11c]
lea edx, [esp + 0x1c]
add eax, 0xc
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], edi
push edx
mov ecx, dword [eax]
push 0x4fca5c
push eax
call dword [ecx]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xf0]
cmp eax, edi
mov eax, dword [esp + 0x1c]
je 0x4199cd
cmp eax, edi
je 0x4199cd
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push str.Output
push eax
call dword [ecx + 0x2c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xf0]
push 0x50fef0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ebp, dword [ebp + 0xf0]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
push ecx
mov eax, dword [ebp]
push ebp
call dword [eax + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
cmp ecx, edi
je 0x4199e3
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], edi
cmp eax, edi
je 0x4199f1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1c], edi
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.00402160
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call fcn.00402160
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00402160
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret