Function at 0x1002d15c
Capabilities:
Capture webcam image

Disassembly:
mov eax, 0x100be8ca
call fcn.100a35ac
sub esp, 0x6c
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
cmp byte [esi + 0x9c], bl
je 0x1002d5be
push ebx
lea edi, [esi + 0x48]
push str.tbs_msearch_button
mov ecx, edi
call fcn.10003080
neg eax
sbb al, al
inc al
mov byte [ebp - 0x12], al
je 0x1002d22e
push edi
lea ecx, [ebp - 0x1c]
call fcn.10003561
push str._combo_
push str._button_
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.100047f1
mov ecx, dword [esi + 0x74]
lea eax, [ebp - 0x11]
push eax
push esi
mov byte [ebp - 0x11], bl
call fcn.10067b42
cmp byte [ebp - 0x11], bl
jne 0x1002d21f
push ebx
push 1
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], esp
mov ecx, esp
push eax
call fcn.10003561
mov ecx, dword [esi + 0x74]
add ecx, 0xe4
call fcn.10055a11
cmp eax, ebx
setne al
cmp al, bl
jne 0x1002d21f
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001d29
push 4
pop eax
jmp 0x1002d5c0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.10001d29
push ebx
push str.hide_marquee
mov ecx, edi
call fcn.10003080
test eax, eax
je 0x1002d254
push ebx
push str._MQ_
lea ecx, [esi + 0x50]
call fcn.10003080
mov byte [ebp - 0x11], bl
test eax, eax
jl 0x1002d258
mov byte [ebp - 0x11], 1
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push eax
push 0x419
push dword [ebp - 0x20]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
call edi
lea ecx, [ebp - 0x58]
push ecx
push eax
push 0x41d
push dword [ebp - 0x20]
call edi
mov eax, dword [ebp - 0x58]
add eax, 3
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x58]
call fcn.1002767b
mov ecx, eax
mov eax, dword [esi + 0xa4]
mov ecx, dword [ecx + 4]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
cmp byte [ebp - 0x11], bl
je 0x1002d2b8
sub dword [ebp - 0x1c], 3
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x28]
mov eax, edi
and al, 0x40
cmp al, 0x40
sete dl
mov eax, edi
and al, 1
dec al
neg al
sbb al, al
inc al
mov byte [ebp + 0xf], al
cmp byte [ebp - 0x12], bl
je 0x1002d2e2
xor dl, dl
mov byte [ebp + 0xf], bl
mov al, dl
cmp al, bl
je 0x1002d2f0
mov eax, dword [ebp - 0x1c]
push ebx
inc ecx
push ecx
inc eax
push eax
jmp 0x1002d315
cmp dl, bl
je 0x1002d310
mov eax, dword [esi + 0x80]
cmp dword [eax - 0xc], ebx
je 0x1002d310
push ebx
push ecx
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push ebx
push dword [esi + 0x98]
jmp 0x1002d31f
push ebx
push ecx
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push ebx
push dword [esi + 0x94]
call fcn.10027a9f
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x100cb0a0
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov edi, 0x100cb330
push edi
mov byte [ebp - 4], 3
call fcn.10005f07
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.DescriptiveText
mov byte [ebp - 4], 4
call fcn.10005f07
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.1003fd77
add esp, 0x10
push edi
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.10002834
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
sete byte [ebp - 0x13]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.10001d29
cmp byte [ebp - 0x13], bl
je 0x1002d4b1
lea eax, [esi + 0x34]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], ebx
jle 0x1002d4b1
push ebx
push ecx
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
call fcn.10003561
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.1000dad3
add esp, 0x10
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 6
call fcn.10003561
lea eax, [ebp + 8]
push eax
call fcn.10075872
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.10004a20
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.10001d29
mov eax, dword [esi + 0x74]
push dword [eax + 0xbc]
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp + 8], eax
xor eax, eax
mov dword [ebp - 0x2c], ebx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax - 0xc]
push ebx
lea ecx, [ebp - 0x1c]
call fcn.1000357f
lea ecx, [ebp - 0x2c]
push ecx
push edi
push eax
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_GetTextExtentPointW]
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x78], ebx
lea edi, [ebp - 0x74]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x78]
push eax
push ebx
push dword [esi + 0x94]
call fcn.10027bfa
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x58]
xor ecx, ecx
cmp byte [ebp + 0xf], bl
setne cl
sub eax, dword [ebp - 0x68]
add eax, ecx
lea edi, [eax + edx + 6]
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x54]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
add esi, dword [ebp - 0x54]
add esi, ecx
push 1
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xffffffffffffffff
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push esi
push edi
call fcn.100275b0
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001d29
cmp byte [ebp - 0x12], bl
je 0x1002d5be
push ecx
mov eax, esp
mov esi, 0xda
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], esp
mov dword [eax], esi
call fcn.10027769
lea eax, [ebp - 0x70]
push eax
push 0x18
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0xffffff
push 1
push 0xb
push ecx
mov eax, esp
lea ecx, [ebp + 8]
mov dword [ebp + 8], ebx
mov dword [ebp - 0x28], esp
mov dword [eax], esi
call fcn.10027e28
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
sub eax, dword [ebp - 0x6c]
add ecx, 3
cmp byte [ebp - 0x11], bl
je 0x1002d511
sub eax, 3
push ebx
push ecx
push eax
push dword [ebp - 0x18]
push ebx
push dword [ebp + 8]
call fcn.10027a9f
lea ecx, [ebp + 8]
call fcn.100033e3
cmp dword [ebp + 0xc], ebx
je 0x1002d217
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x1002d217
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8