Function at 0x412e7d
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xc], ebx
call fcn.004058fe
lea eax, [ebp - 0x18]
mov ecx, 0x428ca8
push eax
mov dword [ebp - 0x18], 0x422420
call fcn.0040a4ba
push 0x425bec
push 2
pop edi
lea eax, [ebp - 0x28]
push edi
push ebx
push eax
lea ecx, [ebp - 0x18]
call fcn.00408280
mov ecx, eax
call fcn.004049ee
lea ecx, [ebp - 0x28]
mov byte [ebp - 1], al
call fcn.004016fd
cmp byte [ebp - 1], bl
je 0x412f2f
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0xf1
push dword [esi + 0x58]
call ebx
push 0x417
mov ecx, esi
call fcn.00413161
push edi
lea eax, [ebp - 0x28]
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.00408280
mov edi, eax
mov ecx, edi
call fcn.00401876
mov edi, dword [edi + 4]
push 0xa
push edi
call fcn.00404954
pop ecx
pop ecx
push 0
push eax
push 0x14e
push dword [esi + 0x74]
call ebx
lea ecx, [ebp - 0x28]
jmp 0x4130b4
push 0x425bc8
push edi
lea eax, [ebp - 0x28]
push ebx
push eax
lea ecx, [ebp - 0x18]
call fcn.00408280
mov ecx, eax
call fcn.004049ee
lea ecx, [ebp - 0x28]
mov byte [ebp - 1], al
call fcn.004016fd
cmp byte [ebp - 1], 0
push ebx
push 1
push 0xf1
je 0x41302d
push dword [esi + 0x60]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
call ebx
push 0x419
mov ecx, esi
call fcn.00413161
push edi
lea eax, [ebp - 0x28]
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.00408280
mov edi, eax
mov ecx, edi
call fcn.00401876
mov edi, dword [edi + 4]
push 0xa
push edi
call fcn.00404954
pop ecx
mov edi, 0x14e
pop ecx
push 0
push eax
push edi
push dword [esi + 0x74]
call ebx
lea ecx, [ebp - 0x28]
call fcn.004016fd
push 1
lea eax, [ebp - 0x28]
push 4
push eax
lea ecx, [ebp - 0x18]
call fcn.00408280
mov ecx, eax
mov dword [ebp - 8], eax
call fcn.00401876
mov eax, dword [ebp - 8]
push 0xa
mov eax, dword [eax + 4]
push eax
call fcn.00404954
pop ecx
pop ecx
push 0
push eax
push edi
push dword [esi + 0x70]
call ebx
lea ecx, [ebp - 0x28]
call fcn.004016fd
push 1
lea eax, [ebp - 0x28]
push 5
push eax
lea ecx, [ebp - 0x18]
call fcn.00408280
mov ecx, eax
mov dword [ebp - 8], eax
call fcn.00401876
mov eax, dword [ebp - 8]
push 0xa
mov eax, dword [eax + 4]
push eax
call fcn.00404954
pop ecx
pop ecx
push 0
push eax
push edi
push dword [esi + 0x6c]
call ebx
lea ecx, [ebp - 0x28]
jmp 0x4130b4
push dword [esi + 0x5c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
call ebx
push 0x418
mov ecx, esi
call fcn.00413161
push edi
lea eax, [ebp - 0x28]
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.00408280
mov edi, eax
mov ecx, edi
call fcn.00401876
mov edi, dword [edi + 4]
push 0xa
push edi
call fcn.00404954
pop ecx
mov edi, 0x14e
pop ecx
push 0
push eax
push edi
push dword [esi + 0x74]
call ebx
lea ecx, [ebp - 0x28]
call fcn.004016fd
push 1
lea eax, [ebp - 0x28]
push 4
push eax
lea ecx, [ebp - 0x18]
call fcn.00408280
mov ecx, eax
mov dword [ebp - 8], eax
call fcn.00401876
mov eax, dword [ebp - 8]
push 0xa
mov eax, dword [eax + 4]
push eax
call fcn.00404954
pop ecx
pop ecx
push 0
push eax
push edi
push dword [esi + 0x70]
call ebx
lea ecx, [ebp - 0x28]
call fcn.004016fd
cmp dword [ebp - 0xc], 0
jne 0x4130c3
xor eax, eax
jmp 0x4130cc
push dword [ebp - 0xc]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
setne al
push eax
mov ecx, esi
call fcn.004130e6
lea ecx, [ebp - 0x18]
call fcn.004016fd
pop edi
pop esi
pop ebx
leave
ret