Function at 0x5454a0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [0x5f7ff4]
sub esp, 0x7dc
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 0
mov edi, ecx
push edi
push 0x419
push eax
call esi
cmp eax, 0xffffffff
jne 0x5454d0
pop edi
xor eax, eax
pop esi
add esp, 0x7dc
ret
mov edx, dword [0x5f7ff4]
lea ecx, [esp + 8]
push ecx
push eax
push 0x43f
push edx
mov dword [esp + 0x18], 0
call esi
test eax, eax
je 0x545594
mov eax, dword [esp + 8]
mov cl, byte [eax + 0x19c]
test cl, cl
je 0x545594
mov edx, 0x3e7
lea ecx, [esp + 0x3fc]
call fcn.00420e60
mov edx, 0x3e7
lea ecx, [esp + 0x14]
call fcn.00420e60
mov esi, dword [esp + 8]
lea eax, [esi + 0x19c]
lea edx, [esp + 0x3fc]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x545538
lea eax, [esi + 0x20]
lea edx, [esp + 0x14]
sub edx, eax
jmp 0x545550
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x545550
call fcn.004f0b80
mov ecx, dword [esp + 8]
mov edx, dword [ecx + 0x4a0]
mov ecx, dword [0x5f92f8]
push eax
push edx
push 0
push 1
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x410]
call fcn.00440db0
pop edi
mov eax, 1
pop esi
add esp, 0x7dc
ret
lea eax, [edi - 0x3e8]
cmp eax, 0x22
ja case.0x5455aa.1002
movzx ecx, byte [eax + 0x54597c]
jmp dword [ecx*4 + 0x545924]
call fcn.004f0b80
mov esi, eax
test esi, esi
jne 0x5455df
mov edx, dword [0x5f92ec]
push eax
push 0x65
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
mov eax, 1
pop esi
add esp, 0x7dc
ret
mov ecx, esi
call fcn.004f0d40
test eax, eax
jne 0x5455fa
mov ecx, esi
call fcn.004f0df0
test eax, eax
jne 0x5455fa
push eax
push 0x65
jmp 0x545659
mov eax, dword [0x5f18e8]
test eax, eax
je 0x545655
mov eax, dword [esi + 0x42c]
test eax, eax
jne 0x545655
mov ecx, dword [0x5f7ff4]
push 0x7e
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [0x5f7ff4]
push 0
push 0x5dc
push 0x7e
push edx
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [edi + 0x3e8]
mov dword [esi + 0x42c], 1
call fcn.005451d0
pop edi
mov eax, 1
pop esi
add esp, 0x7dc
ret
push 0
push 0x66
mov dword [esi + 0x42c], 0
mov eax, dword [0x5f92ec]
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [edi + 0x3e8]
call fcn.005451d0
pop edi
mov eax, 1
pop esi
add esp, 0x7dc
ret
push 3
push 0x9f
jmp 0x545904
mov edx, dword [0x5f92ec]
push 3
push 0x8e
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
mov eax, 1
pop esi
add esp, 0x7dc
ret
mov eax, dword [0x5f92ec]
push 3
push 0x96
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
mov eax, 1
pop esi
add esp, 0x7dc
ret
mov ecx, dword [0x5f4f34]
call fcn.00525f10
pop edi
mov eax, 1
pop esi
add esp, 0x7dc
ret
push 3
push 0x9c
jmp 0x545904
mov edx, dword [0x5f92ec]
push 3
push 0x9d
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
mov eax, 1
pop esi
add esp, 0x7dc
ret
mov eax, dword [0x5f92ec]
push 3
push 0x85
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
mov eax, 1
pop esi
add esp, 0x7dc
ret
push 3
push 0x9e
jmp 0x545904
mov edx, dword [0x5f92ec]
push 3
push 0x97
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
mov eax, 1
pop esi
add esp, 0x7dc
ret
mov eax, dword [0x5f92ec]
push 3
push 0x98
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
mov eax, 1
pop esi
add esp, 0x7dc
ret
push 3
push 0x99
jmp 0x545904
mov edx, dword [0x5f92ec]
push 3
push 0x9a
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
mov eax, 1
pop esi
add esp, 0x7dc
ret
mov eax, dword [0x5f92ec]
push 3
push 0x9b
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
mov eax, 1
pop esi
add esp, 0x7dc
ret
push 0
push 0x83
jmp 0x545904
mov edx, dword [0x5f92ec]
push 0
push 0x84
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
mov eax, 1
pop esi
add esp, 0x7dc
ret
mov eax, dword [0x5f92ec]
push 1
push 0xaa
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
mov eax, 1
pop esi
add esp, 0x7dc
ret
push 1
push 0xab
jmp 0x545904
mov edx, dword [0x5f92ec]
push 1
push 0xac
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
mov eax, 1
pop esi
add esp, 0x7dc
ret
mov eax, dword [0x5f92ec]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push 1
push 0xad
push 0x111
push eax
call esi
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x5f7ff4]
push 1
lea edx, [esp + 0x10]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
movzx ecx, word [esp + 0x10]
movzx edx, word [esp + 0xc]
mov eax, dword [0x5f7ff4]
shl ecx, 0x10
or ecx, edx
push ecx
push 0
push 0x200
push eax
call esi
pop edi
mov eax, 1
pop esi
add esp, 0x7dc
ret
push 0
push 0xc2
mov ecx, dword [0x5f92ec]
push 0x111
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
mov eax, 1
pop esi
add esp, 0x7dc
ret