Function at 0x6119f5
Capabilities:
Capture webcam image

Disassembly:
mov eax, 0x680e3c
call fcn.006313fc
sub esp, 0x60
push ebx
push ebp
mov ebp, dword [esp + 0x7c]
push esi
push edi
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], edi
dec eax
je 0x611c95
sub eax, 0x10000
je 0x611bd5
dec eax
jne 0x611c91
cmp dword [ebp + 0x24], 3
jne 0x611c91
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x20]
push eax
push 0
push 0x41a
push dword [ebp]
call ebx
push dword [edi + 0x50]
lea eax, [esp + 0x24]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_FillRect]
mov esi, dword [esp + 0x2c]
mov eax, esi
mov ecx, dword [esp + 0x24]
sub eax, ecx
sub eax, 4
cdq
sub eax, edx
sar eax, 1
add ecx, eax
sub esi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0x24], ecx
push eax
push dword [edi + 4]
mov dword [esp + 0x34], esi
call dword [sym.imp.USER32.dll_GetClientRect]
and dword [esp + 0x20], 0
lea esi, [esp + 0x20]
mov eax, dword [esp + 0x58]
lea edi, [esp + 0x40]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x60]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push 0x419
push dword [ebp]
call ebx
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x30]
cmp dword [eax + 4], esi
je 0x611b89
push 0x6ac
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp], eax
jne 0x611b89
mov ecx, dword [edi + 0x30]
push dword [ebp + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x88]
mov eax, dword [eax + 0x60]
mov dword [esp + 0x18], eax
call fcn.0058f06e
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x78], esi
cmp dword [esp + 0x10], esi
je 0x611b76
mov eax, dword [edi + 0x30]
lea ecx, [esp + 0x10]
push ecx
push 0x60fed7
mov eax, dword [eax + 4]
push dword [eax + 0x64]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.005873e1
mov ecx, dword [esp + 0x2c]
mov esi, eax
sub ecx, dword [esp + 0x24]
push esi
push ecx
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
push ecx
push dword [esp + 0x30]
lea ecx, [esp + 0x94]
push dword [esp + 0x30]
call fcn.0058f545
push esi
call ebx
or dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x84]
call fcn.00409edb
jmp 0x611bae
push 0x717171
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
lea eax, [esp + 0x20]
push esi
push eax
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_FillRect]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call ebx
call fcn.005a1683
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
lea eax, [esp + 0x40]
push esi
push eax
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_FillRect]
push esi
call ebx
push 4
jmp 0x611c97
cmp dword [ebp + 0x24], 2
jne 0x611c87
mov edi, 0x798398
lea esi, [ebp + 0x14]
xor ebx, ebx
mov ecx, 0x770614
push ebx
push 0x61
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp + 0x14]
lea edi, [esp + 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.005ca112
mov esi, eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x3c]
add eax, 0x10
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x3c]
add eax, 0x10
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push 3
push ebx
push ebx
push eax
mov eax, dword [esp + 0x48]
sub eax, ecx
inc eax
push eax
push esi
push dword [esp + 0x4c]
lea eax, [ecx - 1]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_DrawIconEx]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edi, dword [esp + 0x10]
push 4
jmp 0x611c97
cmp dword [ebp + 0x24], 3
jne 0x611c91
push 0x14
jmp 0x611c97
xor eax, eax
jmp 0x611c98
push 0x30
pop eax
or dword [edi + 0x10], 0x40
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov dword [0x791128], eax
pop ebx
mov dword fs:[0], ecx
leave
ret 4