Function at 0xc4934a
Capabilities:
Capture webcam image

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov edi, ecx
call fcn.00c1c84c
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov ecx, eax
shr ecx, 0x10
movsx ecx, cx
movsx edx, ax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], edx
call fcn.00c4a0d6
xor esi, esi
test al, al
je 0xc493a2
push esi
push dword [edi + 0x13c]
push 0x419
push ebx
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_SendMessageW]
mov edx, eax
mov dword [ebp - 4], edx
cmp edx, 0xffffffff
jne 0xc493ef
lea eax, [ebp - 0x18]
push eax
push esi
push 0x445
push ebx
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_SendMessageW]
mov ecx, dword [ebp + 0xc]
mov edx, eax
mov dword [ebp - 4], edx
call fcn.00c48638
test al, al
je 0xc493ef
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x20
push eax
push edx
push 0x43f
push ebx
mov dword [ebp - 0x3c], 0x80000020
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_SendMessageW]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 4]
mov dword [edi + 0x13c], eax
mov eax, dword [edi + 0x184]
cmp eax, 3
je 0xc49474
mov ecx, dword [ebp + 0xc]
sub ecx, 0x200
je 0xc49562
sub ecx, 1
je 0xc494df
sub ecx, 1
je 0xc494ce
dec ecx
sub ecx, 1
je 0xc49457
sub ecx, 0x9f
jne 0xc49474
sub eax, 1
je 0xc49597
sub eax, 1
jne 0xc49474
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
or dword [ebp - 0x10], 0xffffffff
push eax
push esi
push 0x450
push ebx
mov dword [ebp - 0xc], esi
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_SendMessageW]
jmp 0xc495a4
cmp eax, 2
jne 0xc49468
mov ecx, edi
call fcn.00c45856
jmp 0xc495a4
cmp eax, 1
jne 0xc49474
mov ecx, edi
call fcn.00c4890c
mov ecx, dword [ebp - 8]
push 1
push dword [ebp - 4]
call fcn.00ba4fa1
mov dword [ebp - 0xc], eax
test eax, eax
je 0xc495be
push 1
lea eax, [ebp - 0x18]
push eax
push esi
push ebx
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_MapWindowPoints]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.api_ms_win_rtcore_ntuser_wmpointer_l1_1_0.dll_GetCurrentInputMessageSource]
test eax, eax
je 0xc494ab
mov esi, dword [ebp - 0x20]
push dword [ebp - 0x14]
mov ecx, edi
push dword [ebp - 0x18]
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
push ebx
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.00c47d3c
xor eax, eax
inc eax
jmp 0xc495c0
cmp eax, 2
jne 0xc49468
mov ecx, edi
call fcn.00c48d5b
jmp 0xc495a4
test edx, edx
js 0xc49474
mov ecx, dword [ebp - 8]
xor esi, esi
mov eax, ecx
mov dword [edi + 0x170], ecx
mov dword [edi + 0x178], eax
inc esi
mov eax, edx
mov dword [edi + 0x184], esi
mov dword [edi + 0x17c], eax
mov eax, dword [ebp - 0x18]
push esi
mov dword [edi + 0x188], eax
mov eax, dword [ebp - 0x14]
push edx
mov dword [edi + 0x174], edx
mov dword [edi + 0x18c], eax
call fcn.00ba4fa1
mov edx, dword [ebp - 0x14]
lea esi, [edi + 0x190]
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x180], eax
lea eax, [edx + 1]
push eax
lea eax, [ecx + 1]
push eax
push edx
push ecx
push esi
call dword [sym.imp.api_ms_win_ntuser_rectangle_l1_1_0.dll_SetRect]
push 0x45
call dword [sym.imp.api_ms_win_ntuser_sysparams_l1_1_0.dll_GetSystemMetrics]
push eax
push 0x44
call dword [sym.imp.api_ms_win_ntuser_sysparams_l1_1_0.dll_GetSystemMetrics]
push eax
push esi
call dword [sym.imp.api_ms_win_ntuser_rectangle_l1_1_0.dll_InflateRect]
jmp 0xc495a4
sub eax, 1
je 0xc49580
sub eax, 1
jne 0xc49474
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push ecx
mov ecx, edi
call fcn.00c48a2c
jmp 0xc495a4
push dword [ebp - 0x14]
lea eax, [edi + 0x190]
push dword [ebp - 0x18]
push eax
call dword [sym.imp.api_ms_win_ntuser_rectangle_l1_1_0.dll_PtInRect]
test eax, eax
jne 0xc495a4
push dword [ebp - 0x14]
mov ecx, edi
push dword [ebp - 0x18]
call fcn.00c48f67
cmp dword [edi + 0x184], 1
jne 0xc495be
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00c46bea
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10