Function at 0x56be80
Capabilities:
Capture webcam image

Disassembly:
mov eax, 0x20dc
call fcn.005d9990
mov eax, dword [0x696a88]
push ebx
mov ebx, dword [esp + 0x20e4]
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push eax
call esi
cmp eax, 0xffffffff
jne 0x56beb9
pop esi
xor eax, eax
pop ebx
add esp, 0x20dc
ret
mov edx, dword [0x696a88]
lea ecx, [esp + 8]
push ecx
push eax
push 0x43f
push edx
mov dword [esp + 0x18], 0
call esi
test eax, eax
je 0x56bfa9
mov eax, dword [esp + 8]
mov cl, byte [eax + 0x9e4]
test cl, cl
je 0x56bfa9
lea ecx, [esp + 0x107c]
push 0x1068
push ecx
call fcn.004232e0
lea edx, [esp + 0x1c]
push 0x1068
push edx
call fcn.004232e0
mov esi, dword [esp + 0x18]
lea eax, [esi + 0x9e4]
lea edx, [esp + 0x108c]
add esp, 0x10
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x56bf26
lea eax, [esi + 0x20]
lea edx, [esp + 0x14]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x56bf40
mov eax, dword [0x6a0f4c]
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], eax
call fcn.00508c40
add esp, 4
test eax, eax
je 0x56c26d
mov edx, dword [esp + 8]
push eax
add edx, 0x124c
push edx
call fcn.00569850
mov edx, dword [esp + 0x14]
add esp, 4
push eax
push 0
push 1
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1090]
push ecx
push edx
call fcn.00448030
add esp, 0x1c
pop esi
mov eax, 1
pop ebx
add esp, 0x20dc
ret
lea esi, [ebx - 0x3e8]
cmp esi, 0x21
push edi
ja case.0x56bfc0.1003
movzx eax, byte [esi + 0x56c2d0]
jmp dword [eax*4 + 0x56c27c]
call fcn.00508b70
mov edi, eax
test edi, edi
jne 0x56bfe6
mov ecx, dword [0x6a0f40]
push eax
push 0x65
push 0x111
push ecx
jmp 0x56c266
push edi
call fcn.00508d40
add esp, 4
test eax, eax
jne 0x56c033
push edi
call fcn.00508e00
add esp, 4
test eax, eax
jne 0x56c033
push eax
push 0x65
mov edx, dword [0x6a0f40]
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
add ebx, 0x3e8
push ebx
call fcn.00569490
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20dc
ret
mov eax, dword [0x680f28]
test eax, eax
je 0x56c082
cmp esi, 2
je 0x56c082
push 1
push 0
push 2
call fcn.005694f0
mov eax, dword [0x696a88]
add esp, 0xc
push 0x7e
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [0x696a88]
push 0
push 0x5dc
push 0x7e
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20dc
ret
push 0
push 0x66
jmp 0x56c003
push 3
push 0x9f
jmp 0x56c25b
mov ecx, dword [0x6a0f40]
push 3
push 0x8e
push 0x111
push ecx
jmp 0x56c266
mov edx, dword [0x6a0f40]
push 3
push 0x96
push 0x111
push edx
jmp 0x56c266
mov eax, dword [0x68d3e4]
push eax
call fcn.00545580
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20dc
ret
mov ecx, dword [0x6a0f40]
push 3
push 0x9c
push 0x111
push ecx
jmp 0x56c266
mov edx, dword [0x6a0f40]
push 3
push 0x9d
push 0x111
push edx
jmp 0x56c266
push 3
push 0x85
jmp 0x56c25b
mov ecx, dword [0x6a0f40]
push 3
push 0x97
push 0x111
push ecx
jmp 0x56c266
mov edx, dword [0x6a0f40]
push 3
push 0x98
push 0x111
push edx
jmp 0x56c266
push 3
push 0x99
jmp 0x56c25b
mov ecx, dword [0x6a0f40]
push 3
push 0x9a
push 0x111
push ecx
jmp 0x56c266
mov edx, dword [0x6a0f40]
push 3
push 0x9b
push 0x111
push edx
jmp 0x56c266
push 0
push 0x83
jmp 0x56c25b
mov ecx, dword [0x6a0f40]
push 0
push 0x84
push 0x111
push ecx
jmp 0x56c266
mov edx, dword [0x6a0f40]
push 1
push 0xaa
push 0x111
push edx
jmp 0x56c266
push 1
push 0xab
jmp 0x56c25b
mov ecx, dword [0x6a0f40]
push 1
push 0xac
push 0x111
push ecx
jmp 0x56c266
mov edx, dword [0x6a0f40]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push 1
push 0xad
push 0x111
push edx
call esi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [0x696a88]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
movzx eax, word [esp + 0x14]
movzx ecx, word [esp + 0x10]
mov edx, dword [0x696a88]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x200
push edx
call esi
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20dc
ret
push 0
push 0xc3
mov eax, dword [0x6a0f40]
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20dc
ret