Function at 0x41cb90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499394
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.0042f850
mov dword [ebp - 4], 0
mov dword [ebx + 0x30], vtable.CoreEventsAdapter.0
mov byte [ebp - 4], 1
lea esi, [ebx + 0x38]
push dword [ebp + 0x14]
mov dword [ebx + 0x34], vtable.HookEventListener.0
mov ecx, esi
mov dword [ebx], vtable.ViewerWindow.0
mov dword [ebx + 0x30], vtable.ViewerWindow.1.0
mov dword [ebx + 0x34], vtable.ViewerWindow.2.0
call fcn.004315b0
mov dword [ebx + 0x44], vtable.Control.0
mov dword [ebx + 0x48], 0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
push eax
call fcn.00403f40
mov byte [ebp - 4], 4
push dword [eax + 4]
push ecx
lea ecx, [ebx + 0x50]
call fcn.00422fd0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.StringStorage.0
test ecx, ecx
je 0x41cc83
mov eax, dword [ebp - 0x14]
sub eax, ecx
sar eax, 1
lea edx, [eax + eax]
mov eax, ecx
cmp edx, 0x1000
jb 0x41cc64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d1f5
push edx
push ecx
call fcn.00471d21
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push ecx
mov dword [ebx + 0x58], ecx
lea ecx, [ebx + 0x6c]
push esi
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
call fcn.0040c0a0
lea eax, [ebx + 0x24c]
mov dword [ebp + 0x14], eax
lea esi, [eax + 4]
mov dword [eax], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.00421670
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
mov byte [ebp - 4], 9
lea edi, [ebx + 0x25c]
mov dword [ebp + 0x14], edi
lea esi, [edi + 0x1c]
mov dword [edi], vtable.ToolBar.0
mov dword [ebp + 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004305c0
mov dword [esi], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov dword [edi + 0x18], 0
mov dword [edi + 4], 0xffffffff
mov dword [ebx + 0x284], 0
mov byte [ebx + 0x288], 0
mov dword [ebx + method.ViewerMenu.virtual_0], vtable.ViewerMenu.0
mov byte [ebp - 4], 0xb
lea ecx, [ebx + 0x298]
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x290], eax
call fcn.0043a540
lea eax, [ebx + 0x2ac]
mov dword [ebp + 0xc], eax
lea esi, [eax + 4]
mov dword [eax], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.00421670
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.00473630
add esp, 0xc
mov byte [ebx + 0x2bc], 0
mov dword [ebx + method.Rect.virtual_0], vtable.Rect.0
mov dword [ebx + 0x2f0], 0
mov dword [ebx + 0x2f4], 0
mov dword [ebx + 0x2f8], 0
mov dword [ebx + 0x2fc], 0
lea esi, [ebx + 0x30c]
mov byte [ebx + 0x300], 0
mov dword [ebx + 0x304], 0x64
mov word [ebx + 0x308], 0
mov byte [ebx + 0x30a], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 0x11
mov byte [ebx + 0x319], 1
mov eax, dword [esi + 4]
mov dword [ebp + 0xc], 0xa
cmp dword [esi + 8], eax
je 0x41ce6a
mov dword [eax], 0xa
add dword [esi + 4], 4
jmp 0x41ce76
lea ecx, [ebp + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00421540
mov eax, dword [esi + 4]
mov dword [ebp + 0xc], 0xf
cmp dword [esi + 8], eax
je 0x41ce91
mov dword [eax], 0xf
add dword [esi + 4], 4
jmp 0x41ce9d
lea ecx, [ebp + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00421540
mov eax, dword [esi + 4]
mov dword [ebp + 0xc], 0x19
cmp dword [esi + 8], eax
je 0x41ceb8
mov dword [eax], 0x19
add dword [esi + 4], 4
jmp 0x41cec4
lea ecx, [ebp + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00421540
mov eax, dword [esi + 4]
mov dword [ebp + 0xc], 0x32
cmp dword [esi + 8], eax
je 0x41cedf
mov dword [eax], 0x32
add dword [esi + 4], 4
jmp 0x41ceeb
lea ecx, [ebp + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00421540
mov eax, dword [esi + 4]
mov dword [ebp + 0xc], 0x4b
cmp dword [esi + 8], eax
je 0x41cf06
mov dword [eax], 0x4b
add dword [esi + 4], 4
jmp 0x41cf12
lea ecx, [ebp + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00421540
mov eax, dword [esi + 4]
mov dword [ebp + 0xc], 0x5a
cmp dword [esi + 8], eax
je 0x41cf2d
mov dword [eax], 0x5a
add dword [esi + 4], 4
jmp 0x41cf39
lea ecx, [ebp + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00421540
mov eax, dword [esi + 4]
mov dword [ebp + 0xc], 0x64
cmp dword [esi + 8], eax
je 0x41cf54
mov dword [eax], 0x64
add dword [esi + 4], 4
jmp 0x41cf60
lea ecx, [ebp + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00421540
mov eax, dword [esi + 4]
mov dword [ebp + 0xc], 0x96
cmp dword [esi + 8], eax
je 0x41cf7b
mov dword [eax], 0x96
add dword [esi + 4], 4
jmp 0x41cf87
lea ecx, [ebp + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00421540
mov eax, dword [esi + 4]
mov dword [ebp + 0xc], 0xc8
cmp dword [esi + 8], eax
je 0x41cfa2
mov dword [eax], 0xc8
add dword [esi + 4], 4
jmp 0x41cfae
lea ecx, [ebp + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00421540
mov eax, dword [esi + 4]
mov dword [ebp + 0xc], 0x190
cmp dword [esi + 8], eax
je 0x41cfc9
mov dword [eax], 0x190
add dword [esi + 4], 4
jmp 0x41cfd5
lea ecx, [ebp + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.00421540
mov dword [ebp - 0x50], vtable.StringStorage.0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x12
push eax
push 0xf
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push str.TvnWindowClass
push ecx
call fcn.00473630
add esp, 0xc
mov dword [ebp - 0x40], vtable.StringStorage.0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x14
push eax
push 0x10
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4ab9d0
push ecx
call fcn.00473630
add esp, 0xc
mov dword [ebp - 0x30], vtable.StringStorage.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x16
push eax
push 7
mov ecx, eax
call fcn.00421670
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push str.Viewer
push ecx
call fcn.00473630
add esp, 0xc
mov byte [ebp - 4], 0x17
lea ecx, [ebx + 8]
mov eax, dword [ecx]
push dword [ebp - 0x4c]
call dword [eax + 4]
sub esp, 0x10
lea eax, [ebp - 0x40]
mov ecx, ebx
push 0
push 0x6cf0000
push eax
call fcn.0042f9b0
mov eax, dword [ebx + 0x74]
lea ecx, [ebx + 0x74]
push dword [ebp - 0x4c]
call dword [eax + 4]
sub esp, 0x10
lea eax, [ebp - 0x30]
lea ecx, [ebx + 0x6c]
push dword [ebx + 4]
push 0x56000000
push eax
call fcn.0042f9b0
push 0
push 0x32
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], vtable.StringStorage.0
test edx, edx
je 0x41d156
mov ecx, dword [ebp - 0x24]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x41d137
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d1fa
push ecx
push edx
call fcn.00471d21
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], vtable.StringStorage.0
test edx, edx
je 0x41d1a5
mov ecx, dword [ebp - 0x34]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x41d186
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d1ff
push ecx
push edx
call fcn.00471d21
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], vtable.StringStorage.0
test edx, edx
je 0x41d1df
mov ecx, dword [ebp - 0x44]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x41d1d5
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d204
push ecx
push edx
call fcn.00471d21
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.0047da11
call fcn.0047da11
call fcn.0047da11
call fcn.0047da11
int3