Function at 0x48d9c0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x50], esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x54], edi
test esi, esi
jne 0x48da0c
push 0x548738
push str.....UTILptSliderptSliderCustomDraw.cpp
call fcn.0041afb0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
mov dword [edi], 0
movups xmm0, xmmword [ebx]
mov eax, dword [ebx + 0x24]
push 1
push dword [ebx + 0x10]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x40], eax
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [ebp - 0x8c], xmm0
movups xmm0, xmmword [ebx + 0x20]
movups xmmword [ebp - 0x7c], xmm0
call dword [sym.imp.GDI32.dll_SetBkMode]
movups xmm0, xmmword [ebp - 0x24]
psrldq xmm0, 0xc
movd eax, xmm0
cmp eax, 0x10001
ja 0x48dcf5
je 0x48da9a
cmp eax, 1
je 0x48da81
cmp eax, 2
jbe 0x48dd05
cmp eax, 4
jbe 0x48dcff
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
mov dword [edi], 0x20
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x41c]
test ecx, ecx
je 0x48dac3
push 0
push 0
push 0x400
push dword [ebx]
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x3c]
cmp eax, ecx
jle 0x48dac3
mov dl, 1
jmp 0x48dac5
xor dl, dl
mov eax, dword [ebp - 0x40]
mov byte [ebp - 0x35], dl
sub eax, 2
je 0x48dc81
sub eax, 1
jne 0x48dd05
lea eax, [ebp - 0x14]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebx]
call edi
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
push eax
call esi
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebx]
call edi
push eax
call esi
mov eax, dword [ebp - 0x44]
push dword [ebx + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x3c], eax
push dword [edi + 0x448]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [ebp - 0x6c]
push eax
push 0x18
push dword [edi + 0x448]
call esi
lea eax, [ebp - 0x84]
push eax
push 0x18
push dword [edi + 0x43c]
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x24]
push eax
push 0
push 0x419
push dword [ebx]
call esi
lea eax, [ebp - 0x34]
push eax
push 0
push 0x41a
push dword [ebx]
call esi
mov eax, dword [edi + 0x408]
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x48dbd4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push 0xcc0020
push ecx
push edx
push dword [eax]
mov eax, dword [ebp - 8]
sub eax, ecx
push eax
mov eax, dword [ebp - 0xc]
sub eax, edx
push eax
push 0
push 0
push dword [ebx + 0x10]
call esi
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x48dc5c
push 0xfffffffffffffff0
push dword [edi + 0x404]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 2
je 0x48dc1b
mov ecx, dword [ebp - 0x20]
mov eax, ecx
sub eax, dword [ebp - 0x34]
push 0xcc0020
push eax
mov eax, dword [ebp - 0x2c]
push 0
push dword [ebp - 0x3c]
sub eax, ecx
push eax
push dword [edi + 0x428]
push ecx
push 0
push dword [ebx + 0x10]
call esi
jmp 0x48dc5c
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x34]
sub eax, esi
cmp byte [ebp - 0x35], 0
je 0x48dc33
mov eax, dword [ebp - 0x2c]
sub eax, esi
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x20]
push 0xcc0020
push 0
push 0
push dword [ebp - 0x3c]
dec ecx
push dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x7c]
cdq
sub eax, edx
sar eax, 1
add eax, ecx
push eax
push esi
push dword [ebx + 0x10]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x3c]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x54]
mov dword [eax], 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x43c], 0
je 0x48dcff
cmp dword [esi + 0x440], 0
je 0x48dcff
cmp dword [esi + 0x444], 0
je 0x48dcff
test dl, dl
je 0x48dcc2
push 0
push ecx
push 0x40f
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, eax
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x14]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov dword [ebx + 0x14], ecx
push dword [ebx + 0x10]
movups xmm0, xmmword [ebx + 0x14]
sub esp, 0x10
mov eax, esp
push 0
push esi
movups xmmword [eax], xmm0
call fcn.0048dd20
add esp, 0x1c
mov dword [edi], 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff105
mov esp, ebp
pop ebp
ret
add eax, 0xfffefffd
cmp eax, 1
ja 0x48dd05
mov dword [edi], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ff105
mov esp, ebp
pop ebp
ret