Function at 0x44e190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5d5ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x629560]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x629560]
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.00448330
mov dword [esp + 0x34], eax
xor eax, eax
test esi, esi
mov dword [esp + 0x2c], eax
jle 0x44e9a1
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 + 0x3c]
mov eax, dword [esp + 0x4c]
mov ecx, dword [ecx + 8]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x28], edx
mov edx, dword [ecx]
mov dword [esp + 0x24], eax
mov eax, dword [edx + 0x24]
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 0x44e272
jmp 0x44e230
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov edi, eax
push edi
call fcn.004f395a
add esp, 4
push eax
mov ecx, 0x62d1b4
call fcn.004f35a2
test al, al
je 0x44e258
cmp dword [edi + 0x38], ebp
je 0x44e270
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 0x44e230
jmp 0x44e272
mov ebx, edi
push esi
call fcn.004d3cb6
add esp, 4
test ebx, ebx
je 0x44e5e3
mov edx, dword [ebx]
mov eax, dword [edx + 0x24]
mov ecx, ebx
call eax
mov ebp, eax
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
mov ecx, ebp
mov dword [esp + 0x28], 0xffff0001
call eax
xor esi, esi
cmp dword [esp + 0x1c], esi
mov edi, eax
mov dword [esp + 0x24], esi
jle 0x44e5d5
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
test al, al
je 0x44e318
push edi
call fcn.004f395a
add esp, 4
push eax
mov ecx, 0x62ca5c
call fcn.004f35bd
mov ecx, dword [edi + 0xd0c]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jg 0x44e31c
jne 0x44e2f0
mov edx, dword [edi + 0xd14]
cmp dword [edx], esi
jge 0x44e31c
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 + 0x28], edi
call edx
mov edi, eax
mov eax, dword [ebp]
mov edx, dword [eax + 8]
mov ecx, ebp
call edx
test al, al
jne 0x44e2c0
mov ecx, dword [esp + 0x20]
test edi, edi
je 0x44e34d
mov eax, dword [edi + 0xd0c]
cmp dword [eax], ecx
jne 0x44e34d
mov ecx, dword [edi + 0xd14]
cmp dword [ecx], esi
jne 0x44e34d
mov edx, dword [esp + 0x48]
mov dword [edi + 0x7cf4], edx
mov al, byte [esp + esi + 0x4c]
mov byte [edi + 0x823], al
jmp 0x44e590
push str.CSDvr
call fcn.004da1c8
mov esi, eax
test esi, esi
je 0x44e58c
mov eax, dword [esp + 0x28]
mov edx, dword [ebx]
mov edx, dword [edx + 0x18]
push eax
push esi
mov ecx, ebx
call edx
mov ecx, esi
call fcn.0045e590
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004573e0
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 + 0x828]
call fcn.00404f90
mov edx, dword [esi + 0xd10]
mov eax, dword [esp + 0x18]
mov dword [edx], eax
mov ecx, dword [esi + 0xd0c]
mov edx, dword [esp + 0x20]
mov dword [ecx], edx
mov eax, dword [esi + 0xd14]
mov edx, dword [esp + 0x24]
mov dword [eax], edx
xor ecx, ecx
mov dword [esi + 0x1bc], ecx
mov eax, dword [esp + 0x48]
mov dword [esi + 0x7cf4], eax
mov eax, dword [esp + 0x48]
cmp eax, ecx
jne 0x44e40a
mov dword [esi + 0x180], 0x12c0
mov dword [esi + 0x184], 0x1b58
mov dword [esi + 0x188], 0x1388
mov dword [esi + 0x18c], 0x1a90
jmp 0x44e552
cmp eax, 1
jne 0x44e42d
mov dword [esi + 0x180], 0x12c0
mov dword [esi + 0x184], 0x1b58
mov eax, 0x1388
jmp 0x44e546
cmp eax, 0x64
jne 0x44e45f
mov dword [esi + 0x180], 0x11f8
mov dword [esi + 0x184], 0x15e0
mov dword [esi + 0x188], 0x1388
mov dword [esi + 0x18c], 0x1a90
jmp 0x44e552
cmp eax, 0xc8
jne 0x44e493
mov dword [esi + 0x180], 0x1004
mov dword [esi + 0x184], 0x13ec
mov dword [esi + 0x188], 0x1356
mov dword [esi + 0x18c], 0x2710
jmp 0x44e552
cmp eax, 0x320
jne 0x44e4c7
mov dword [esi + 0x180], 0x10cc
mov dword [esi + 0x184], 0x157c
mov dword [esi + 0x188], 0x1356
mov dword [esi + 0x18c], 0x1b58
jmp 0x44e552
cmp eax, 0x12c
jne 0x44e4fe
mov dword [esi + 0x180], 0xfa0
mov dword [esi + 0x184], 0x1162
mov dword [esi + 0x188], 0x1388
mov dword [esi + 0x18c], 0x1d4c
mov dword [esi + 0x190], ecx
jmp 0x44e552
cmp eax, 0x258
jne 0x44e535
mov dword [esi + 0x180], 0xd7a
mov dword [esi + 0x184], 0xf6e
mov dword [esi + 0x188], 0x1388
mov dword [esi + 0x18c], 0x1b8a
mov dword [esi + 0x190], ecx
jmp 0x44e552
mov eax, 0x1388
mov dword [esi + 0x180], eax
mov dword [esi + 0x184], eax
mov dword [esi + 0x18c], eax
mov dword [esi + 0x188], eax
cmp dword [esi + 0x7cf4], 0x258
mov cl, byte [esp + edx + 0x4c]
mov byte [esi + 0x823], cl
mov dword [esi + 0x1c4], 2
mov edi, esi
jne 0x44e58c
cmp dword [esp + 0x1c], 8
jg 0x44e58c
mov eax, 1
mov dword [esi + 0x1bc], eax
mov dword [esi + 0x1c4], eax
mov esi, dword [esp + 0x24]
mov edx, dword [edi + 0xd14]
mov ecx, dword [edi + 0xd0c]
mov dword [edi + 0xde8], 1
mov eax, dword [edx]
mov edx, dword [ecx]
push eax
mov eax, dword [edi + 0xd10]
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 + 0xd18], eax
mov dword [esp + 0x24], esi
jl 0x44e2b2
push ebp
call fcn.004d3cb6
add esp, 4
jmp 0x44e93e
mov edx, dword [esp + 0x34]
mov edi, dword [edx + 8]
push str.CDvrCard
call fcn.004da1c8
mov ebx, eax
test ebx, ebx
je 0x44e6a5
call fcn.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x44e9c6
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
push ebp
lea ecx, [esp + 0x2c]
push str.DvrCard_Bus_d
push ecx
mov dword [esp + 0x84], 0
call fcn.004057d0
add esp, 0xc
mov ecx, ebx
call fcn.0045e590
mov esi, dword [esp + 0x28]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x34], esp
mov ebp, esp
push esi
call fcn.004053b0
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 + 0x18]
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 0x44e6a1
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 0x44e93e
jmp 0x44e6c0
push str.CSDvr
call fcn.004da1c8
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x44e929
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
push edi
push esi
mov ecx, ebx
call edx
mov ecx, esi
call fcn.0045e590
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push eax
call fcn.004573e0
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 + 0x828]
call fcn.00404f90
mov edx, dword [esi + 0xd10]
mov ecx, dword [esp + 0x20]
mov dword [edx], ebp
mov eax, dword [esi + 0xd0c]
mov dword [eax], ecx
mov edx, dword [esi + 0xd14]
mov ecx, dword [esp + 0x18]
mov dword [edx], ecx
mov dword [esi + 0x1bc], edi
mov eax, dword [esp + 0x48]
mov dword [esi + 0x7cf4], eax
mov eax, dword [esp + 0x48]
cmp eax, edi
jne 0x44e775
mov dword [esi + 0x180], 0x12c0
mov dword [esi + 0x184], 0x1b58
mov dword [esi + 0x188], 0x1388
mov dword [esi + 0x18c], 0x1a90
jmp 0x44e8bd
cmp eax, 1
jne 0x44e798
mov dword [esi + 0x180], 0x12c0
mov dword [esi + 0x184], 0x1b58
mov eax, 0x1388
jmp 0x44e8b1
cmp eax, 0x64
jne 0x44e7ca
mov dword [esi + 0x180], 0x11f8
mov dword [esi + 0x184], 0x15e0
mov dword [esi + 0x188], 0x1388
mov dword [esi + 0x18c], 0x1a90
jmp 0x44e8bd
cmp eax, 0xc8
jne 0x44e7fe
mov dword [esi + 0x180], 0x1004
mov dword [esi + 0x184], 0x13ec
mov dword [esi + 0x188], 0x1356
mov dword [esi + 0x18c], 0x2710
jmp 0x44e8bd
cmp eax, 0x320
jne 0x44e832
mov dword [esi + 0x180], 0x10cc
mov dword [esi + 0x184], 0x157c
mov dword [esi + 0x188], 0x1356
mov dword [esi + 0x18c], 0x1b58
jmp 0x44e8bd
cmp eax, 0x12c
jne 0x44e869
mov dword [esi + 0x180], 0xfa0
mov dword [esi + 0x184], 0x1162
mov dword [esi + 0x188], 0x1388
mov dword [esi + 0x18c], 0x1d4c
mov dword [esi + 0x190], edi
jmp 0x44e8bd
cmp eax, 0x258
jne 0x44e8a0
mov dword [esi + 0x180], 0xd7a
mov dword [esi + 0x184], 0xf6e
mov dword [esi + 0x188], 0x1388
mov dword [esi + 0x18c], 0x1b8a
mov dword [esi + 0x190], edi
jmp 0x44e8bd
mov eax, 0x1388
mov dword [esi + 0x180], eax
mov dword [esi + 0x184], eax
mov dword [esi + 0x18c], eax
mov dword [esi + 0x188], eax
mov cl, byte [esp + ecx + 0x4c]
mov edx, dword [esi + 0xd14]
mov byte [esi + 0x823], cl
mov ecx, dword [esi + 0xd0c]
mov dword [esi + 0x1c4], 2
mov dword [esi + 0xde8], 1
mov eax, dword [edx]
mov edx, dword [ecx]
push eax
mov eax, dword [esi + 0xd10]
mov ecx, dword [eax]
push edx
push ecx
call dword [sym.imp.exp.dll_int___cdecl_JMVSDK_GetChannelIndex_int__int__int_]
add esp, 0xc
cmp dword [esi + 0x7cf4], 0x258
mov dword [esi + 0xd18], eax
jne 0x44e929
cmp dword [esp + 0x1c], 8
jg 0x44e929
mov eax, 1
mov dword [esi + 0x1bc], eax
mov dword [esi + 0x1c4], eax
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jl 0x44e6c0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
add dword [ebx + 0x44], eax
add dword [0x648fac], 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 0x44e96e
add dword [0x648fb4], ecx
jmp 0x44e98a
cmp eax, 0xc8
jne 0x44e97d
add dword [0x648fb8], ecx
jmp 0x44e98a
cmp eax, 0x12c
jne 0x44e98d
add dword [0x648fbc], ecx
mov dword [ebx + 0x4c], ecx
mov eax, dword [esp + 0x2c]
add eax, ecx
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
jl 0x44e1e5
add dword [0x648fb0], 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.004f2719
add esp, 0x68
ret
push 0x80004005
call fcn.00404150
int3