Function at 0x64ee75
Capabilities:
Capture webcam image

Disassembly:
mov eax, 0x6b02ef
call fcn.0066bd6c
sub esp, 0x64
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x10], edi
sub eax, 1
je 0x64f0e5
sub eax, 1
je 0x64f0e1
sub eax, 0xffff
je 0x64f037
sub eax, 1
jne 0x64f0e1
cmp dword [ebx + 0x24], 3
jne 0x64f0e1
lea eax, [ebp - 0x30]
push eax
push 0
push 0x41a
push dword [ebx]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
call ebx
push dword [edi + 0x58]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_FillRect]
mov esi, dword [ebp - 0x24]
mov eax, esi
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
sub eax, 4
cdq
sub eax, edx
sar eax, 1
add ecx, eax
sub esi, eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x2c], ecx
push eax
push dword [edi + 4]
mov dword [ebp - 0x24], esi
call dword [sym.imp.USER32.dll_GetClientRect]
and dword [ebp - 0x30], 0
lea esi, [ebp - 0x30]
mov eax, dword [ebp - 0x58]
lea edi, [ebp - 0x50]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
push eax
push 0
push 0x419
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
push dword [edi]
call ebx
mov esi, dword [ebp - 0x10]
xor ebx, ebx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x38]
cmp dword [eax + 4], ebx
je 0x64efea
push 0x6ac
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [edi], eax
jne 0x64efea
mov ecx, dword [esi + 0x38]
push dword [edi + 0x10]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 4]
lea ecx, [ebp + 8]
mov eax, dword [eax + 0x60]
mov dword [ebp - 0x14], eax
call fcn.00445365
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x64efdc
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi + 0x38]
push 0x64d190
mov eax, dword [eax + 4]
push dword [eax + 0x64]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.005a7a4d
mov ecx, dword [ebp - 0x24]
mov esi, eax
sub ecx, dword [ebp - 0x2c]
push esi
push ecx
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x30]
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp + 8]
push dword [ebp - 0x30]
call fcn.005afef2
push esi
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00427598
jmp 0x64f00e
push 0x717171
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
lea eax, [ebp - 0x30]
push esi
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_FillRect]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call ebx
call fcn.005c9614
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
lea eax, [ebp - 0x50]
push esi
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_FillRect]
push esi
call ebx
mov edi, dword [ebp - 0x10]
push 4
jmp 0x64f0e7
cmp dword [ebx + 0x24], 2
jne 0x64f0d7
mov edi, 0x7fcc34
lea esi, [ebx + 0x14]
mov ecx, 0x7d37ec
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, [ebx + 0x14]
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
push edi
push 0x61
call fcn.005fdec0
mov esi, eax
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x34]
add eax, 0x10
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x38]
add eax, 0x10
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
push 3
push edi
push edi
push eax
mov eax, dword [ebp - 0x38]
sub eax, ecx
inc eax
push eax
push esi
push dword [ebp - 0x3c]
lea eax, [ecx - 1]
push eax
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_DrawIconEx]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebx + 0x10]
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x64f02d
cmp dword [ebx + 0x24], 3
jne 0x64f0e1
push 0x14
jmp 0x64f0e7
xor eax, eax
jmp 0x64f0e8
push 0x30
pop eax
or dword [edi + 0x10], 0x40
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [0x7f6a10], eax
pop ebx
mov dword fs:[0], ecx
leave
ret 4