Function at 0x44bb70
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5185f8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5566e0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5566e0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
call dword [sym.imp.exp.dll_int___cdecl_JMVSDK_GetDeviceCount_void_]
mov esi, eax
mov dword [esp + 0x38], esi
call fcn.00445d10
mov dword [esp + 0x30], eax
xor eax, eax
test esi, esi
mov dword [esp + 0x28], eax
jle 0x44c273
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [sym.imp.exp.dll_void___cdecl_JMVSDK_GetDeviceInfo_int__struct__DEVICE_INFO__]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x4c]
mov ecx, dword [ecx + 8]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x2c], edx
mov edx, dword [ecx]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x28]
add esp, 8
mov dword [esp + 0x18], ebp
xor ebx, ebx
call eax
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
test al, al
je 0x44bc52
jmp 0x44bc10
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov edi, eax
push edi
call fcn.004e1dc4
add esp, 4
push eax
mov ecx, 0x559764
call fcn.004e1a0c
test al, al
je 0x44bc38
cmp dword [edi + 0x38], ebp
je 0x44bc50
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
test al, al
jne 0x44bc10
jmp 0x44bc52
mov ebx, edi
push esi
call fcn.004c1fcb
add esp, 4
test ebx, ebx
je 0x44bf40
mov edx, dword [ebx]
mov eax, dword [edx + 0x28]
mov ecx, ebx
call eax
mov ebp, eax
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
mov ecx, ebp
mov dword [esp + 0x20], 0xffff0001
call eax
xor esi, esi
cmp dword [esp + 0x1c], esi
mov edi, eax
mov dword [esp + 0x2c], esi
jle 0x44bf32
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
test al, al
je 0x44bcf8
push edi
call fcn.004e1dc4
add esp, 4
push eax
mov ecx, 0x55903c
call fcn.004e1a27
mov ecx, dword [edi + 0xcf8]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jg 0x44bcfc
jne 0x44bcd0
mov edx, dword [edi + 0xd00]
cmp dword [edx], esi
jge 0x44bcfc
mov eax, dword [ebp]
mov edx, dword [eax + 4]
mov ecx, ebp
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0xc]
mov ecx, ebp
mov dword [esp + 0x20], edi
call edx
mov edi, eax
mov eax, dword [ebp]
mov edx, dword [eax + 8]
mov ecx, ebp
call edx
test al, al
jne 0x44bca0
mov ecx, dword [esp + 0x24]
test edi, edi
je 0x44bd2d
mov eax, dword [edi + 0xcf8]
cmp dword [eax], ecx
jne 0x44bd2d
mov ecx, dword [edi + 0xd00]
cmp dword [ecx], esi
jne 0x44bd2d
mov edx, dword [esp + 0x48]
mov dword [edi + 0x7cf0], edx
mov al, byte [esp + esi + 0x4c]
mov byte [edi + 0x80c], al
jmp 0x44beed
push str.CSDvr
call fcn.004c867c
mov esi, eax
test esi, esi
je 0x44bee9
mov eax, dword [esp + 0x20]
mov edx, dword [ebx]
mov edx, dword [edx + 0x1c]
push eax
push esi
mov ecx, ebx
call edx
mov ecx, esi
call fcn.00458d40
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
push eax
call fcn.004523b0
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, esi
call eax
lea ecx, [esi + 0x14]
push ecx
lea ecx, [esi + 0x814]
call fcn.00404e60
mov edx, dword [esi + 0xcfc]
mov eax, dword [esp + 0x18]
mov dword [edx], eax
mov ecx, dword [esi + 0xcf8]
mov edx, dword [esp + 0x24]
mov dword [ecx], edx
mov eax, dword [esi + 0xd00]
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
xor edx, edx
mov dword [esi + 0x1ac], edx
mov eax, dword [esp + 0x48]
mov dword [esi + 0x7cf0], eax
mov eax, dword [esp + 0x48]
cmp eax, edx
jne 0x44bdea
mov dword [esi + 0x178], 0x1130
mov dword [esi + 0x17c], 0x15e0
mov dword [esi + 0x180], 0x1388
mov dword [esi + 0x184], 0x19c8
jmp 0x44bed3
cmp eax, 1
jne 0x44be1c
mov dword [esi + 0x178], 0x1130
mov dword [esi + 0x17c], 0x15e0
mov dword [esi + 0x180], 0x1388
mov dword [esi + 0x184], 0x12c0
jmp 0x44bed3
cmp eax, 0x64
jne 0x44be4e
mov dword [esi + 0x178], 0x11f8
mov dword [esi + 0x17c], 0x15e0
mov dword [esi + 0x180], 0x1388
mov dword [esi + 0x184], 0x1a90
jmp 0x44bed3
cmp eax, 0xc8
jne 0x44be7f
mov dword [esi + 0x178], 0x10cc
mov dword [esi + 0x17c], 0x13ec
mov dword [esi + 0x180], 0x1356
mov dword [esi + 0x184], 0x2710
jmp 0x44bed3
cmp eax, 0x12c
jne 0x44beb6
mov dword [esi + 0x178], 0xfa0
mov dword [esi + 0x17c], 0x1162
mov dword [esi + 0x180], 0x1388
mov dword [esi + 0x184], 0x1d4c
mov dword [esi + 0x188], edx
jmp 0x44bed3
mov eax, 0x1388
mov dword [esi + 0x178], eax
mov dword [esi + 0x17c], eax
mov dword [esi + 0x180], eax
mov dword [esi + 0x184], eax
mov cl, byte [esp + ecx + 0x4c]
mov byte [esi + 0x80c], cl
mov dword [esi + 0x1b4], 2
mov edi, esi
mov esi, dword [esp + 0x2c]
mov edx, dword [edi + 0xd00]
mov ecx, dword [edi + 0xcf8]
mov dword [edi + 0xdc4], 1
mov eax, dword [edx]
mov edx, dword [ecx]
push eax
mov eax, dword [edi + 0xcfc]
mov ecx, dword [eax]
push edx
push ecx
call dword [sym.imp.exp.dll_int___cdecl_JMVSDK_GetChannelIndex_int__int__int_]
add esi, 1
add esp, 0xc
cmp esi, dword [esp + 0x1c]
mov dword [edi + 0xd04], eax
mov dword [esp + 0x2c], esi
jl 0x44bc92
push ebp
call fcn.004c1fcb
add esp, 4
jmp 0x44c210
mov edx, dword [esp + 0x30]
mov edi, dword [edx + 8]
push str.CDvrCard
call fcn.004c867c
mov ebx, eax
test ebx, ebx
je 0x44c002
call fcn.004c2ca4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x44c298
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push ebp
lea ecx, [esp + 0x24]
push str.DvrCard_Bus_d
push ecx
mov dword [esp + 0x84], 0
call fcn.00405670
add esp, 0xc
mov ecx, ebx
call fcn.00458d40
mov esi, dword [esp + 0x20]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x38], esp
mov ebp, esp
push esi
call fcn.00405250
add eax, 0x10
mov dword [ebp], eax
mov edx, dword [ebx]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x38], ecx
mov edx, dword [edi]
mov eax, dword [edx + 0x1c]
push 0
push ebx
mov ecx, edi
call eax
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44bffe
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov ebp, dword [esp + 0x18]
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
jle 0x44c210
push str.CSDvr
call fcn.004c867c
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x44c1fb
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
push edi
push esi
mov ecx, ebx
call edx
mov ecx, esi
call fcn.00458d40
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
push eax
call fcn.004523b0
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, esi
call eax
lea ecx, [esi + 0x14]
push ecx
lea ecx, [esi + 0x814]
call fcn.00404e60
mov edx, dword [esi + 0xcfc]
mov ecx, dword [esp + 0x24]
mov dword [edx], ebp
mov eax, dword [esi + 0xcf8]
mov dword [eax], ecx
mov edx, dword [esi + 0xd00]
mov ecx, dword [esp + 0x18]
mov dword [edx], ecx
mov dword [esi + 0x1ac], edi
mov eax, dword [esp + 0x48]
mov dword [esi + 0x7cf0], eax
mov eax, dword [esp + 0x48]
cmp eax, edi
jne 0x44c0ca
mov dword [esi + 0x178], 0x1130
mov dword [esi + 0x17c], 0x15e0
mov dword [esi + 0x180], 0x1388
mov dword [esi + 0x184], 0x19c8
jmp 0x44c1b3
cmp eax, 1
jne 0x44c0fc
mov dword [esi + 0x178], 0x1130
mov dword [esi + 0x17c], 0x15e0
mov dword [esi + 0x180], 0x1388
mov dword [esi + 0x184], 0x12c0
jmp 0x44c1b3
cmp eax, 0x64
jne 0x44c12e
mov dword [esi + 0x178], 0x11f8
mov dword [esi + 0x17c], 0x15e0
mov dword [esi + 0x180], 0x1388
mov dword [esi + 0x184], 0x1a90
jmp 0x44c1b3
cmp eax, 0xc8
jne 0x44c15f
mov dword [esi + 0x178], 0x10cc
mov dword [esi + 0x17c], 0x13ec
mov dword [esi + 0x180], 0x1356
mov dword [esi + 0x184], 0x2710
jmp 0x44c1b3
cmp eax, 0x12c
jne 0x44c196
mov dword [esi + 0x178], 0xfa0
mov dword [esi + 0x17c], 0x1162
mov dword [esi + 0x180], 0x1388
mov dword [esi + 0x184], 0x1d4c
mov dword [esi + 0x188], edi
jmp 0x44c1b3
mov eax, 0x1388
mov dword [esi + 0x178], eax
mov dword [esi + 0x17c], eax
mov dword [esi + 0x180], eax
mov dword [esi + 0x184], eax
mov cl, byte [esp + ecx + 0x4c]
mov edx, dword [esi + 0xd00]
mov byte [esi + 0x80c], cl
mov ecx, dword [esi + 0xcf8]
mov dword [esi + 0x1b4], 2
mov dword [esi + 0xdc4], 1
mov eax, dword [edx]
mov edx, dword [ecx]
push eax
mov eax, dword [esi + 0xcfc]
mov ecx, dword [eax]
push edx
push ecx
call dword [sym.imp.exp.dll_int___cdecl_JMVSDK_GetChannelIndex_int__int__int_]
add esp, 0xc
mov dword [esi + 0xd04], eax
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jl 0x44c015
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
add dword [ebx + 0x44], eax
add dword [0x5737dc], eax
mov ecx, 1
add dword [ebx + 0x48], ecx
mov dword [ebx + 0x54], edx
mov dword [ebx + 0x40], ecx
mov eax, dword [esp + 0x48]
cmp eax, 0x64
jne 0x44c240
add dword [0x5737e4], ecx
jmp 0x44c25c
cmp eax, 0xc8
jne 0x44c24f
add dword [0x5737e8], ecx
jmp 0x44c25c
cmp eax, 0x12c
jne 0x44c25f
add dword [0x5737ec], ecx
mov dword [ebx + 0x4c], ecx
mov eax, dword [esp + 0x28]
add eax, ecx
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
jl 0x44bbc5
add dword [0x5737e0], eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004e0b83
add esp, 0x68
ret
push 0x80004005
call fcn.00404150
int3