Function at 0x48c5ac
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffc8
mov esi, ecx
mov edi, edx
mov ebx, eax
mov ecx, esi
mov edx, edi
mov eax, ebx
mov ebp, dword [eax]
call dword [ebp + 0x38]
test al, al
jne 0x48c82b
call fcn.0047effc
call fcn.0047f12c
test al, al
je 0x48c81f
mov eax, dword [esi]
sub eax, 0xbc4e
jne 0x48c811
mov eax, dword [esi + 8]
cmp dword [eax + 8], 0xfffffff4
jne 0x48c82b
mov ebp, eax
mov eax, dword [ebp + 0xc]
dec eax
je 0x48c60c
sub eax, 0x10000
je 0x48c618
jmp 0x48c80a
mov dword [esi + 0xc], 0x20
jmp 0x48c82b
mov eax, edi
mov edx, dword [0x45b61c]
call fcn.004030c8
mov edi, eax
mov eax, dword [ebp + 0x24]
dec eax
je 0x48c63b
sub eax, 2
je 0x48c6cb
jmp 0x48c803
lea edx, [esp + 0xc]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, edi
mov bx, 0xffb9
call fcn.00403114
test al, al
je 0x48c6a7
push 0
xor ecx, ecx
mov edx, 0x129
mov eax, edi
call fcn.004343bc
test al, 1
jne 0x48c6a7
push 0
lea eax, [esp + 8]
push eax
push 0
push 0x200e
call sub.user32.dll_SystemParametersInfoA
push 0
lea eax, [esp + 0xc]
push eax
push 0
push 0x2010
call sub.user32.dll_SystemParametersInfoA
mov eax, dword [esp + 8]
neg eax
push eax
mov eax, dword [esp + 8]
neg eax
push eax
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_InflateRect
push 0
push 0
lea eax, [esp + 0x14]
push eax
mov eax, edi
call fcn.00439528
push eax
call fcn.0047effc
mov ecx, dword [ebp + 0x10]
pop edx
call fcn.0047f750
jmp 0x48c803
lea eax, [esp + 0xc]
push eax
push 0
push 0x419
mov eax, edi
call fcn.00439528
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
mov dword [esp], eax
cmp byte [edi + 0x1f0], 0
jne 0x48c749
mov eax, edi
mov bx, 0xffb9
call fcn.00403114
test al, al
je 0x48c71b
push 0
lea eax, [esp + 8]
push eax
push 0
push 0x200e
call sub.user32.dll_SystemParametersInfoA
mov eax, dword [esp + 4]
add dword [esp], eax
lea edx, [esp + 0x28]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [esp + 0x28]
add eax, dword [esp]
mov dword [esp + 0xc], eax
lea edx, [esp + 0x28]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [esp + 0x30]
sub eax, dword [esp]
mov dword [esp + 0x14], eax
jmp 0x48c79e
mov eax, edi
mov bx, 0xffb9
call fcn.00403114
test al, al
je 0x48c772
push 0
lea eax, [esp + 0xc]
push eax
push 0
push 0x2010
call sub.user32.dll_SystemParametersInfoA
mov eax, dword [esp + 4]
add dword [esp], eax
lea edx, [esp + 0x28]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [esp + 0x2c]
add eax, dword [esp]
mov dword [esp + 0x10], eax
lea edx, [esp + 0x28]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [esp + 0x34]
sub eax, dword [esp]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push eax
call sub.gdi32.dll_CreateRectRgn
mov ebx, eax
push ebx
mov eax, dword [ebp + 0x10]
push eax
call sub.gdi32.dll_SelectClipRgn
call fcn.0047effc
lea ecx, [esp + 0x1c]
mov dl, 0x22
call fcn.0047f55c
lea eax, [esp + 0x1c]
push eax
push 0
push 0
mov eax, edi
call fcn.00439528
push eax
call fcn.0047effc
mov ecx, dword [ebp + 0x10]
pop edx
call fcn.0047f750
push ebx
call sub.gdi32.dll_DeleteObject
push 0
mov eax, dword [ebp + 0x10]
push eax
call sub.gdi32.dll_SelectClipRgn
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x48c82b
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x48c82b
mov ecx, esi
mov edx, edi
mov eax, dword [ebx + 0x48]
call fcn.0048a884
jmp 0x48c82b
mov ecx, esi
mov edx, edi
mov eax, dword [ebx + 0x48]
call fcn.0048a884
add esp, 0x38
pop ebp
pop edi
pop esi
pop ebx
ret