Function at 0x1001a675
Capabilities:
Capture webcam image

Disassembly:
push 0x70
mov eax, 0x100eca7f
call fcn.100c74e5
mov eax, dword [ebp + 8]
movzx ebx, ax
mov edi, ecx
mov dword [ebp - 0x60], edi
cmp ebx, 0x65
jne 0x1001a6d8
shr eax, 0x10
cmp eax, 0x100
je 0x1001a6c6
cmp eax, 0x200
je 0x1001a6c2
cmp eax, 0x300
jne 0x1001ab4f
push 0x10102458
push 2
xor eax, eax
mov ebx, edi
call fcn.1001a3d4
jmp 0x1001ab4f
push 0
jmp 0x1001a6c8
push 1
mov esi, dword [edi + 0x1b8]
call fcn.10016376
jmp 0x1001ab4f
cmp ebx, 0x69
jne 0x1001a852
push 0
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea esi, [edi + 4]
push 0x419
push dword [esi]
mov dword [ebp - 0x5c], esi
call ebx
cmp eax, 0xffffffff
je 0x1001ab4f
lea ecx, [ebp - 0x70]
push ecx
push eax
push 0x41d
push dword [esi]
call ebx
test eax, eax
je 0x1001ab4f
mov esi, edi
call fcn.1001af6c
mov esi, dword [ebp - 0x5c]
push 1
push 0x69
push 0x402
push dword [esi]
call ebx
push 0x2c
call fcn.100a20ff
pop ecx
xor ecx, ecx
cmp eax, ecx
je 0x1001a75d
mov edx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [eax + 4], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
mov dword [eax], vtable.CBarPopup.0
mov dword [eax + 0x28], edi
jmp 0x1001a75f
xor eax, eax
mov dword [edi + 0x2f4], eax
push ecx
mov eax, esp
mov dword [ebp - 0x5c], esp
mov dword [eax], ecx
push ecx
mov eax, esp
mov dword [eax], ecx
mov eax, dword [edi + 0x2f4]
mov dword [ebp - 0x5c], esp
push dword [esi]
call fcn.10028f63
mov eax, dword [edi + 0x2f4]
push dword [eax + 0x24]
push dword [eax + 4]
push 0xbea
push dword [esi]
call ebx
mov ecx, dword [edi + 0x2f4]
call fcn.1000b59f
test eax, eax
je 0x1001a812
mov edi, dword [edi + 0x2f4]
push dword [edi + 0x24]
push dword [edi + 4]
push 0xbeb
push dword [esi]
call ebx
lea eax, [ebp - 0x70]
mov edi, esi
call fcn.10004102
push dword [ebp - 0x64]
mov eax, dword [ebp - 0x70]
mov edi, dword [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [edi + 0x2f4]
call fcn.1000b944
call fcn.1006476b
mov eax, dword [edi + 0x2f4]
push dword [eax + 0x24]
push dword [eax + 4]
push 0xbec
push dword [esi]
call ebx
mov eax, dword [edi + 0x2f4]
call fcn.1000bbcf
push 0
push 0
push 0xbed
push dword [esi]
call ebx
jmp 0x1001a821
mov eax, dword [edi + 0x2f4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [edi + 0x2f4]
test ecx, ecx
je 0x1001a832
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [edi + 0x2f4], 0
push 0
push 0x69
push 0x402
push dword [esi]
call ebx
mov esi, edi
call fcn.1001af87
jmp 0x1001ab4f
xor esi, esi
push esi
push esi
push 0xbd5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], esi
push eax
lea ecx, [edi + 0x1bc]
mov esi, ebx
call fcn.1000bd4f
test al, al
je 0x1001aa47
mov ecx, dword [ebp - 0x60]
push 0x10102458
push 1
push edi
call fcn.1001a3b0
lea esi, [ebp - 0x50]
call fcn.100013d8
and dword [ebp - 0x54], 0
and dword [ebp - 4], 0
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x60]
add ebx, 0x94
cmp dword [ebx + 0x18], 8
jb 0x1001a8b7
mov eax, dword [ebx + 4]
jmp 0x1001a8ba
lea eax, [ebx + 4]
mov esi, dword [ebp - 0x60]
mov ecx, dword [edi + 0x1b8]
lea edx, [ebp - 0x58]
push edx
push eax
mov eax, dword [ecx]
add esi, 0x90
push dword [esi]
call dword [eax]
test eax, eax
je 0x1001aa06
cmp dword [esi], 0xa
jne 0x1001aa3f
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0xc8], 0
je 0x1001aa3f
push 1
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x5c], esp
push ebx
call fcn.1000e554
call fcn.10052590
and dword [ebp - 0x18], 0
xor ecx, ecx
add esp, 0x20
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 1
test eax, eax
je 0x1001a9ee
mov ecx, dword [edi + 0x1b8]
mov edx, dword [ecx]
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [edx + 4]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 2
call fcn.1000165f
push ebx
push 1
lea esi, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.100016e6
cmp dword [ebp - 0x18], ebx
je 0x1001a9ee
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x60]
sub esp, 0x1c
add eax, 0xb4
mov esi, esp
mov dword [ebp - 0x5c], esp
push eax
mov ebx, 0x10107ce4
call fcn.1000e554
mov ecx, ebx
call fcn.1002cf94
mov ebx, dword [ebp - 0x70]
xor esi, esi
add esp, 0x20
cmp dword [ebp - 0x6c], esi
jbe 0x1001a9e3
mov eax, dword [edi + 0x1b8]
add eax, 0x554
cmp dword [eax + 0x18], 8
jb 0x1001a9bc
mov eax, dword [eax + 4]
jmp 0x1001a9bf
add eax, 4
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x1001a9cb
lea ecx, [ebp - 0x28]
cmp esi, dword [ebp - 0x6c]
jae 0x1001a9fc
push eax
push ecx
push dword [ebx + esi*4]
push dword [edi + 4]
call fcn.1004b183
inc esi
cmp esi, dword [ebp - 0x6c]
jb 0x1001a9a6
test ebx, ebx
je 0x1001a9ee
push ebx
call fcn.100c14fa
pop ecx
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.100016e6
jmp 0x1001aa3f
push 0x80070057
call fcn.100078e4
mov eax, dword [edi + 0x1b8]
mov eax, dword [eax + 0x57c]
cmp dword [eax + 0x10], 0
jne 0x1001aa3f
mov ecx, dword [ebp - 0x60]
push 0x10102458
push 4
push edi
mov dword [eax + 0x10], 1
call fcn.1001a3b0
mov eax, dword [edi + 0x1b8]
mov eax, dword [eax + 0x57c]
and dword [eax + 0x10], 0
lea esi, [ebp - 0x50]
jmp 0x1001ab46
and dword [ebp - 0x5c], 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [edi + 0x1ec]
call fcn.1000bd4f
test al, al
je 0x1001ab4f
lea esi, [ebp - 0x2c]
call fcn.100013d8
and dword [ebp - 0x34], 0
and dword [ebp - 0x30], 0
mov dword [ebp - 4], 4
mov ebx, dword [ebp - 0x5c]
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x34], eax
cmp dword [ebx + 0x1c], 8
jb 0x1001aa8d
mov eax, dword [ebx + 8]
jmp 0x1001aa90
lea eax, [ebx + 8]
mov ecx, dword [edi + 0x1b8]
mov edx, dword [ecx]
lea esi, [ebp - 0x34]
push esi
push eax
push dword [ebx]
call dword [edx]
cmp dword [ebx], 0xa
jne 0x1001ab43
xor eax, eax
cmp dword [ebx + 0x54], eax
je 0x1001ab43
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x70]
push eax
sub esp, 0x1c
mov byte [ebp - 4], 5
lea eax, [ebx + 0x40]
mov esi, esp
mov dword [ebp - 0x5c], esp
push eax
call fcn.1000e554
mov ecx, 0x10107ce4
call fcn.1002cf94
xor esi, esi
add esp, 0x20
cmp dword [ebp - 0x6c], esi
jbe 0x1001ab34
mov eax, dword [edi + 0x1b8]
add eax, 0x554
cmp dword [eax + 0x18], 8
jb 0x1001ab04
mov eax, dword [eax + 4]
jmp 0x1001ab07
add eax, 4
cmp dword [ebx + 0x3c], 8
jb 0x1001ab12
mov ecx, dword [ebx + 0x28]
jmp 0x1001ab15
lea ecx, [ebx + 0x28]
cmp esi, dword [ebp - 0x6c]
jae 0x1001a9fc
push eax
mov eax, dword [ebp - 0x70]
push ecx
push dword [eax + esi*4]
push dword [edi + 4]
call fcn.1004b183
inc esi
cmp esi, dword [ebp - 0x6c]
jb 0x1001aaee
cmp dword [ebp - 0x70], 0
je 0x1001ab43
push dword [ebp - 0x70]
call fcn.100c14fa
pop ecx
lea esi, [ebp - 0x2c]
push 0
push 1
call fcn.100016e6
xor eax, eax
call fcn.100c7568
ret 4