Function at 0x6d7f40
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7804b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
mov esi, ecx
pxor xmm0, xmm0
movq qword [ebp - 0x84], xmm0
movq qword [ebp - 0x7c], xmm0
movq qword [ebp - 0x74], xmm0
movq qword [ebp - 0x6c], xmm0
movq qword [ebp - 0x64], xmm0
movq qword [ebp - 0x5c], xmm0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x84], 0x28
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], 1
call fcn.006a76f0
cmp eax, 0x1d6
jl 0x6d7fb5
or dword [ebp - 0x80], 0x100
mov eax, dword [esi + 8]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x60], eax
call fcn.006d8260
test eax, eax
je 0x6d8157
lea edx, [ebp - 0x84]
push edx
push 0
push 0x432
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x6d8157
push 0
push 0xa
lea ebx, [esi + 8]
mov ecx, ebx
call fcn.006207e0
cmp eax, 0xffffffff
je 0x6d8157
call fcn.006a76f0
cmp eax, 0x1d6
jl 0x6d8120
call fcn.006d8260
test eax, eax
je 0x6d802e
xor edx, edx
push edx
push edx
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
jne 0x6d8038
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov esi, eax
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], eax
push esi
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [0x7a1f64]
push 0
push 0x790564
lea ecx, [ebp - 0x38]
call fcn.00621d00
mov dword [ebp - 4], 6
lea eax, [ebp - 0x38]
push 0
push eax
push ebx
lea ecx, [ebp - 0x54]
call fcn.006268e0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x6d809b
dec eax
mov dword [ecx], eax
jne 0x6d809b
call fcn.0061ff50
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x54]
call fcn.00626700
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x6d8258
xor ebx, ebx
lea eax, [ebp - 0x30]
push eax
push dword [edx - 8]
push edx
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x18]
push edx
cmp eax, ebx
cmovge ebx, eax
lea ecx, [ebp - 0x54]
call fcn.00626700
mov dword [ebp - 4], 5
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.00620770
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x6d8114
dec eax
mov dword [ecx], eax
jne 0x6d8114
call fcn.0061ff50
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 8]
test eax, eax
jne 0x6d80be
jmp 0x6d818b
push 1
push 0x7b3980
mov ecx, ebx
push 0x790564
call fcn.0061ff60
mov eax, dword [esi + 8]
mov dword [ebp - 0x60], eax
call fcn.006d8260
test eax, eax
je 0x6d8157
lea edx, [ebp - 0x84]
push edx
push 0
push 0x432
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.006d8260
test eax, eax
je 0x6d81a6
xor edx, edx
push edx
push edx
push 0x419
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x6d81a8
xor eax, eax
cmp ebx, eax
jle 0x6d81c4
call fcn.006d8260
test eax, eax
je 0x6d81c4
push ebx
push 0
push 0x418
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x6d81e2
dec eax
mov dword [ecx], eax
jne 0x6d81e2
call fcn.0061ff50
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x54]
mov dword [ebp - 0x34], eax
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x6d8206
dec eax
mov dword [ecx], eax
jne 0x6d8206
call fcn.0061ff50
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x6d8224
dec eax
mov dword [ecx], eax
jne 0x6d8224
call fcn.0061ff50
mov dword [ebp - 4], 0
mov dword [ebp - 0x54], 0x88d7b4
lea ecx, [ebp - 0x54]
call fcn.0061de50
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x6d8157
xor ebx, ebx
jmp 0x6d818b