Function at 0x4fb9f0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0xf4
push ebx
push ebp
push esi
push edi
mov edi, eax
test edi, edi
je 0x4fbc18
lea esi, [esp + 0x60]
call fcn.004062c0
mov eax, dword [edi + 0x10]
mov dword [esp + 0x64], eax
mov eax, esi
call fcn.0050f040
mov esi, dword [esp + 0xa8]
test esi, esi
je 0x4fba37
mov ecx, dword [esi]
push 4
push ecx
call sub.gdiplus.dll_GdipSetPixelOffsetMode
test eax, eax
je 0x4fba37
mov dword [esi + 4], eax
mov ebp, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
mov esi, dword [edi + 0x1c]
mov edi, dword [edi + 0x20]
mov ebx, edi
mov dword [esp + 0x34], edi
mov edi, esi
sub edi, eax
sub ebx, ebp
cmp edi, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x14], edi
jl 0x4fba63
mov dword [esp + 0x14], ebx
test byte [0x7b7d44], 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edi
jne 0x4fba85
or dword [0x7b7d44], 1
mov dword [0x7b7d40], 0x303030
fild dword [esp + 0x14]
mov edx, dword [0x7b7d40]
sub esp, 0x18
mov eax, esp
fmul dword [0x6bf9f0]
mov dword [eax], edx
lea eax, [esp + 0x78]
fstp dword [esp + 0x14]
fild dword [esp + 0x3c]
fstp dword [esp + 0x10]
fild dword [esp + 0x38]
fstp dword [esp + 0xc]
fild dword [esp + 0x44]
fstp dword [esp + 8]
fild dword [esp + 0x40]
fst dword [esp + 0x30]
fstp dword [esp + 4]
push eax
call fcn.00510760
mov edx, dword [esp + 0x108]
lea ecx, [esp + 0x38]
push ecx
push 0
push 0x419
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [esp + 0x10c], 0
mov ecx, esi
mov esi, ebp
mov dword [esp + 0x4c], esi
je 0x4fbb13
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
add esi, dword [esp + 0x3c]
mov dword [esp + 0x4c], esi
jmp 0x4fbb26
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
sub ecx, dword [esp + 0x28]
sub eax, esi
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x4fbb3c
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
sub esp, 0x18
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
fmul dword [0x6bf9f0]
mov eax, esp
mov dword [eax], 0xee8a56
lea eax, [esp + 0x78]
fstp dword [esp + 0x14]
fild dword [esp + 0x38]
fstp dword [esp + 0x10]
fild dword [esp + 0x3c]
fstp dword [esp + 0xc]
fild dword [esp + 0x64]
fstp dword [esp + 8]
fld dword [esp + 0x30]
fstp dword [esp + 4]
push eax
call fcn.00510760
mov ecx, dword [esp + 0x108]
push ecx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x4fbc08
test byte [0x7b7d54], 1
jne 0x4fbbb3
or dword [0x7b7d54], 1
mov dword [0x7b7d50], 0x4b4b4b
mov edx, dword [0x7b7d50]
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x4c]
mov dword [esp + 0x1c], edx
mov byte [esp + 0x20], 0x96
call fcn.004032c0
mov ecx, dword [esp + 0x28]
push ebx
push edi
push ebp
push ecx
mov ecx, esi
lea eax, [esp + 0x70]
call fcn.0049ce70
mov edx, dword [esp + 0x58]
push edx
mov dword [esp + 0x58], 0x70c650
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, dword [esp + 0x4c]
push eax
mov dword [esp + 0x4c], 0x6dbd38
call dword [sym.imp.GDI32.dll_DeleteObject]
lea esi, [esp + 0x60]
call fcn.0050f0d0
mov eax, esi
call fcn.00406370
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret 8