Function at 0x417f80
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c56b
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4771ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x44], ebx
xor eax, eax
mov dword [ebp - 0x48], ebx
push eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], eax
call fcn.0041b550
lea esi, [ebx + 0x24]
mov dword [ebx], vtable.LunaHost.0
mov dword [ebx + 0x20], 0
mov ecx, esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00419c10
mov dword [esi], eax
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea eax, [ebx + 0x38]
push 2
push eax
call fcn.00435706
add esp, 8
push 0
push 0x19
lea ecx, [ebx + 4]
mov byte [ebp - 4], 3
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x9c], 0
mov byte [ebx + 0xa0], 0
call fcn.0041b990
push 0x28
call fcn.0044edad
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x418071
mov ecx, eax
call fcn.00409cd0
jmp 0x418073
xor eax, eax
mov dword [ebx + 0x90], eax
lea ecx, [ebp - 0x28]
push 0xc
xor eax, eax
mov byte [ebp - 4], 3
push str.LunaHost_Gui
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00416600
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebx + 4]
call fcn.0041ba00
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x4180ee
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4180e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4188fd
push edx
push ecx
call fcn.0044eddd
add esp, 8
push 0x90
call fcn.0044edad
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
xor eax, eax
mov byte [ebp - 4], 6
test esi, esi
je 0x41814c
push 8
push str.Settings
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00416600
push 0
push 0x64
push 0x64
mov eax, 1
mov byte [ebp - 4], 7
push 0x64
mov dword [ebp - 0x3c], eax
mov ecx, esi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push 0x64
push eax
push ebx
call fcn.00413830
mov dword [ebx + 0x80], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 3
test al, 1
je 0x41816e
and eax, 0xfffffffe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x3c], eax
call fcn.0040ac80
push 0x90
call fcn.0044edad
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
xor eax, eax
mov byte [ebp - 4], 9
test esi, esi
je 0x4181d3
push 0xe
push str.Select_Process
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00416600
mov eax, dword [ebp - 0x3c]
mov ecx, esi
push 0
push 0x28
push 0xc8
or eax, 2
mov byte [ebp - 4], 0xa
push 0xa
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push 0x33e
push eax
push ebx
call fcn.00413830
mov dword [ebx + 0x7c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 3
test al, 2
je 0x4181f2
and eax, 0xfffffffd
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x3c], eax
call fcn.0040ac80
push 0x90
call fcn.0044edad
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
xor eax, eax
mov byte [ebp - 4], 0xc
test esi, esi
je 0x418256
push eax
push 0x460a1c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00416600
mov eax, dword [ebp - 0x3c]
mov ecx, esi
push 0x80
push 0x28
push 0x258
or eax, 4
mov byte [ebp - 4], 0xd
push 0x3c
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push 0xa
push eax
push ebx
call fcn.00413c30
mov dword [ebx + 0x68], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 3
test al, 4
je 0x418275
and eax, 0xfffffffb
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x3c], eax
call fcn.0040ac80
push 0x90
call fcn.0044edad
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
xor eax, eax
mov byte [ebp - 4], 0xf
test esi, esi
je 0x4182da
push 7
push str.Plugins
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00416600
mov eax, dword [ebp - 0x3c]
mov ecx, esi
push 0
push 0x28
push 0xc8
or eax, 8
mov byte [ebp - 4], 0x10
push 0x3c
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push 0x33e
push eax
push ebx
call fcn.00413830
mov dword [ebx + 0x70], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 3
test al, 8
je 0x4182f9
and eax, 0xfffffff7
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x3c], eax
call fcn.0040ac80
push 0x58
call fcn.0044edad
add esp, 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0x12
test eax, eax
je 0x418318
push ebx
mov ecx, eax
call fcn.0041c7c0
jmp 0x41831a
xor eax, eax
mov dword [ebx + 0x8c], eax
lea ecx, [ebp - 0x38]
mov eax, dword [ebx + 0x70]
add eax, 0x68
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_class__lambda_054ad32d0be679ea5323f2f048b7487d___void___.0
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x14], ecx
call fcn.00417310
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x418357
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
push eax
call edx
push 0x90
call fcn.0044edad
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
xor eax, eax
mov byte [ebp - 4], 0x13
test esi, esi
je 0x4183bc
push 0xf
push str.Insert_UserHook
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00416600
mov eax, dword [ebp - 0x3c]
mov ecx, esi
push 0
push 0x28
push 0xc8
or eax, 0x10
mov byte [ebp - 4], 0x14
push 0x3c
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push 0x262
push eax
push ebx
call fcn.00413830
mov dword [ebx + 0x6c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 3
test al, 0x10
je 0x4183db
and eax, 0xffffffef
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x3c], eax
call fcn.0040ac80
mov eax, dword [ebx + 0x80]
lea ecx, [ebp - 0x38]
add eax, 0x68
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_class__lambda_1ae6412048cf501d06809369eacf6884___void___.0
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x14], ecx
call fcn.00417310
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x418411
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
push eax
call edx
mov eax, dword [ebx + 0x7c]
lea ecx, [ebp - 0x38]
add eax, 0x68
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_class__lambda_2e8334245d7f2bd27bd8d2738b3ec9de___void___.0
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x14], ecx
call fcn.00417310
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x418444
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
push eax
call edx
mov eax, dword [ebx + 0x6c]
lea ecx, [ebp - 0x38]
add eax, 0x68
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_class__lambda_57db55847150fbef179ec5c0e51043c2___void___.0
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x14], ecx
call fcn.00417310
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x418477
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
push eax
call edx
push 0x90
call fcn.0044edad
add esp, 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0x16
test eax, eax
je 0x4184a7
push 0xc8
push 0xc8
push 0x78
push 0xa
push ebx
mov ecx, eax
call fcn.00413a20
jmp 0x4184a9
xor eax, eax
mov dword [ebx + 0x74], eax
lea ecx, [ebp - 0x38]
add eax, 0x68
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_class__lambda_27993d44c92b2f38e612ebd384d613cd___void__int_.0
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x14], ecx
call fcn.00417310
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4184e0
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
push eax
call edx
mov eax, dword [ebx + 0x74]
lea ecx, [ebp - 0x38]
add eax, 0x18
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_class__lambda_3ce34d45b8426cf49726ea1329a45eb5___struct_HMENU______.0
push eax
mov dword [ebp - 0x14], ecx
call fcn.00417310
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x418510
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
push eax
call edx
mov eax, dword [ebx + 0x74]
lea ecx, [ebp - 0x38]
add eax, 0x40
mov dword [ebp - 0x38], vtable.std::_Func_impl_no_alloc_class__lambda_97e8b779c20cc1aa3c498abfd8d3cc30___void__unsigned_int_.0
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x14], ecx
call fcn.00417310
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x418543
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
push eax
call edx
push 0x90
call fcn.0044edad
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
mov byte [ebp - 4], 0x17
test esi, esi
je 0x4185b5
xor eax, eax
mov dword [ebp - 0x18], 0
push eax
push 0x460a1c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00416600
mov eax, dword [ebp - 0x3c]
mov ecx, esi
push 0x200044
push 0xc8
push 0xc8
or eax, 0x20
mov byte [ebp - 4], 0x18
push 0x14a
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push 0xa
push eax
push ebx
call fcn.00413c30
mov edi, eax
jmp 0x4185b7
xor edi, edi
mov eax, dword [ebp - 0x3c]
mov dword [ebx + 0x78], edi
mov dword [ebp - 4], 3
test al, 0x20
je 0x4185d3
lea ecx, [ebp - 0x28]
call fcn.0040ac80
mov edi, dword [ebx + 0x78]
mov esi, dword [ebx + 0x90]
lea ecx, [ebp - 0x28]
push 8
push str.ReadOnly
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040d1f0
push 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1a
push eax
mov ecx, esi
call fcn.00417bb0
push eax
mov ecx, edi
call fcn.004145b0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x41864b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418641
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418902
push edx
push ecx
call fcn.0044eddd
add esp, 8
mov esi, dword [ebx + 0x90]
lea ecx, [ebp - 0x28]
push 0xc
push str.filterrepeat
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040d1f0
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1b
push eax
mov ecx, esi
call fcn.00417bb0
mov edx, dword [ebp - 0x14]
mov byte [0x47ab00], al
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x4186c0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4186b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418907
push edx
push ecx
call fcn.0044eddd
add esp, 8
mov esi, dword [ebx + 0x90]
lea ecx, [ebp - 0x28]
push 0xb
push str.ToClipboard
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040d1f0
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1c
push eax
mov ecx, esi
call fcn.00417bb0
mov edx, dword [ebp - 0x14]
mov byte [ebx + 0xa0], al
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x418736
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41872c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41890c
push edx
push ecx
call fcn.0044eddd
add esp, 8
mov edi, dword [ebx + 0x90]
lea ecx, [ebp - 0x28]
mov esi, dword [0x477070]
push 0xa
push 0x465b2c
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040d1f0
push esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1d
push eax
mov ecx, edi
call fcn.00417a30
mov edx, dword [ebp - 0x14]
mov dword [0x477070], eax
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x4187b0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4187a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418911
push edx
push ecx
call fcn.0044eddd
add esp, 8
mov edi, dword [ebx + 0x90]
lea ecx, [ebp - 0x28]
mov esi, dword [0x477074]
push 8
push str.codepage
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040d1f0
push esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1e
push eax
mov ecx, edi
call fcn.00417a30
mov edx, dword [ebp - 0x14]
mov dword [0x477074], eax
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x41882a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418820
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418916
push edx
push ecx
call fcn.0044eddd
add esp, 8
mov al, byte [ebp - 0x18]
push 1
sub esp, 0x28
mov ecx, esp
sub esp, 0x28
mov dword [ecx], 0x465dbc
mov dword [ecx + 8], 0x41af50
mov dword [ecx + 0xc], 0
mov byte [ecx + 0x10], al
mov al, byte [ebp - 0x17]
mov byte [ecx + 0x11], al
mov al, byte [ebp - 0x18]
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x24], ecx
mov ecx, esp
sub esp, 0x28
mov dword [ecx], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8LunaHost__AEXAAVTextThread___ZPAV3_ABU___Ph__00_2__std__XAAVTextThread___std__.0
mov dword [ecx + 8], 0x41b2d0
mov dword [ecx + 0xc], 0
mov byte [ecx + 0x10], al
mov al, byte [ebp - 0x18]
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x24], ecx
mov ecx, esp
sub esp, 0x28
mov dword [ecx], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8LunaHost__AEXAAVTextThread___ZPAV3_ABU___Ph__00_2__std__XAAVTextThread___std__.0
mov dword [ecx + 8], 0x41b0d0
mov dword [ecx + 0xc], 0
mov byte [ecx + 0x10], al
mov eax, esp
mov dword [ecx + 0x14], ebx
sub esp, 0x28
mov dword [ecx + 0x24], ecx
mov ecx, esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_bb280babd3e7575bc7f07b9660ea5e33___void__unsigned_long_int_.0
mov dword [eax + 4], ebx
mov dword [eax + 0x24], eax
mov dword [ecx], vtable.std::_Func_impl_no_alloc_class__lambda_03dda3a83f826b63298acecd880152a0___void__unsigned_long_int_.0
mov dword [ecx + 4], ebx
mov dword [ecx + 0x24], ecx
call fcn.00430a30
add esp, 0xcc
mov ecx, ebx
push 0x258
push 0x3e8
call fcn.0041b8f0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044edeb
mov esp, ebp
pop ebp
ret
call fcn.004503b0
call fcn.004503b0
call fcn.004503b0
call fcn.004503b0
call fcn.004503b0
call fcn.004503b0
int3