Function at 0x45f360
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6de2b9
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
mov eax, dword [0x790f00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x148], 0
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
push 0x50
push eax
lea eax, [ebp - 0xf4]
push eax
call sub.VCRUNTIME140.dll_memset
mov dword [ebp - 0xf4], vtable.std::wstring_convert_class_std::codecvt_utf8_utf16_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
push 1
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_]
mov dword [ebp - 0xe8], eax
xorps xmm0, xmm0
mov dword [ebp - 0xd4], 0
movups xmmword [ebp - 0xe4], xmm0
mov dword [ebp - 0xd0], 0xf
mov byte [ebp - 0xe4], 0
xor eax, eax
mov dword [ebp - 0xbc], 0
movups xmmword [ebp - 0xcc], xmm0
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
mov byte [ebp - 4], 6
push 0x34
mov word [ebp - 0xac], ax
mov byte [ebp - 0xaa], al
call fcn.006db260
mov edi, eax
add esp, 0x14
mov dword [ebp - 0x16c], edi
push 0
mov ecx, edi
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::codecvt_wchar_t__char__struct__Mbstatet_::constructor_unsigned_int_]
mov dword [edi], vtable.std::codecvt_utf8_utf16_wchar_t__1114111__0_.0
xorps xmm0, xmm0
mov byte [ebp - 4], 6
push dword [ebp - 0xe8]
movlpd qword [ebp - 0xb4], xmm0
mov dword [ebp - 0xf0], edi
call dword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Locimp::_New_Locimp_class_std::locale::_Locimp_const__]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::locale::id_std::codecvt_wchar_t__char__struct__Mbstatet_::id]
add esp, 4
mov esi, eax
call dword [sym.imp.MSVCP140.dll_public:_unsigned_int___thiscall_std::locale::id::operator_unsigned_int_void_]
push eax
push edi
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_private:_void___thiscall_std::locale::_Locimp::_Addfac_class_std::locale::facet___unsigned_int_]
push 0x774270
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0
call dword [sym.imp.MSVCP140.dll_public:_class_std::_Yarn_char_____thiscall_std::_Yarn_char_::operator_char_const__]
mov ecx, dword [ebp - 0xe8]
cmp ecx, esi
je 0x45f531
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x45f524
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov dword [ebp - 0xe8], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x45f548
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov dword [ebp - 0xa8], 0
mov byte [ebp - 4], 8
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
mov eax, dword [ebp + 0x18]
cmova ecx, dword [ebp + 8]
add eax, ecx
push eax
push ecx
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0xf4]
call fcn.00487d70
push str.Webcam_Vids
lea edx, [ebp - 0x18c]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x74]
call fcn.0048c730
add esp, 4
lea ecx, [ebp - 0x8c]
push eax
call fcn.00486810
mov ecx, dword [ebp - 0x60]
cmp ecx, 7
jbe 0x45f5d6
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45f5cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45f620
push ecx
push edx
call fcn.006db5f6
add esp, 8
xor eax, eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp ecx, 7
jbe 0x45f630
mov edx, dword [ebp - 0x18c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45f626
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45f626
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.006db5f6
add esp, 8
mov byte [ebp - 0x48], 0
lea edx, [ebp - 0x8c]
push dword [ebp - 0x48]
lea ecx, [ebp - 0x18c]
call fcn.004964c0
add esp, 4
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0xa
call fcn.0044ec00
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x178]
mov byte [ebp - 0x16d], al
cmp ecx, 7
jbe 0x45f6ac
mov edx, dword [ebp - 0x18c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45f69c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45f69c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.006db5f6
mov al, byte [ebp - 0x16d]
add esp, 8
test al, al
jne 0x45f71f
mov byte [ebp - 0x48], al
lea edx, [ebp - 0x8c]
push dword [ebp - 0x48]
lea ecx, [ebp - 0x18c]
call fcn.004964c0
add esp, 4
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0xb
call fcn.0044f040
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x178]
cmp ecx, 7
jbe 0x45f71f
mov edx, dword [ebp - 0x18c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45f715
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45f715
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.006db5f6
add esp, 8
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x45f845
push 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push str.Failed_to_get_webcam
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
call fcn.004511e0
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0xf
mov edi, dword [ebp - 0x44]
mov eax, dword [0x790f84]
cmova edx, edi
mov esi, dword [0x790f80]
sub eax, esi
mov ecx, dword [ebp - 0x34]
push ecx
push edx
cmp ecx, eax
ja 0x45f7ab
cmp dword [0x790f84], 0xf
lea eax, [ecx + esi]
mov dword [0x790f80], eax
mov eax, 0x790f70
cmova eax, dword [0x790f70]
add esi, eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x45f7bf
push dword [ebp - 0x16c]
push ecx
mov ecx, 0x790f70
call fcn.0048fd00
mov edi, dword [ebp - 0x44]
mov esi, dword [0x790f84]
mov ecx, 0x790f70
mov edx, dword [0x790f80]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x45f7fa
cmp esi, 0xf
lea eax, [edx + 1]
mov dword [0x790f80], eax
cmova ecx, dword [0x790f70]
mov al, byte [0x7744fc]
mov byte [ecx + edx], al
mov byte [ecx + edx + 1], 0
jmp 0x45f80e
push 1
push 0x7744fc
push dword [ebp - 0x16c]
push 1
call fcn.0048fd00
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x30]
cmp eax, 0xf
jbe 0x45f845
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x45f83b
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4607bf
push ecx
push edi
call fcn.006db5f6
add esp, 8
lea eax, [ebp - 0x148]
push eax
push 0x773fd0
push 1
push 0
push 0x774010
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x45f987
push 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push str.Failed_to_get_webcam
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
call fcn.004511e0
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0xf
mov edi, dword [ebp - 0x44]
mov esi, dword [0x790f80]
cmova edx, edi
mov eax, dword [0x790f84]
mov ecx, dword [ebp - 0x34]
sub eax, esi
mov dword [ebp - 0x48], esi
push ecx
push edx
cmp ecx, eax
ja 0x45f8ed
cmp dword [0x790f84], 0xf
lea eax, [ecx + esi]
mov dword [0x790f80], eax
mov esi, 0x790f70
cmova esi, dword [0x790f70]
mov eax, dword [ebp - 0x48]
add eax, esi
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov ecx, dword [ebp - 0x48]
add eax, esi
mov byte [eax + ecx], 0
jmp 0x45f901
push dword [ebp - 0x16c]
push ecx
mov ecx, 0x790f70
call fcn.0048fd00
mov edi, dword [ebp - 0x44]
mov esi, dword [0x790f84]
mov ecx, 0x790f70
mov edx, dword [0x790f80]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x45f93c
cmp esi, 0xf
lea eax, [edx + 1]
mov dword [0x790f80], eax
cmova ecx, dword [0x790f70]
mov al, byte [0x7744fc]
mov byte [ecx + edx], al
mov byte [ecx + edx + 1], 0
jmp 0x45f950
push 1
push 0x7744fc
push dword [ebp - 0x16c]
push 1
call fcn.0048fd00
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x30]
cmp eax, 0xf
jbe 0x45f987
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x45f97d
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4607bf
push ecx
push edi
call fcn.006db5f6
add esp, 8
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x154]
push eax
push 0x773fc0
push 1
push 0
push 0x774020
call esi
test eax, eax
jns 0x45fa69
push 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push str.Failed_to_get_webcam
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
call fcn.004511e0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xe
push eax
mov ecx, 0x790f70
call fcn.00486b20
mov edi, dword [0x790f84]
mov ecx, 0x790f70
mov edx, dword [0x790f80]
mov eax, edi
sub eax, edx
cmp eax, 1
jb 0x45fa1d
cmp edi, 0xf
lea eax, [edx + 1]
mov dword [0x790f80], eax
cmova ecx, dword [0x790f70]
mov al, byte [0x7744fc]
mov byte [ecx + edx], al
mov byte [ecx + edx + 1], 0
jmp 0x45fa31
push 1
push 0x7744fc
push dword [ebp - 0x16c]
push 1
call fcn.0048fd00
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x45fa69
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45fa5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4607bf
push ecx
push edx
call fcn.006db5f6
add esp, 8
mov ecx, dword [ebp - 0x148]
push dword [ebp - 0x154]
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc]
lea eax, [ebp - 0x160]
push eax
push 0x77d6fc
push 1
push 0
push 0x774030
call esi
test eax, eax
jns 0x45fb57
push 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push str.Failed_to_get_webcam
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
call fcn.004511e0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xf
push eax
mov ecx, 0x790f70
call fcn.00486b20
mov esi, dword [0x790f84]
mov ecx, 0x790f70
mov edx, dword [0x790f80]
mov eax, esi
sub eax, edx
cmp eax, 1
jb 0x45fb0b
cmp esi, 0xf
lea eax, [edx + 1]
mov dword [0x790f80], eax
cmova ecx, dword [0x790f70]
mov al, byte [0x7744fc]
mov byte [ecx + edx], al
mov byte [ecx + edx + 1], 0
jmp 0x45fb1f
push 1
push 0x7744fc
push dword [ebp - 0x16c]
push 1
call fcn.0048fd00
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x45fb57
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45fb4d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4607bf
push ecx
push edx
call fcn.006db5f6
add esp, 8
mov ecx, dword [ebp - 0x160]
lea edx, [ebp - 0x164]
push 0
push edx
push 0x774040
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
test eax, eax
js 0x460a2c
cmp eax, 1
je 0x460a2c
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
xor esi, esi
mov ecx, dword [ebp - 0x164]
lea edx, [ebp - 0x15c]
push 0
push edx
push 1
mov eax, dword [ecx]
push ecx
mov dword [ebp - 0x174], esi
call dword [eax + 0xc]
test eax, eax
jne 0x46042d
mov ecx, dword [ebp - 0x15c]
test ecx, ecx
je 0x460427
mov eax, dword [ecx]
lea edx, [ebp - 0x150]
push edx
push 0x773fb0
push 0
push 0
push ecx
call dword [eax + 0x20]
test eax, eax
js 0x46041b
mov ecx, dword [ebp - 0x154]
push str.Capture_Filter
push dword [ebp - 0x150]
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
test eax, eax
js 0x46040f
mov ecx, dword [ebp - 0x154]
lea edx, [ebp - 0x158]
push edx
push 0x773fa0
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
js 0x46040f
mov ecx, dword [ebp - 0x148]
lea edx, [ebp - 0x48]
push edx
push 0x773fe0
push dword [ebp - 0x150]
mov dword [ebp - 0x48], 0
mov eax, dword [ecx]
push 0x773ff0
push 0x774050
push ecx
call dword [eax + 0x18]
test eax, eax
js 0x45fcee
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x45fcee
mov dword [ebp - 0x14c], 0
lea edx, [ebp - 0x14c]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x10]
test eax, eax
js 0x45fce5
mov edx, dword [ebp - 0x14c]
mov eax, dword [edx + 0x44]
test eax, eax
je 0x45fc9b
mov dword [eax + 0x44], 0x100000
mov dword [eax + 0x28], 0x51615
mov dword [eax + 0x2c], 0
mov edx, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x48]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp - 0x14c]
test esi, esi
je 0x45fcdf
cmp dword [esi + 0x40], 0
je 0x45fcc8
push dword [esi + 0x44]
call edi
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x45fcdc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x3c], 0
push esi
call edi
mov esi, dword [ebp - 0x174]
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, esi
lea ecx, [ebp - 0x1a8]
call fcn.0048bcc0
mov byte [ebp - 4], 0x11
mov eax, bind
mov ecx, dword [ebp - 0x7c]
sub eax, ecx
cmp eax, 8
jb 0x460a14
cmp dword [ebp - 0x78], 7
lea eax, [ebp - 0x8c]
push 8
cmova eax, dword [ebp - 0x8c]
push str.webcam_
push ecx
push eax
push ecx
push dword [ebp - 0x16c]
lea ecx, [ebp - 0x18c]
call fcn.00493f50
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x18c]
push eax
push dword [ebp - 0x16c]
lea ecx, [ebp - 0x1c0]
call fcn.00493d40
push str..avi
lea edx, [ebp - 0x1c0]
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x44]
call fcn.0048c730
add esp, 4
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x1ac]
cmp ecx, 7
jbe 0x45fdbf
mov edx, dword [ebp - 0x1c0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45fdb5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45fe52
push ecx
push edx
call fcn.006db5f6
add esp, 8
xor eax, eax
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 7
mov word [ebp - 0x1c0], ax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x178]
cmp ecx, 7
jbe 0x45fe1c
mov edx, dword [ebp - 0x18c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45fe12
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45fe52
push ecx
push edx
call fcn.006db5f6
add esp, 8
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x194]
cmp ecx, 7
jbe 0x45fe62
mov edx, dword [ebp - 0x1a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45fe58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45fe58
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.006db5f6
add esp, 8
mov edx, dword [ebp - 0x148]
lea esi, [ebp - 0x168]
cmp dword [ebp - 0x30], 7
push 0
push esi
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
push eax
push 0x774000
push edx
call ecx
mov esi, dword [ebp - 0x174]
test eax, eax
js 0x4603c3
push dword [ebp - 0x168]
mov ecx, dword [ebp - 0x148]
push 0
push dword [ebp - 0x150]
mov eax, dword [ecx]
push 0x773ff0
push 0x774050
push ecx
call dword [eax + 0x1c]
test eax, eax
js 0x4603c3
mov eax, dword [ebp - 0x158]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x158]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov byte [ebp - 0x58], 0
lea edx, [ebp - 0x44]
push dword [ebp - 0x58]
lea ecx, [ebp - 0x18c]
call fcn.004964c0
add esp, 4
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x18
call fcn.0044ec00
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x178]
mov byte [ebp - 0x16d], al
cmp ecx, 7
jbe 0x45ff60
mov edx, dword [ebp - 0x18c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45ff50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45ff50
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.006db5f6
mov al, byte [ebp - 0x16d]
add esp, 8
test al, al
je 0x4603c3
mov byte [ebp - 0x50], 0
lea edx, [ebp - 0x44]
push dword [ebp - 0x50]
lea ecx, [ebp - 0x18c]
call fcn.004964c0
add esp, 4
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0x19
call fcn.0044eca0
mov byte [ebp - 4], 0x17
mov esi, eax
mov ecx, dword [ebp - 0x178]
mov edi, edx
cmp ecx, 7
jbe 0x45ffd9
mov edx, dword [ebp - 0x18c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45ffcf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45ffcf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.006db5f6
add esp, 8
test edi, edi
jne 0x45ffe9
cmp esi, 0xf00000
jbe 0x4603b7
push 0x50
lea eax, [ebp - 0x144]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x144]
call fcn.00482e30
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 7
mov eax, dword [ebp - 0x34]
cmova ecx, dword [ebp - 0x44]
lea eax, [ecx + eax*2]
push eax
push ecx
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x144]
call fcn.00488140
lea ecx, [ebp - 0x144]
call fcn.00482d70
push edi
push esi
lea ecx, [ebp - 0x17]
mov byte [ebp - 4], 0x1b
call fcn.004963a0
add esp, 4
lea ecx, [ebp - 0x17]
push ecx
push eax
lea ecx, [ebp - 0x1d8]
call fcn.0048d4e0
lea eax, [ebp - 0x1d8]
mov byte [ebp - 4], 0x1c
push eax
mov edx, str.webcam_file_over_10mb_deleted_Size:
lea ecx, [ebp - 0x1a8]
call fcn.0048d1e0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0x1d
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 7
jb 0x4600b7
lea eax, [ecx + 7]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x46009e
mov eax, dword [edi]
push 7
lea esi, [eax + ecx]
push str._file:
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 7], 0
jmp 0x4600cf
push 7
push str._file:
push dword [ebp - 0x16c]
mov ecx, edi
push 7
call fcn.0048fd00
mov edi, eax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x18c], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x17c], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x18c]
push eax
push dword [ebp - 0x16c]
lea ecx, [ebp - 0x74]
call fcn.00494060
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x178]
cmp ecx, 0xf
jbe 0x460155
mov edx, dword [ebp - 0x18c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x46014b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460233
push ecx
push edx
call fcn.006db5f6
add esp, 8
mov byte [ebp - 4], 0x21
mov ecx, dword [ebp - 0x194]
cmp ecx, 0xf
jbe 0x460193
mov edx, dword [ebp - 0x1a8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x460189
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460233
push ecx
push edx
call fcn.006db5f6
add esp, 8
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0xf
mov byte [ebp - 0x1a8], 0
mov byte [ebp - 4], 0x22
mov ecx, dword [ebp - 0x1c4]
cmp ecx, 0xf
jbe 0x4601e8
mov edx, dword [ebp - 0x1d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4601de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460233
push ecx
push edx
call fcn.006db5f6
add esp, 8
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 0xf
mov byte [ebp - 0x1d8], 0
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x90]
cmp ecx, 0xf
jbe 0x460243
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x460239
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x460239
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.006db5f6
add esp, 8
cmp dword [ebp - 0x60], 0xf
lea ecx, [ebp - 0x74]
mov eax, dword [ebp - 0x74]
mov edx, dword [0x790f80]
cmova ecx, eax
mov edi, dword [ebp - 0x64]
mov dword [ebp - 0x190], eax
mov eax, dword [0x790f84]
sub eax, edx
mov dword [ebp - 0x14c], edx
push edi
push ecx
cmp edi, eax
ja 0x4602ae
cmp dword [0x790f84], 0xf
lea eax, [edi + edx]
mov esi, 0x790f70
mov dword [0x790f80], eax
cmova esi, dword [0x790f70]
lea eax, [esi + edx]
push eax
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x14c]
lea eax, [edi + esi]
mov esi, dword [ebp - 0x190]
add esp, 0xc
mov byte [eax + ecx], 0
jmp 0x4602c2
push dword [ebp - 0x16c]
mov ecx, 0x790f70
push edi
call fcn.0048fd00
mov esi, dword [ebp - 0x74]
mov edi, dword [0x790f84]
mov ecx, 0x790f70
mov edx, dword [0x790f80]
mov eax, edi
sub eax, edx
cmp eax, 1
jb 0x4602fd
cmp edi, 0xf
lea eax, [edx + 1]
mov dword [0x790f80], eax
cmova ecx, dword [0x790f70]
mov al, byte [0x7744fc]
mov byte [ecx + edx], al
mov byte [ecx + edx + 1], 0
jmp 0x460311
push 1
push 0x7744fc
push dword [ebp - 0x16c]
push 1
call fcn.0048fd00
mov byte [ebp - 0x16c], 0
lea edx, [ebp - 0x44]
push dword [ebp - 0x16c]
lea ecx, [ebp - 0xa4]
call fcn.004964c0
add esp, 4
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x24
call fcn.0044ed00
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x90]
cmp ecx, 7
jbe 0x460384
mov edx, dword [ebp - 0xa4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46037a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46037a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.006db5f6
add esp, 8
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x60]
cmp eax, 0xf
jbe 0x4603b7
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x4603ad
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4603ff
push ecx
push esi
call fcn.006db5f6
add esp, 8
mov esi, dword [ebp - 0x174]
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x158]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x46040f
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x460405
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x460405
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.006db5f6
add esp, 8
mov eax, dword [ebp - 0x150]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x15c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
inc esi
jmp 0x45fb8a
mov eax, dword [ebp - 0x148]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x154]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x160]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x164]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
lea edx, [ebp - 0x8c]
mov byte [ebp - 0x16c], al
lea ecx, [ebp - 0x18c]
push dword [ebp - 0x16c]
mov byte [ebp - 0x16d], al
call fcn.004964c0
add esp, 4
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
push ecx
lea edx, [ebp - 0x18c]
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x5c]
call fcn.0048c2e0
add esp, 4
test eax, eax
jne 0x460a19
mov byte [ebp - 4], 0x28
mov ecx, dword [ebp - 0x178]
cmp ecx, 7
jbe 0x4604fd
mov edx, dword [ebp - 0x18c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4604f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4604f3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.006db5f6
add esp, 8
mov edi, dword [ebp - 0x58]
xorps xmm0, xmm0
movlpd qword [ebp - 0x54], xmm0
test edi, edi
je 0x460510
lock inc dword [edi + 4]
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edi
test edi, edi
je 0x460521
lock inc dword [edi + 4]
movlpd qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
test edi, edi
je 0x460559
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x460559
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x460559
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0x2a
nop dword [eax]
test esi, esi
je 0x46065e
mov byte [ebp - 0x16c], 0
lea ecx, [ebp - 0x74]
push dword [ebp - 0x16c]
call fcn.00497030
add esp, 4
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0x2b
lea ecx, [esi + 0x20]
push eax
call fcn.0044da90
cmp dword [ebp - 0x60], 7
lea ecx, [ebp - 0x74]
push dword [ebp - 0x64]
mov esi, dword [ebp - 0x74]
cmova ecx, esi
push ecx
mov ecx, eax
call fcn.0044d910
mov ecx, dword [ebp - 0x194]
mov dword [ebp - 0x190], eax
cmp ecx, 7
jbe 0x4605f0
mov edx, dword [ebp - 0x1a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4605e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46063a
push ecx
push edx
call fcn.006db5f6
mov esi, dword [ebp - 0x74]
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x2a
mov word [ebp - 0x1a8], ax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 7
cmp eax, 7
jbe 0x46064a
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x460640
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x460640
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.006db5f6
add esp, 8
cmp dword [ebp - 0x190], 0
jne 0x460724
mov byte [ebp - 0x16d], 1
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x460686
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x460686
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x460686
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 8
test edi, edi
je 0x4606af
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4606af
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x4606af
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
cmp byte [ebp - 0x16d], 0
jne 0x46073e
mov byte [ebp - 0x16c], 0
lea edx, [ebp - 0x8c]
push dword [ebp - 0x16c]
lea ecx, [ebp - 0xa4]
call fcn.004964c0
add esp, 4
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x2c
call fcn.0044f270
mov ecx, dword [ebp - 0x90]
cmp ecx, 7
jbe 0x46073e
mov edx, dword [ebp - 0xa4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x460734
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x460734
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea ecx, [ebp - 0x54]
call fcn.0044eba0
mov esi, dword [ebp - 0x54]
jmp 0x460560
push ecx
push edx
call fcn.006db5f6
add esp, 8
lea ecx, [ebp - 0xf4]
call fcn.004829a0
mov ecx, dword [ebp - 0x78]
cmp ecx, 7
jbe 0x460782
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x460778
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4607bf
push ecx
push edx
call fcn.006db5f6
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
cmp ecx, 0xf
jbe 0x4607cf
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4607c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4607c5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.006db5f6
add esp, 8
xor eax, eax
jmp 0x4609f8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006daf70
mov esp, ebp
pop ebp
ret
call fcn.0044bad0
lea ecx, [ebp - 0x18c]
mov edx, eax
push ecx
mov ecx, str.directory_iterator::directory_iterator
call fcn.0044e4f0
push str.Failed_to_get_webcam
lea ecx, [ebp - 0xa4]
call fcn.004511a0
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x10
call fcn.00451140
push 0x774272
lea ecx, [ebp - 0x1e4]
call fcn.0044bae0
push 0x787e60
lea eax, [ebp - 0x1e4]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3