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

Disassembly:
push 0xffffffffffffffff
push 0x5d61c8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x628560]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x628560]
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.004485b0
mov dword [esp + 0x34], eax
xor eax, eax
test esi, esi
mov dword [esp + 0x2c], eax
jle 0x44ec01
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 0x44e4d2
jmp 0x44e490
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov edi, eax
push edi
call fcn.004f3cb9
add esp, 4
push eax
mov ecx, 0x62c1d4
call fcn.004f3901
test al, al
je 0x44e4b8
cmp dword [edi + 0x38], ebp
je 0x44e4d0
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 0x44e490
jmp 0x44e4d2
mov ebx, edi
push esi
call fcn.004d401b
add esp, 4
test ebx, ebx
je 0x44e843
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 0x44e835
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
test al, al
je 0x44e578
push edi
call fcn.004f3cb9
add esp, 4
push eax
mov ecx, 0x62ba7c
call fcn.004f391c
mov ecx, dword [edi + 0xd0c]
mov eax, dword [ecx]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jg 0x44e57c
jne 0x44e550
mov edx, dword [edi + 0xd14]
cmp dword [edx], esi
jge 0x44e57c
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 0x44e520
mov ecx, dword [esp + 0x20]
test edi, edi
je 0x44e5ad
mov eax, dword [edi + 0xd0c]
cmp dword [eax], ecx
jne 0x44e5ad
mov ecx, dword [edi + 0xd14]
cmp dword [ecx], esi
jne 0x44e5ad
mov edx, dword [esp + 0x48]
mov dword [edi + 0x7cf4], edx
mov al, byte [esp + esi + 0x4c]
mov byte [edi + 0x823], al
jmp 0x44e7f0
push str.CSDvr
call fcn.004da582
mov esi, eax
test esi, esi
je 0x44e7ec
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.0045e740
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00457540
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.00404ec0
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 0x44e66a
mov dword [esi + 0x180], 0x12c0
mov dword [esi + 0x184], 0x1b58
mov dword [esi + 0x188], 0x1388
mov dword [esi + 0x18c], 0x1a90
jmp 0x44e7b2
cmp eax, 1
jne 0x44e68d
mov dword [esi + 0x180], 0x12c0
mov dword [esi + 0x184], 0x1b58
mov eax, 0x1388
jmp 0x44e7a6
cmp eax, 0x64
jne 0x44e6bf
mov dword [esi + 0x180], 0x11f8
mov dword [esi + 0x184], 0x15e0
mov dword [esi + 0x188], 0x1388
mov dword [esi + 0x18c], 0x1a90
jmp 0x44e7b2
cmp eax, 0xc8
jne 0x44e6f3
mov dword [esi + 0x180], 0x1004
mov dword [esi + 0x184], 0x13ec
mov dword [esi + 0x188], 0x1356
mov dword [esi + 0x18c], 0x2710
jmp 0x44e7b2
cmp eax, 0x320
jne 0x44e727
mov dword [esi + 0x180], 0x10cc
mov dword [esi + 0x184], 0x157c
mov dword [esi + 0x188], 0x1356
mov dword [esi + 0x18c], 0x1b58
jmp 0x44e7b2
cmp eax, 0x12c
jne 0x44e75e
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 0x44e7b2
cmp eax, 0x258
jne 0x44e795
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 0x44e7b2
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 0x44e7ec
cmp dword [esp + 0x1c], 8
jg 0x44e7ec
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 0x44e512
push ebp
call fcn.004d401b
add esp, 4
jmp 0x44eb9e
mov edx, dword [esp + 0x34]
mov edi, dword [edx + 8]
push str.CDvrCard
call fcn.004da582
mov ebx, eax
test ebx, ebx
je 0x44e905
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x44ec26
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.004056d0
add esp, 0xc
mov ecx, ebx
call fcn.0045e740
mov esi, dword [esp + 0x28]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x34], esp
mov ebp, esp
push esi
call fcn.004052b0
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 0x44e901
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 0x44eb9e
jmp 0x44e920
push str.CSDvr
call fcn.004da582
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x44eb89
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
push edi
push esi
mov ecx, ebx
call edx
mov ecx, esi
call fcn.0045e740
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00457540
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.00404ec0
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 0x44e9d5
mov dword [esi + 0x180], 0x12c0
mov dword [esi + 0x184], 0x1b58
mov dword [esi + 0x188], 0x1388
mov dword [esi + 0x18c], 0x1a90
jmp 0x44eb1d
cmp eax, 1
jne 0x44e9f8
mov dword [esi + 0x180], 0x12c0
mov dword [esi + 0x184], 0x1b58
mov eax, 0x1388
jmp 0x44eb11
cmp eax, 0x64
jne 0x44ea2a
mov dword [esi + 0x180], 0x11f8
mov dword [esi + 0x184], 0x15e0
mov dword [esi + 0x188], 0x1388
mov dword [esi + 0x18c], 0x1a90
jmp 0x44eb1d
cmp eax, 0xc8
jne 0x44ea5e
mov dword [esi + 0x180], 0x1004
mov dword [esi + 0x184], 0x13ec
mov dword [esi + 0x188], 0x1356
mov dword [esi + 0x18c], 0x2710
jmp 0x44eb1d
cmp eax, 0x320
jne 0x44ea92
mov dword [esi + 0x180], 0x10cc
mov dword [esi + 0x184], 0x157c
mov dword [esi + 0x188], 0x1356
mov dword [esi + 0x18c], 0x1b58
jmp 0x44eb1d
cmp eax, 0x12c
jne 0x44eac9
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 0x44eb1d
cmp eax, 0x258
jne 0x44eb00
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 0x44eb1d
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 0x44eb89
cmp dword [esp + 0x1c], 8
jg 0x44eb89
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 0x44e920
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
add dword [ebx + 0x44], eax
add dword [0x647fc4], 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 0x44ebce
add dword [0x647fcc], ecx
jmp 0x44ebea
cmp eax, 0xc8
jne 0x44ebdd
add dword [0x647fd0], ecx
jmp 0x44ebea
cmp eax, 0x12c
jne 0x44ebed
add dword [0x647fd4], 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 0x44e445
add dword [0x647fc8], 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.004f2a78
add esp, 0x68
ret
push 0x80004005
call fcn.00404150
int3