Function at 0x562c20
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [0x643ed8]
sub esp, 0x7dc
push ebx
mov ebx, dword [esp + 0x7e4]
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push eax
call esi
cmp eax, 0xffffffff
jne 0x562c55
pop esi
xor eax, eax
pop ebx
add esp, 0x7dc
ret
mov edx, dword [0x643ed8]
lea ecx, [esp + 8]
push ecx
push eax
push 0x43f
push edx
mov dword [esp + 0x18], 0
call esi
test eax, eax
je 0x562d3e
mov eax, dword [esp + 8]
mov cl, byte [eax + 0x334]
test cl, cl
je 0x562d3e
lea ecx, [esp + 0x3fc]
push 0x3e7
push ecx
call fcn.00423a00
lea edx, [esp + 0x1c]
push 0x3e7
push edx
call fcn.00423a00
mov esi, dword [esp + 0x18]
lea eax, [esi + 0x334]
lea edx, [esp + 0x40c]
add esp, 0x10
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x562cc2
lea eax, [esi + 0x20]
lea edx, [esp + 0x14]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x562cd5
mov eax, dword [0x645330]
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], eax
call fcn.00502c00
add esp, 4
test eax, eax
je 0x563005
mov edx, dword [esp + 8]
push eax
add edx, 0x638
push edx
call fcn.00560290
mov edx, dword [esp + 0x14]
add esp, 4
push eax
push 0
push 1
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x410]
push ecx
push edx
call fcn.00447670
add esp, 0x1c
pop esi
mov eax, 1
pop ebx
add esp, 0x7dc
ret
lea esi, [ebx - 0x3e8]
cmp esi, 0x21
push edi
ja case.0x562d55.1003
movzx eax, byte [esi + 0x563068]
jmp dword [eax*4 + 0x563014]
call fcn.00502b30
mov edi, eax
test edi, edi
jne 0x562d7b
mov ecx, dword [0x645324]
push eax
push 0x65
push 0x111
push ecx
jmp 0x562ffe
push edi
call fcn.00502d00
add esp, 4
test eax, eax
jne 0x562dc8
push edi
call fcn.00502dc0
add esp, 4
test eax, eax
jne 0x562dc8
push eax
push 0x65
mov edx, dword [0x645324]
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
add ebx, 0x3e8
push ebx
call fcn.0055fed0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x7dc
ret
mov eax, dword [0x63e0c8]
test eax, eax
je 0x562e17
cmp esi, 2
je 0x562e17
push 1
push 0
push 2
call fcn.0055ff30
mov eax, dword [0x643ed8]
add esp, 0xc
push 0x7e
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [0x643ed8]
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, 0x7dc
ret
push 0
push 0x66
jmp 0x562d98
push 3
push 0x9f
jmp 0x562ff3
mov ecx, dword [0x645324]
push 3
push 0x8e
push 0x111
push ecx
jmp 0x562ffe
mov edx, dword [0x645324]
push 3
push 0x96
push 0x111
push edx
jmp 0x562ffe
mov eax, dword [0x641504]
push eax
call fcn.0053d030
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x7dc
ret
mov ecx, dword [0x645324]
push 3
push 0x9c
push 0x111
push ecx
jmp 0x562ffe
mov edx, dword [0x645324]
push 3
push 0x9d
push 0x111
push edx
jmp 0x562ffe
push 3
push 0x85
jmp 0x562ff3
mov ecx, dword [0x645324]
push 3
push 0x97
push 0x111
push ecx
jmp 0x562ffe
mov edx, dword [0x645324]
push 3
push 0x98
push 0x111
push edx
jmp 0x562ffe
push 3
push 0x99
jmp 0x562ff3
mov ecx, dword [0x645324]
push 3
push 0x9a
push 0x111
push ecx
jmp 0x562ffe
mov edx, dword [0x645324]
push 3
push 0x9b
push 0x111
push edx
jmp 0x562ffe
push 0
push 0x83
jmp 0x562ff3
mov ecx, dword [0x645324]
push 0
push 0x84
push 0x111
push ecx
jmp 0x562ffe
mov edx, dword [0x645324]
push 1
push 0xaa
push 0x111
push edx
jmp 0x562ffe
push 1
push 0xab
jmp 0x562ff3
mov ecx, dword [0x645324]
push 1
push 0xac
push 0x111
push ecx
jmp 0x562ffe
mov edx, dword [0x645324]
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 [0x643ed8]
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 [0x643ed8]
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, 0x7dc
ret
push 0
push 0xc2
mov eax, dword [0x645324]
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x7dc
ret