Function at 0x49c1ec
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov ecx, esi
mov edx, dword [ebp - 4]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x38]
test al, al
jne 0x49c464
call fcn.00490280
call fcn.00490394
test al, al
je 0x49c457
mov eax, dword [esi]
sub eax, 0xbc4e
jne 0x49c448
mov eax, dword [esi + 8]
cmp dword [eax + 8], 0xfffffff4
jne 0x49c464
mov edi, eax
mov eax, dword [edi + 0xc]
dec eax
je 0x49c250
sub eax, 0x10000
je 0x49c25c
jmp 0x49c441
mov dword [esi + 0xc], 0x20
jmp 0x49c464
mov eax, dword [ebp - 4]
mov edx, dword [0x470604]
call fcn.00403138
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x24]
dec eax
je 0x49c281
sub eax, 2
je 0x49c30e
jmp 0x49c43a
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x14]
mov bx, 0xffbb
call fcn.00403184
test al, al
je 0x49c2ea
push 0
xor ecx, ecx
mov edx, 0x129
mov eax, dword [ebp - 0x14]
call fcn.00442314
test al, 1
jne 0x49c2ea
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x200e
call sub.user32.dll_SystemParametersInfoA
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2010
call sub.user32.dll_SystemParametersInfoA
mov eax, dword [ebp - 0x10]
neg eax
push eax
mov eax, dword [ebp - 0xc]
neg eax
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_InflateRect
push 0
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00447134
push eax
call fcn.00490280
mov ecx, dword [edi + 0x10]
pop edx
call fcn.00490b80
jmp 0x49c43a
lea eax, [ebp - 0x24]
push eax
push 0
push 0x419
mov eax, dword [ebp - 0x14]
call fcn.00447134
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ec], 0
jne 0x49c38a
mov eax, dword [ebp - 0x14]
mov bx, 0xffbb
call fcn.00403184
test al, al
je 0x49c360
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0x200e
call sub.user32.dll_SystemParametersInfoA
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], eax
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
jmp 0x49c3da
mov eax, dword [ebp - 0x14]
mov bx, 0xffbb
call fcn.00403184
test al, al
je 0x49c3b2
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2010
call sub.user32.dll_SystemParametersInfoA
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], eax
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.gdi32.dll_CreateRectRgn
mov ebx, eax
push ebx
mov eax, dword [edi + 0x10]
push eax
call sub.gdi32.dll_SelectClipRgn
call fcn.00490280
lea ecx, [ebp - 0x30]
mov dl, 0x22
call fcn.0049098c
lea eax, [ebp - 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00447134
push eax
call fcn.00490280
mov ecx, dword [edi + 0x10]
pop edx
call fcn.00490b80
push ebx
call sub.gdi32.dll_DeleteObject
push 0
mov eax, dword [edi + 0x10]
push eax
call sub.gdi32.dll_SelectClipRgn
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x49c464
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x49c464
mov ecx, esi
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x44]
call fcn.0049a91c
jmp 0x49c464
mov ecx, esi
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x44]
call fcn.0049a91c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret