Function at 0x4fbc30
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x10c
push ebx
push ebp
mov ebp, dword [esp + 0x118]
push esi
xor ebx, ebx
cmp ebp, ebx
push edi
mov edi, eax
je 0x4fbe8c
lea esi, [esp + 0x78]
call fcn.004062c0
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x7c], eax
mov eax, esi
call fcn.0050f040
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x38]
push ecx
push ebx
push 0x419
push edi
call esi
lea edx, [esp + 0x20]
push edx
push ebx
push 0x41a
push edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
call esi
cmp byte [esp + 0x124], bl
je 0x4fbcbf
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
setne al
cmp al, bl
mov byte [esp + 0x1b], al
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0xffffff
jne 0x4fbce7
mov dword [esp + 0x14], 0xa0a0a0
push ecx
mov ecx, dword [ecx]
mov eax, esp
lea esi, [esp + 0x64]
mov dword [eax], ecx
call fcn.00403200
cmp byte [esp + 0x124], bl
je 0x4fbd4e
mov edx, dword [esp + 0x44]
sub edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fld dword [0x7235d8]
mov dword [esp + 0x1c], ecx
fsubr st(1)
fst dword [esp + 0x14]
fild dword [esp + 0x1c]
fld dword [0x6bf9f0]
fmul st(1), st(0)
fild dword [esp + 0x20]
faddp st(2)
fxch st(1)
fst dword [esp + 0x30]
fxch st(3)
fmul st(1)
fiadd dword [esp + 0x3c]
fst dword [esp + 0x34]
jmp 0x4fbd9e
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fld dword [0x7235d8]
mov dword [esp + 0x1c], edx
fsubr st(1)
fst dword [esp + 0x14]
fld dword [0x6bf9f0]
fmul st(2), st(0)
fild dword [esp + 0x38]
faddp st(3)
fxch st(2)
fst dword [esp + 0x30]
fild dword [esp + 0x1c]
fmul st(3)
fiadd dword [esp + 0x24]
fst dword [esp + 0x34]
fxch st(1)
fxch st(3)
fxch st(1)
fxch st(2)
sub esp, 0xc
fmulp st(1)
lea ecx, [esp + 0x6c]
lea eax, [esp + 0x84]
fstp dword [esp + 8]
fstp dword [esp + 4]
fstp dword [esp]
call fcn.0049d250
cmp byte [esp + 0x1b], bl
je 0x4fbdd0
mov dword [esp + 0x1c], 0xee8a56
jmp 0x4fbdf6
mov eax, 1
test byte [0x7b7d34], al
jne 0x4fbded
or dword [0x7b7d34], eax
mov dword [0x7b7d30], 0x4b4b4b
mov eax, dword [0x7b7d30]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ecx]
mov eax, esp
lea esi, [esp + 0x4c]
mov dword [eax], ecx
call fcn.00403200
fld dword [esp + 0x14]
fmul dword [0x723700]
sub esp, 0xc
mov ecx, esi
lea eax, [esp + 0x84]
fstp dword [esp + 8]
fld dword [esp + 0x40]
fstp dword [esp + 4]
fld dword [esp + 0x3c]
fstp dword [esp]
call fcn.0049d250
lea esi, [esp + 0x78]
call fcn.0050f0d0
mov edx, dword [esp + 0x58]
mov ebx, 0x70c650
push edx
mov dword [esp + 0x58], ebx
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, dword [esp + 0x4c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, 0x6dbd38
push eax
mov dword [esp + 0x4c], edi
call esi
mov ecx, dword [esp + 0x70]
push ecx
mov dword [esp + 0x70], ebx
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x64]
push edx
mov dword [esp + 0x64], edi
call esi
lea eax, [esp + 0x78]
call fcn.00406370
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 8