Function at 0x10166a0
Capabilities:
Capture webcam image

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], ecx
push 0
lea ecx, [ebp - 0x28]
call fcn.01007f90
lea eax, [ebp - 0x24]
push eax
push 0
push 0x419
mov ecx, dword [ebp - 0x48]
add ecx, 0xfc
call fcn.0101a540
push 2
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0xfc]
push edx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
add ecx, 0x248
call fcn.01022700
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x10167c6
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x48]
add ecx, 0x248
call fcn.0101a110
test eax, eax
je 0x10167c6
push 0x130
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.010111e0
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x30]
mov dword [ebp - 4], edx
lea eax, [ebp - 0x24]
push eax
push 0
push 0x419
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x1c]
jle 0x10167c6
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x30]
mov dword [ebp - 4], ecx
push 0x19b
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x48]
add ecx, 4
call fcn.010111e0
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0100d6b0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0101a630
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 4]
cmp edx, dword [ebp - 0xc]
jle 0x1016812
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x344]
cmp edx, dword [ebp - 0x30]
jne 0x1016850
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x348]
cmp ecx, dword [ebp - 0x2c]
jne 0x1016850
mov edx, dword [ebp - 0x2c]
add edx, 1
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x350], edx
jne 0x1016850
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x48]
cmp dword [edx + 0x34c], ecx
je 0x1016891
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x344], ecx
mov edx, dword [ebp - 0x2c]
sub edx, 1
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x348], edx
mov ecx, dword [ebp - 0x2c]
add ecx, 2
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x350], ecx
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x34c], eax
mov ecx, dword [ebp - 0x48]
call fcn.01016630
mov esp, ebp
pop ebp
ret