Function at 0x4bb030
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60f8f8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, 5
mov dword [esi + 0x844], eax
mov dword [esi + 0x84c], eax
mov eax, dword [esi + 0x880]
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 0x848], 4
mov dword [esi + 0x850], 6
je 0x4bb09c
push eax
call fcn.0055dbfb
add esp, 4
mov eax, 8
xor ecx, ecx
mov edx, eax
mov dword [esi + 0x87c], eax
mul edx
seto cl
mov dword [esi + 0x880], ebx
neg ecx
or ecx, eax
push ecx
call fcn.0055dbf6
add esp, 4
cmp eax, ebx
mov dword [esi + 0x880], eax
jne 0x4bb0ea
mov dword [esi + 0x87c], ebx
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [eax], 0xce32
mov ecx, dword [esi + 0x880]
lea eax, [esi + 0x100]
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x880]
mov dword [edx + 8], 0xce33
mov ecx, dword [esi + 0x880]
mov dword [esp + 0x20], eax
lea eax, [esi + 0x1f8]
mov dword [ecx + 0xc], eax
mov edx, dword [esi + 0x880]
mov dword [edx + 0x10], 0xce3b
mov ecx, dword [esi + 0x880]
mov dword [esp + 0x24], eax
lea eax, [esi + 0x3e8]
mov dword [ecx + 0x14], eax
mov edx, dword [esi + 0x880]
mov dword [edx + 0x18], 0xce3c
mov ecx, dword [esi + 0x880]
mov dword [esp + 0x2c], eax
lea eax, [esi + 0x504]
mov dword [ecx + 0x1c], eax
mov edx, dword [esi + 0x880]
mov dword [edx + 0x20], 0xce3e
mov ecx, dword [esi + 0x880]
mov dword [esp + 0x1c], eax
lea eax, [esi + 0x2f0]
mov dword [ecx + 0x24], eax
mov edx, dword [esi + 0x880]
mov dword [edx + 0x28], 0xce2d
mov ecx, dword [esi + 0x880]
mov dword [esp + 0x28], eax
lea eax, [esi + 0x620]
mov dword [ecx + 0x2c], eax
mov edx, dword [esi + 0x880]
mov dword [edx + 0x30], 0xce3f
mov ecx, dword [esi + 0x880]
mov dword [esp + 0x34], eax
lea eax, [esi + 0x718]
mov dword [ecx + 0x34], eax
mov edx, dword [esi + 0x880]
mov dword [esp + 0x3c], eax
mov dword [edx + 0x38], 0xce41
mov ecx, dword [esi + 0x880]
lea eax, [esi + 0x7ec]
mov dword [ecx + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x854]
lea ecx, [eax + eax*2]
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esi + 0x20]
push ebx
mov edi, eax
push 0xce32
sar edi, 1
push 0x419
sub ecx, edi
push edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x28], ecx
call dword [sym.imp.user32.dll_SendMessageA]
push edi
push 1
mov ebx, eax
push 0xce32
push ebx
mov ecx, esi
call fcn.00583db4
mov eax, dword [esi]
mov edx, dword [eax + 0x170]
lea ecx, [esp + 0x44]
push ecx
push ebx
mov ecx, esi
call edx
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
push 0xce32
push esi
mov edx, dword [eax + 0x134]
lea ecx, [esp + 0x4c]
push ecx
push 0x50000000
push 0
mov ecx, edi
call edx
test eax, eax
je 0x4bb0d3
mov eax, dword [ebp + 8]
push 0xc0c0c0
push eax
mov ebx, 0x12
mov ecx, edi
call fcn.004bcf60
lea ecx, [esp + 0x38]
push ecx
mov edi, 0x71a8
call fcn.004dd5f0
add esp, 4
mov dword [esp + 0x60], 0
mov edx, dword [eax]
add esi, 0x1cc
test edx, edx
jne 0x4bb2a1
xor eax, eax
jmp 0x4bb2b1
mov eax, edx
lea ecx, [eax + 1]
mov bl, byte [eax]
add eax, 1
test bl, bl
jne 0x4bb2a6
sub eax, ecx
push eax
push edx
mov ecx, esi
call fcn.00401480
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4bb2e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x20]
xor eax, eax
call fcn.004bcd90
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x848]
mov esi, 1
mov dword [edi + 0x178], esi
mov dword [edi + 0x174], eax
mov dword [edi + 0x1e0], esi
call fcn.004bae80
mov ecx, dword [edi + 0x20]
push 0
push 0xce33
push 0x419
push ecx
call dword [sym.imp.user32.dll_SendMessageA]
mov edx, dword [esp + 0x18]
push edx
push esi
mov ebx, eax
push 0xce33
push ebx
mov ecx, edi
call fcn.00583db4
mov eax, dword [edi]
mov edx, dword [eax + 0x170]
lea ecx, [esp + 0x44]
push ecx
push ebx
mov ecx, edi
call edx
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
mov edx, dword [eax + 0x134]
push 0xce33
push edi
lea ecx, [esp + 0x4c]
push ecx
push 0x50000000
push 0
mov ecx, esi
call edx
test eax, eax
je 0x4bb0d3
mov eax, dword [ebp + 8]
push 0xc0c0c0
push eax
mov ebx, 0x13
mov ecx, esi
call fcn.004bcf60
lea ecx, [esp + 0x38]
push ecx
mov edi, 0x71a9
call fcn.004dd5f0
add esp, 4
mov edi, dword [esp + 0x24]
mov dword [esp + 0x60], 1
mov esi, dword [eax]
mov ecx, edi
call fcn.004b8ff0
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4bb3de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov esi, edi
call fcn.004bcd90
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x844]
mov ebx, 1
mov dword [edi + 0x270], ebx
mov dword [edi + 0x26c], eax
mov dword [edi + 0x2d8], ebx
call fcn.004bae80
mov ecx, dword [edi + 0x20]
push 0
push 0xce3e
push 0x419
push ecx
call dword [sym.imp.user32.dll_SendMessageA]
mov edx, dword [esp + 0x18]
push edx
push ebx
mov esi, eax
push 0xce3e
push esi
mov ecx, edi
call fcn.00583db4
mov eax, dword [edi]
mov edx, dword [eax + 0x170]
lea ecx, [esp + 0x44]
push ecx
push esi
mov ecx, edi
call edx
mov esi, dword [esp + 0x28]
mov eax, dword [esi]
mov edx, dword [eax + 0x134]
push 0xce3e
push edi
lea ecx, [esp + 0x4c]
push ecx
push 0x50000000
push 0
mov ecx, esi
call edx
test eax, eax
je 0x4bb0d3
mov eax, dword [ebp + 8]
push 0xc0c0c0
push eax
mov ebx, 0x1e
mov ecx, esi
call fcn.004bcf60
lea ecx, [esp + 0x38]
push ecx
mov edi, 0x71b2
call fcn.004dd5f0
add esp, 4
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x60], 2
mov esi, dword [eax]
mov ecx, ebx
call fcn.004b8ff0
lea ecx, [esp + 0x38]
mov dword [esp + 0x60], 0xffffffff
call fcn.00401510
xor eax, eax
mov esi, ebx
call fcn.004bcd90
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x84c]
mov esi, 1
mov dword [edi + 0x364], eax
xor eax, eax
mov ecx, ebx
mov dword [edi + 0x368], esi
mov dword [edi + 0x3d0], esi
call fcn.004bcd20
mov dword [edi + 0x3e0], esi
call fcn.004bae80
mov edx, dword [edi + 0x20]
push 0
push 0xce3b
push 0x419
push edx
call dword [sym.imp.user32.dll_SendMessageA]
mov esi, eax
mov eax, dword [esp + 0x30]
push eax
push 1
push 0xce3b
push esi
mov ecx, edi
call fcn.00583db4
mov edx, dword [edi]
mov edx, dword [edx + 0x170]
lea eax, [esp + 0x44]
push eax
push esi
mov ecx, edi
call edx
mov esi, dword [esp + 0x2c]
mov eax, dword [esi]
mov edx, dword [eax + 0x134]
push 0xce3b
push edi
lea ecx, [esp + 0x4c]
push ecx
push 0x50000000
push 0
mov ecx, esi
call edx
test eax, eax
je 0x4bb0d3
mov eax, dword [ebp + 8]
push 0x20000ff
push eax
mov ebx, 0x1b
mov ecx, esi
call fcn.004bcf60
lea ecx, [esp + 0x38]
push ecx
mov edi, 0x71b0
call fcn.004dd5f0
add esp, 4
mov dword [esp + 0x60], 3
mov ebx, dword [esp + 0x2c]
mov esi, dword [eax]
mov ecx, ebx
call fcn.004b8ff0
lea ecx, [esp + 0x38]
mov dword [esp + 0x60], 0xffffffff
call fcn.00401510
xor eax, eax
mov esi, ebx
call fcn.004bcd90
lea edx, [esp + 0x38]
push edx
mov edi, 0x71b4
call fcn.004dd5f0
add esp, 4
mov dword [esp + 0x60], 4
mov esi, dword [eax]
mov ecx, ebx
call fcn.004b8280
or esi, 0xffffffff
lea ecx, [esp + 0x38]
mov dword [esp + 0x60], esi
call fcn.00401510
lea eax, [esp + 0x2c]
push eax
mov edi, 0x71ba
call fcn.004dd5f0
add esp, 4
lea ecx, [esp + 0x38]
push 0x643268
push ecx
mov ecx, eax
mov dword [esp + 0x68], 5
call fcn.0040eb30
add esp, 8
mov byte [esp + 0x60], 6
mov edi, dword [esp + 0x14]
mov eax, dword [eax]
mov edx, dword [edi + 0x450]
lea ecx, [edi + 0x448]
push eax
push edx
call fcn.0057d48d
lea ecx, [esp + 0x38]
call fcn.00401510
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], esi
call fcn.00401510
mov ebx, 1
mov dword [edi + 0x500], ebx
mov dword [edi + 0x4c8], ebx
call fcn.004bae80
mov edx, dword [edi + 0x20]
push 0
push 0xce3c
push 0x419
push edx
call dword [sym.imp.user32.dll_SendMessageA]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
push ebx
push 0xce3c
push esi
mov ecx, edi
call fcn.00583db4
mov edx, dword [edi]
mov edx, dword [edx + 0x170]
lea eax, [esp + 0x44]
push eax
push esi
mov ecx, edi
call edx
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov edx, dword [eax + 0x134]
push 0xce3c
push edi
lea ecx, [esp + 0x4c]
push ecx
push 0x50000000
push 0
mov ecx, esi
call edx
test eax, eax
je 0x4bb0d3
mov eax, dword [ebp + 8]
push 0x20000ff
push eax
mov ebx, 0x1c
mov ecx, esi
call fcn.004bcf60
lea ecx, [esp + 0x38]
push ecx
mov edi, 0x71b5
call fcn.004dd5f0
add esp, 4
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x60], 7
mov esi, dword [eax]
mov ecx, ebx
call fcn.004b8ff0
lea ecx, [esp + 0x38]
mov dword [esp + 0x60], 0xffffffff
call fcn.00401510
xor eax, eax
mov esi, ebx
call fcn.004bcd90
lea edx, [esp + 0x38]
push edx
mov edi, 0x71b4
call fcn.004dd5f0
add esp, 4
mov dword [esp + 0x60], 8
mov esi, dword [eax]
mov ecx, ebx
call fcn.004b8280
lea ecx, [esp + 0x38]
mov dword [esp + 0x60], 0xffffffff
call fcn.00401510
lea eax, [esp + 0x2c]
push eax
mov edi, 0x71b6
call fcn.004dd5f0
add esp, 4
lea ecx, [esp + 0x38]
push 0x643268
push ecx
mov ecx, eax
mov dword [esp + 0x68], 9
call fcn.0040eb30
add esp, 8
mov byte [esp + 0x60], 0xa
mov esi, dword [esp + 0x14]
mov eax, dword [eax]
mov ecx, dword [esi + 0x56c]
lea ebx, [esi + 0x564]
push eax
push ecx
mov ecx, ebx
call fcn.0057d48d
lea ecx, [esp + 0x38]
call fcn.00401510
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], 0xffffffff
call fcn.00401510
lea edx, [esp + 0x2c]
push edx
mov edi, 0x71ba
call fcn.004dd5f0
add esp, 4
lea ecx, [esp + 0x38]
push 0x643268
push ecx
mov ecx, eax
mov dword [esp + 0x68], 0xb
call fcn.0040eb30
add esp, 8
mov byte [esp + 0x60], 0xc
mov eax, dword [eax]
mov ecx, dword [ebx + 8]
push eax
push ecx
mov ecx, ebx
call fcn.0057d48d
lea ecx, [esp + 0x38]
call fcn.00401510
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], 0xffffffff
call fcn.00401510
mov ebx, 1
mov edi, esi
mov dword [esi + 0x61c], ebx
mov dword [esi + 0x5e4], ebx
call fcn.004bae80
mov edx, dword [esi + 0x20]
push 0
push 0xce2d
push 0x419
push edx
call dword [sym.imp.user32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esp + 0x30]
push eax
push ebx
push 0xce2d
push edi
mov ecx, esi
call fcn.00583db4
mov edx, dword [esi]
mov edx, dword [edx + 0x170]
lea eax, [esp + 0x44]
push eax
push edi
mov ecx, esi
call edx
mov edi, dword [esp + 0x34]
mov eax, dword [edi]
mov edx, dword [eax + 0x134]
push 0xce2d
push esi
lea ecx, [esp + 0x4c]
push ecx
push 0x50000000
push 0
mov ecx, edi
call edx
test eax, eax
je 0x4bb0d3
mov eax, dword [ebp + 8]
push 0xc0c0c0
push eax
mov ebx, 0xd
mov ecx, edi
call fcn.004bcf60
lea ecx, [esp + 0x38]
push ecx
mov edi, 0x71a4
call fcn.004dd5f0
add esp, 4
mov edi, dword [esp + 0x34]
mov dword [esp + 0x60], ebx
mov esi, dword [eax]
mov ecx, edi
call fcn.004b8ff0
lea ecx, [esp + 0x38]
mov dword [esp + 0x60], 0xffffffff
call fcn.00401510
xor eax, eax
mov esi, edi
call fcn.004bcd90
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0x850]
mov dword [ebx + 0x698], eax
mov dword [ebx + 0x694], eax
mov eax, dword [ebx + 0x840]
test eax, eax
mov esi, 1
mov dword [ebx + 0x700], esi
mov ecx, edi
je 0x4bb91f
mov eax, dword [eax + 0x60]
jmp 0x4bb921
xor eax, eax
call fcn.004bcd20
lea edx, [esp + 0x14]
push edx
mov edi, 0x71b7
call fcn.004dd5f0
add esp, 4
mov dword [esp + 0x60], 0xe
mov eax, dword [eax]
mov edx, dword [ebx + 0x688]
lea ecx, [ebx + 0x680]
push eax
push edx
call fcn.0057d48d
lea ecx, [esp + 0x14]
mov dword [esp + 0x60], 0xffffffff
call fcn.00401510
mov edi, ebx
mov dword [ebx + 0x710], esi
call fcn.004bae80
cmp dword [ebx + 0x840], 0
je 0x4bb98f
mov esi, dword [esp + 0x1c]
mov eax, 0x10
mov edi, 0x69e9c8
call fcn.004b8f50
mov eax, dword [ebx + 0x20]
push 0
push 0xce3f
push 0x419
push eax
call dword [sym.imp.user32.dll_SendMessageA]
mov edx, dword [ebx]
mov edx, dword [edx + 0x170]
mov esi, eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esi - 1]
push ecx
mov ecx, ebx
call edx
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
mov ecx, ebx
push eax
push 1
push 0xce3f
push esi
call fcn.00583db4
mov edx, dword [ebx]
mov edx, dword [edx + 0x170]
lea eax, [esp + 0x44]
push eax
push esi
mov ecx, ebx
call edx
mov esi, dword [esp + 0x3c]
mov eax, dword [esi]
mov edx, dword [eax + 0x134]
push 0xce3f
push ebx
lea ecx, [esp + 0x4c]
push ecx
push 0x50000000
push 0
mov ecx, esi
call edx
test eax, eax
je 0x4bb0d3
mov ecx, esi
call fcn.004be760
call fcn.004be730
mov edi, ebx
call fcn.004bae80
mov eax, dword [ebx + 0x20]
mov edi, dword [sym.imp.user32.dll_SendMessageA]
push 0
push 0xce41
push 0x419
push eax
call edi
mov edx, dword [ebx]
mov edx, dword [edx + 0x170]
mov esi, eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esi - 2]
push ecx
mov ecx, ebx
call edx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
add eax, eax
sub eax, ecx
mov dword [esp + 0x4c], eax
sub eax, ecx
push eax
push 1
push 0xce41
push esi
mov ecx, ebx
call fcn.00583db4
mov edx, dword [ebx]
mov edx, dword [edx + 0x170]
lea eax, [esp + 0x44]
push eax
push esi
mov ecx, ebx
call edx
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x48]
sub eax, esi
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
fmul qword [0x655aa0]
fadd qword [0x655768]
call fcn.005a3c30
add eax, esi
mov esi, dword [esp + 0x40]
mov edx, dword [esi]
mov edx, dword [edx + 0x134]
push 0xce41
mov dword [esp + 0x54], eax
push ebx
lea eax, [esp + 0x4c]
push eax
push 0x50000000
mov ecx, esi
call edx
test eax, eax
je 0x4bb0d3
push 0
push 0xff
push 0
mov ecx, esi
call fcn.00567918
mov eax, dword [ebx + 0x80c]
push 0xff
push 1
push 0x405
push eax
call edi
mov edi, ebx
call fcn.004bae80
mov esi, ebx
call fcn.004b94e0
mov eax, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4