Function at 0x403a30
Capabilities:
Enumerate devices by category

Disassembly:
mov eax, dword [0x409920]
sub esp, 0x74
push ebx
push ebp
push esi
push edi
push 1
push eax
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov esi, eax
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_RemoveMenu]
lea ecx, [esp + 0x18]
push ecx
push 0x407300
push 1
push 0
push 0x4073c0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, dword [sym.imp.USER32.dll_AppendMenuA]
test eax, eax
jne 0x403b9d
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edx, dword [eax]
push 0x4073b0
push eax
call dword [edx + 0xc]
mov edi, eax
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
test edi, edi
je 0x403abe
push str.Sorry__you_have_no_video_capture_hardware
call fcn.00404a30
add esp, 4
jmp 0x403b9d
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
mov edx, dword [eax]
push ecx
push 1
push eax
call dword [edx + 0xc]
test eax, eax
jne 0x403b87
mov edi, 0x10
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push 0x407440
mov edx, dword [eax]
push 0
push 0
push eax
call dword [edx + 0x24]
test eax, eax
jl 0x403b5e
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push 0
mov word [esp + 0x28], 8
mov edx, dword [eax]
push ecx
push str.FriendlyName
push eax
call dword [edx + 0xc]
test eax, eax
jne 0x403b54
push eax
push eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x3c]
push 0x50
push edx
push 0xffffffffffffffff
push eax
push 0
push 0
call ebp
lea ecx, [esp + 0x34]
push ecx
push edi
push 0
push esi
call ebx
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x18]
mov ecx, dword [eax]
push edx
push 1
push eax
inc edi
call dword [ecx + 0xc]
test eax, eax
je 0x403aeb
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0
push 0
push 0x800
push esi
call ebx
lea edx, [esp + 0x18]
push edx
push 0x407300
push 1
push 0
push 0x4073c0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x403cbb
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push 0
push edx
mov ecx, dword [eax]
push 0x4073a0
push eax
call dword [ecx + 0xc]
mov edi, eax
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test edi, edi
jne 0x403cbb
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x18]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x403cb1
mov edi, 0x1a
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push 0x407440
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x403c88
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
push 0
mov word [esp + 0x28], 8
mov ecx, dword [eax]
push edx
push str.FriendlyName
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x403c7e
mov ecx, dword [esp + 0x2c]
push eax
push eax
lea eax, [esp + 0x3c]
push 0x50
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call ebp
lea edx, [esp + 0x34]
push edx
push edi
push 0
push esi
call ebx
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x18]
mov ecx, dword [eax]
push edx
push 1
push eax
inc edi
call dword [ecx + 0xc]
test eax, eax
je 0x403c15
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret