Function at 0x10036f50
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1007cbc0
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 4]
lea edi, [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x10036f90
pop edi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
mov eax, dword [0x1009b214]
push ebp
xor ebp, ebp
cmp eax, ebp
je 0x10036fb2
pop ebp
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
cmp dword [0x1009b20c], ebp
jne 0x10036f9c
mov edx, dword [0x10098a04]
push ebx
mov ecx, 0x10098a04
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
mov dword [esp + 0x20], ebp
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
cmp eax, ebp
mov byte [esp + 0x20], 1
jne 0x10037047
push 0x10084084
lea ecx, [esp + 0x14]
mov ebx, 1
call fcn.10005d60
push 0x10084058
lea ecx, [esp + 0x18]
call fcn.10005d60
mov ecx, dword [edi]
push 0
push 0xea67
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x28]
push edx
push 0
push 0xa22d
push 0
mov ecx, esi
mov ebp, eax
call fcn.10033130
jmp 0x10037254
cmp eax, 1
jne 0x10037092
push 0x10084048
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.10005d60
push 0x1008401c
lea ecx, [esp + 0x18]
call fcn.10005d60
push 0xea67
mov ecx, edi
call fcn.100280f0
mov ebp, eax
lea eax, [esp + 0x28]
push eax
push 0
push 0xa222
push 0
mov ecx, esi
call fcn.10033130
jmp 0x10037254
cmp eax, 2
jne 0x100370e0
push 0x1008400c
lea ecx, [esp + 0x14]
mov ebx, 1
call fcn.10005d60
push 0x10083fe0
lea ecx, [esp + 0x18]
call fcn.10005d60
push 0xea67
mov ecx, edi
call fcn.100280f0
lea ecx, [esp + 0x28]
push ecx
push 0
push 0xa21f
push 0
mov ecx, esi
mov ebp, eax
call fcn.10033130
jmp 0x10037254
cmp eax, 3
jne 0x1003711e
push 0x10083fd0
lea ecx, [esp + 0x14]
mov ebx, 1
call fcn.10005d60
push 0x10083fa4
lea ecx, [esp + 0x18]
call fcn.10005d60
push 0xea67
mov ecx, edi
call fcn.100280f0
lea edx, [esp + 0x28]
mov ebp, eax
push edx
jmp 0x1003723e
cmp eax, 4
jne 0x1003716c
push 0x10083f9c
lea ecx, [esp + 0x14]
mov ebx, 1
call fcn.10005d60
push 0x10083f70
lea ecx, [esp + 0x18]
call fcn.10005d60
push 0xea61
mov ecx, edi
call fcn.100280f0
mov ebp, eax
lea eax, [esp + 0x28]
push eax
push 0
push 0xa22d
push 0
mov ecx, esi
call fcn.10033130
jmp 0x10037254
cmp eax, 5
jne 0x100371ba
push 0x10083f9c
lea ecx, [esp + 0x14]
mov ebx, 1
call fcn.10005d60
push 0x10083f44
lea ecx, [esp + 0x18]
call fcn.10005d60
push 0xea61
mov ecx, edi
call fcn.100280f0
lea ecx, [esp + 0x28]
push ecx
push 0
push 0xa222
push 0
mov ecx, esi
mov ebp, eax
call fcn.10033130
jmp 0x10037254
cmp eax, 6
jne 0x10037205
push 0x10083f9c
lea ecx, [esp + 0x14]
mov ebx, 1
call fcn.10005d60
push 0x10083f18
lea ecx, [esp + 0x18]
call fcn.10005d60
push 0xea61
mov ecx, edi
call fcn.100280f0
lea edx, [esp + 0x28]
push edx
push 0
push 0xa21f
push 0
mov ecx, esi
mov ebp, eax
call fcn.10033130
jmp 0x10037254
cmp eax, 7
jne 0x10037250
push 0x10083f9c
lea ecx, [esp + 0x14]
mov ebx, 1
call fcn.10005d60
push 0x10083eec
lea ecx, [esp + 0x18]
call fcn.10005d60
push 0xea61
mov ecx, edi
call fcn.100280f0
mov ebp, eax
lea eax, [esp + 0x28]
push eax
push 0
push 0xa22f
push 0
mov ecx, esi
call fcn.10033130
jmp 0x10037254
mov ebx, dword [esp + 0x28]
mov ecx, dword [edi]
mov dword [esi + 0x2b8], ebp
lea ebp, [esi + 0x1d4]
push ecx
mov ecx, ebp
call fcn.100081f0
test eax, eax
je 0x10037286
mov edx, dword [edi]
push 0
push 0x2710
push 3
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x294], eax
push 5
mov ecx, ebp
call fcn.10008060
mov eax, dword [esp + 0x10]
push eax
push ebx
mov ecx, ebp
call fcn.10008040
mov ebx, dword [esp + 0x14]
push ebx
mov ecx, ebp
call fcn.10008080
mov ecx, esi
call fcn.10028cf0
mov ecx, dword [edi]
mov ebp, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x493e0
push 5
push ecx
call ebp
push 0
push 0x190
mov dword [esi + 0x29c], eax
mov dword [0x1009b214], 1
mov edx, dword [edi]
push 8
push edx
call ebp
mov dword [esi + 0x2a0], eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop ebx
jg 0x10037307
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1003732d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x14]
pop ebp
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4