Function at 0x403960
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433c66
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x447230]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x38], edi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x54]
xor ebx, ebx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x30], ebx
push 4
push str.Base
mov dword [edi], esi
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x54], bl
call fcn.0040f7f0
lea eax, [ebp - 0x54]
mov dword [ebp - 4], ebx
push eax
push esi
lea ecx, [edi + 4]
call fcn.00403de0
cmp dword [ebp - 0x40], 0x10
mov byte [ebp - 4], 2
jb 0x4039e1
push dword [ebp - 0x54]
call fcn.0041da95
add esp, 4
push 0
push esi
lea ecx, [edi + 0x24]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
call fcn.00407ad0
push esi
lea ecx, [edi + 0x2c]
mov byte [ebp - 4], 3
call fcn.004086a0
push esi
lea ecx, [edi + 0xa4]
mov byte [ebp - 4], 4
call fcn.00408d40
lea esi, [edi + 0xcc]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 2
push dword [edi + 0x18]
mov byte [ebp - 4], 6
call sub.mvDeviceManager.dll_Ordinal_100
test eax, eax
je 0x403a66
push str.Error__This_device_does_not_support_the_video_channel_property._Terminating_
push 0x44a3f0
call fcn.00401490
push eax
call fcn.004021f0
add esp, 0xc
push 0x2a
call fcn.0041e5b3
push 0xffffffffffffffff
lea ecx, [edi + 0x14]
call fcn.00417240
xor edi, edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], edi
test eax, eax
js 0x403c57
mov dword [ebp - 0xf4], 0x437f58
push 0
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 7
or ebx, 2
mov dword [ebp - 0xa4], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push eax
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xa8], 0x48
call fcn.00414700
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 4], 9
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf4], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xf8], eax
lea ecx, [ebp - 0xf0]
call fcn.00402a00
mov dword [ebp - 0xf0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 4
push edi
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 0xb
push str.Video_channel
push eax
call fcn.00401490
add esp, 8
mov ecx, eax
call fcn.0040ab60
push 0x14
call fcn.0041da44
mov edi, eax
add esp, 4
mov dword [ebp - 0x58], edi
mov byte [ebp - 4], 0xc
test edi, edi
je 0x403ba0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xf4]
call fcn.00418190
mov dword [edi], 0
or ebx, 1
mov dword [edi + 4], 0
mov byte [edi + 8], 0
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x30], ebx
jb 0x403b78
mov eax, dword [eax]
push eax
call sub.mvDisplay.dll_Ordinal_60
push eax
mov dword [edi], eax
call sub.mvDisplay.dll_Ordinal_62
push dword [edi]
call sub.mvDisplay.dll_Ordinal_64
mov dword [edi + 4], eax
mov dword [edi + 0xc], 0xffffffff
mov dword [edi + 0x10], 0
jmp 0x403ba2
xor edi, edi
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x2c], edi
cmp ecx, eax
jae 0x403be4
mov ecx, dword [esi]
lea edx, [ebp - 0x2c]
cmp ecx, edx
ja 0x403be4
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x403bd4
push 1
mov ecx, esi
call fcn.0040f0b0
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
je 0x403bfb
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x403bfb
cmp eax, dword [esi + 8]
jne 0x403bf2
push 1
mov ecx, esi
call fcn.0040f0b0
mov eax, dword [esi + 4]
test eax, eax
je 0x403bfb
mov dword [eax], edi
add dword [esi + 4], 4
mov dword [ebp - 4], 0xb
test bl, 1
je 0x403c1f
and ebx, 0xfffffffe
cmp dword [ebp - 0x14], 0x10
jb 0x403c1f
push dword [ebp - 0x28]
call fcn.0041da95
add esp, 4
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 6
call fcn.004098e0
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], vtable.std::ios_base.0
push eax
call fcn.004197a9
mov edi, dword [ebp - 0x34]
add esp, 4
inc edi
mov dword [ebp - 0x34], edi
cmp edi, dword [ebp - 0x3c]
jle 0x403a80
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041ebc3
mov esp, ebp
pop ebp
ret 4