Function at 0x63088a30
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x13c
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
push ecx
push ecx
jne 0x63088fa4
lea eax, [ebp + 0x14]
mov dword [esp + 0xc], 0x630cf990
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x630cd270
mov dword [esp + 0x10], eax
mov ebx, dword [sym.imp.ole32.dll_CoCreateInstance]
call ebx
sub esp, 0x14
test eax, eax
jne 0x63088fa4
lea eax, [ebp + 0x18]
mov dword [esp + 0xc], 0x630cf140
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x630ccf60
mov dword [esp + 0x10], eax
call ebx
sub esp, 0x14
test eax, eax
jne 0x63088fa4
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0xc]
test eax, eax
push edx
push edx
jne 0x63088fa4
lea eax, [ebp + 8]
mov dword [esp + 0xc], 0x630d2110
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x630cd8e0
mov dword [esp + 0x10], eax
call ebx
sub esp, 0x14
test eax, eax
jne 0x63088fa4
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
mov edx, dword [eax]
mov dword [esp + 0xc], 0
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x630cdb70
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x10
test eax, eax
jne 0x63088fa4
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 0x10]
mov edx, dword [eax]
mov dword [esp + 0xc], 0
mov dword [esp + 8], ecx
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x10
test eax, eax
jne 0x63088fa4
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 0x1c]
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x630cef00
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x20]
sub esp, 0x14
test eax, eax
jne 0x63088fa4
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [eax]
mov dword [esp + 8], str.Capture_Filter
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
test eax, eax
jne 0x63088fa4
lea eax, [ebp + 0x20]
mov dword [esp + 0xc], 0x630cef00
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x630cd840
mov dword [esp + 0x10], eax
call ebx
sub esp, 0x14
test eax, eax
jne 0x63088fa4
mov eax, dword [ebp + 0x20]
lea ecx, [ebp + 0x24]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x630d06d0
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
test eax, eax
jne 0x63088fa4
mov eax, dword [ebp + 0x24]
mov edx, dword [eax]
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [edx + 0x18]
test eax, eax
push edi
push edi
jne 0x63088fa4
lea edx, [ebp - 0x60]
mov ecx, 0x12
mov esi, str.vids
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x24]
mov edi, edx
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x50]
mov esi, 0x630d17b0
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [ecx + 0x10]
test eax, eax
push esi
push esi
jne 0x63088fa4
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x20]
mov edx, dword [eax]
mov dword [esp + 8], str.SampleGrab
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
test eax, eax
jne 0x63088fa4
lea eax, [ebp + 0x28]
mov dword [esp + 0xc], 0x630cef00
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x630cd7a0
mov dword [esp + 0x10], eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
jne 0x63088fa4
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x28]
mov edx, dword [eax]
mov dword [esp + 8], str.NullRender
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
test eax, eax
jne 0x63088fa4
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x28]
mov edx, dword [eax]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 8], str.vids
mov dword [esp + 4], 0x630d1ba0
mov dword [esp], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0xc], ecx
call dword [edx + 0x1c]
sub esp, 0x18
test eax, eax
jne 0x63088fa4
mov eax, dword [ebp + 0x14]
lea ecx, [ebp + 0x2c]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x630d0080
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
test eax, eax
jne 0x63088fa4
mov eax, dword [ebp + 0x2c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0x1c]
test eax, eax
push ebx
je 0x63088d73
dec eax
jmp 0x63088d5a
lea ebx, [ebp - 0xf8]
mov dword [ebp - 0xf8], 0
mov eax, dword [ebp + 0x24]
mov edx, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x1c]
sub esp, 0xc
test eax, eax
jne 0x63088daa
cmp dword [ebp - 0xf8], 0
jne 0x63088dba
test eax, eax
je 0x63088d83
cmp eax, 0x80040227
je 0x63088d83
jmp 0x63088fa4
mov eax, dword [ebp + 0x2c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0x24]
mov eax, dword [ebp - 0xf8]
push ecx
mov dword [esp], eax
call fcn.630b83d0
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0x24]
mov edi, dword [ebp - 0x118]
mov edx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp], eax
call dword [edx + 0x1c]
sub esp, 0xc
test eax, eax
jne 0x63088fa4
mov eax, dword [ebp + 0x24]
lea ecx, [ebp - 0x60]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x14]
test eax, eax
push edx
push edx
jne 0x63088fa4
lea eax, [ebp - 0x34]
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0x630cdf40
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x63088fa4
cmp dword [ebp - 0x20], 0x57
jbe 0x63088fa4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x63088fa4
mov dword [esp], 0
add ebx, 0x30
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov eax, dword [ebp - 0x118]
push edx
mov dword [esp + 0x10], ebx
mov dword [esp + 4], ebx
lea ebx, [ebp - 0xa8]
mov dword [esp], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 4
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
sub esp, 0x18
mov dword [ebp - 0x108], eax
mov dword [esp + 4], esi
mov dword [esp], 0
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [ebp - 0xe8]
push ecx
push ecx
mov dword [ebp - 0xe8], 1
mov dword [ebp - 0xe4], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0xf4]
mov dword [esp + 8], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [esp], eax
call sub.gdiplus.dll_GdiplusStartup
mov eax, dword [ebp - 0x108]
sub esp, 0xc
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.630b7994
mov dword [esp + 4], ebx
mov dword [ebp - 0x114], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0xa8], 0
mov dword [esp], eax
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
push esi
push esi
je 0x63088f41
mov edi, dword [ebp - 0x114]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x114]
mov dword [esp + 4], ebx
mov esi, dword [ebp - 0xa8]
mov dword [ebp - 0xa8], 0
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
push edi
push edi
je 0x63088f75
mov edi, dword [ebp - 0x114]
mov dword [edi + 8], eax
lea eax, [ebp - 0xd8]
mov dword [esp], str.image_jpeg
mov ebx, dword [ebp - 0xa8]
mov dword [esp + 4], eax
call fcn.63088547
inc eax
jne 0x63088fab
mov eax, dword [ebp - 0x108]
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
xor eax, eax
jmp 0x630892f8
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], 0
cmp ebx, esi
fild qword [ebp - 0x120]
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0xec], 0x33
fild qword [ebp - 0x120]
fdivp st(1)
jae 0x63089025
fdivr dword [0x630c6df8]
fnstcw word [ebp - 0x102]
mov ax, word [ebp - 0x102]
mov esi, 0x280
or ah, 0xc
mov word [ebp - 0x104], ax
fldcw word [ebp - 0x104]
fistp qword [ebp - 0x110]
fldcw word [ebp - 0x102]
mov eax, dword [ebp - 0x110]
mov edi, eax
jmp 0x63089061
fmul dword [0x630c6dfc]
fnstcw word [ebp - 0x102]
mov ax, word [ebp - 0x102]
mov edi, 0x1e0
or ah, 0xc
mov word [ebp - 0x104], ax
fldcw word [ebp - 0x104]
fistp qword [ebp - 0x110]
fldcw word [ebp - 0x102]
mov eax, dword [ebp - 0x110]
mov esi, eax
mov ecx, dword [ebp - 0x114]
call fcn.630b78f0
mov dword [esp], 0xc
mov dword [ebp - 0x120], eax
call sub.gdiplus.dll_GdipAlloc
mov edx, dword [ebp - 0x120]
push ebx
mov ecx, eax
mov ebx, eax
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 8], edx
call fcn.630b7a18
sub esp, 0xc
xor eax, eax
test ebx, ebx
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
je 0x630890b9
mov eax, dword [ebx + 4]
lea edx, [ebp - 0xa8]
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x114]
push ecx
push ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
call sub.gdiplus.dll_GdipDrawImageRectI
sub esp, 0x18
test eax, eax
je 0x63089113
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xec]
lea edi, [ebp - 0xc4]
mov esi, 0x630cde30
mov ecx, 4
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0xb4], 1
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], 4
mov dword [esp], eax
call sub.gdiplus.dll_GdipDeleteGraphics
lea eax, [ebp - 0xf0]
push edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea eax, [ebp - 0xc8]
sub esp, 0xc
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xd8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xf0]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.gdiplus.dll_GdipSaveImageToStream
sub esp, 0x10
test eax, eax
je 0x630891b3
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0xa8]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [edx + 0x30]
mov eax, dword [ebp - 0xa0]
sub esp, 0xc
cmp eax, dword [ebp + 0x34]
cmova eax, dword [ebp + 0x34]
mov esi, dword [ebp + 0x38]
mov dword [esi], eax
mov eax, dword [ebp - 0xf0]
mov edx, dword [eax]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [edx + 0x14]
mov eax, dword [ebp - 0xf0]
mov edi, dword [ebp + 0x38]
lea ecx, [ebp - 0xec]
sub esp, 0x14
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov ecx, dword [edi]
mov dword [esp], eax
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 0x30]
mov dword [esp + 4], ecx
call dword [edx + 0xc]
mov eax, dword [ebp - 0xf0]
sub esp, 0x10
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x114]
mov eax, dword [eax]
call dword [eax + 4]
mov eax, dword [ebp - 0x118]
mov dword [esp], eax
call fcn.630b83b0
mov eax, dword [ebp - 0x108]
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push eax
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
call sub.gdiplus.dll_GdiplusShutdown
cmp dword [ebp - 0x20], 0
push eax
je 0x630892b9
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x24]
mov al, 1
test edx, edx
je 0x630892f8
mov eax, dword [edx]
mov dword [esp], edx
call dword [eax + 8]
push eax
mov al, 1
jmp 0x630892f8
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret