Function at 0x4159c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x611ac9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x154]
mov eax, dword [esi + 0x150]
push eax
mov edx, dword [ecx + 0x1380]
push edx
call dword [sym.imp.DvrCore.dll__AmxGetRGBData_8]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.DvrCore.dll__AmxGetVideoSize_8]
mov edx, dword [esi]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x21c]
mov edx, dword [esi + 0x150]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 1
push edx
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.00477040
lea ecx, [esp + 0x10]
mov dword [esp + 0x264], 0
call fcn.004091e0
lea edx, [esp + 0x20]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x26c], 1
mov dword [esp + 0x18], vtable.wxBitmap.0
call fcn.00466ec0
lea ecx, [esp + 0x54]
mov byte [esp + 0x264], 2
call fcn.00415d20
mov ebx, 4
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x268], bl
mov dword [esp + 0x58], vtable.wxMemoryDC.1.0
mov dword [esp + method.wxMemoryDC.virtual_0], vtable.wxMemoryDC.0
call fcn.00473990
lea ecx, [esp + 0x54]
call fcn.00473950
mov eax, dword [esp + 0x14]
mov byte [esp + 0x264], 5
test eax, eax
je 0x415ad3
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x415ad3
lea ecx, [esp + 0x10]
call fcn.004e8d80
mov edx, dword [esp + 0x154]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x158]
call dword [edx + 8]
lea ecx, [esp + 0x40]
call fcn.004091e0
push 0xff
push 0
push 0
push 0
lea ecx, [esp + 0x50]
mov byte [esp + 0x274], 6
mov dword [esp + 0x50], vtable.wxColour.0
call dword [0x63ae80]
push 0x64
lea eax, [esp + 0x44]
push 1
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x270], 7
call fcn.00475e40
lea ecx, [esp + 0x40]
push 0x64
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x26c], 8
call fcn.004768f0
lea edx, [esp + 0x30]
lea ecx, [esp + 0x54]
push edx
mov byte [esp + 0x268], 9
call fcn.004715d0
lea eax, [esp + 0x38]
lea ecx, [esp + 0x54]
push eax
call fcn.00471690
mov eax, dword [esi + 0x154]
mov ecx, dword [eax + 0x1380]
mov edx, ecx
shl edx, 5
sub edx, ecx
lea eax, [eax + edx*4 + 0x200]
lea edi, [eax + 0xc]
mov al, byte [edi - 0xc]
test al, al
je 0x415bae
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov edx, dword [edi - 4]
mov ebp, dword [edi - 8]
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
push ebp
lea ecx, [esp + 0x64]
call dword [eax + 0xf0]
add edi, 0x14
dec ebx
jne 0x415b8a
mov al, byte [esi + 0x194]
test al, al
je 0x415be8
mov eax, dword [esi + 0x1b0]
mov ecx, dword [esi + 0x1ac]
mov edx, dword [esi + 0x1a8]
mov edi, dword [esi + 0x1a4]
push eax
push ecx
push edx
mov edx, dword [esp + 0x60]
push edi
lea ecx, [esp + 0x64]
call dword [edx + 0xf0]
push esi
lea ecx, [esp + 0x160]
call fcn.0046d7b0
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
sub eax, esi
mov edi, dword [esp + 0x18]
cdq
sub eax, edx
push 0xffffffffffffffff
mov ecx, eax
mov eax, dword [esp + 0x30]
sub eax, edi
push 0xffffffffffffffff
cdq
push 0
sub eax, edx
push 5
push 0
lea edx, [esp + 0x68]
push 0
push edx
push esi
sar ecx, 1
sar eax, 1
push edi
push ecx
push eax
mov eax, dword [esp + 0x188]
lea ecx, [esp + 0x188]
mov byte [esp + 0x290], 0xa
call dword [eax + 0x110]
mov eax, dword [0x701244]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x415c64
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x415c64
mov ecx, 0x701240
call fcn.004e8d80
mov edx, dword [esp + 0x144]
push 0x701240
lea ecx, [esp + 0x148]
call dword [edx + 8]
lea ecx, [esp + 0x14c]
mov byte [esp + 0x254], 9
call fcn.0046d830
lea ecx, [esp + 0x28]
mov byte [esp + 0x254], 8
call fcn.0047d2b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x254], 7
call fcn.0047d2b0
lea ecx, [esp + 0x30]
mov byte [esp + 0x254], 5
call fcn.0047d2b0
lea ecx, [esp + 0x44]
mov byte [esp + 0x254], 2
mov dword [esp + method.wxMemoryDCBase.virtual_0], vtable.wxMemoryDCBase.0
call fcn.0046f770
lea ecx, [esp]
mov byte [esp + 0x254], 0
call fcn.0047d2b0
lea ecx, [esp + 0x10]
mov dword [esp + 0x254], 0xffffffff
mov dword [esp + 0x10], vtable.wxObject.0
call fcn.004e8d50
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
add esp, 0x258
ret