Function at 0x4173c0
Capabilities:
Capture webcam image
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44cb4c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x46400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebx + 8]
mov dword [ebp - 0x40], edx
cmp edx, dword [esi + 4]
jle 0x417412
xor al, al
jmp 0x41785b
mov ecx, dword [esi]
lea eax, [edx + edx*8]
shl eax, 3
mov dword [ebp - 0x38], eax
cmp dword [ecx + eax + 0xc], 0
je 0x417859
mov edi, dword [ecx + eax]
mov dword [ebp - 0x48], edi
cmp edi, 0x20
jne 0x417461
mov eax, dword [ecx + eax + 0x44]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x4175eb
mov ecx, eax
call fcn.00416cf0
push 0x218
push dword [ebp - 0x3c]
call fcn.0042d7f2
mov ecx, dword [ebp - 0x38]
add esp, 8
jmp 0x417634
cmp edi, 1
jne 0x4174dc
mov eax, dword [ecx + eax + 0x44]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x4175eb
mov ecx, dword [eax + 0x38]
test ecx, ecx
je 0x417485
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x417495
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
test ecx, ecx
je 0x4174af
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
mov eax, dword [ebp - 0x3c]
je 0x4174af
mov dword [eax], 0
push ecx
mov ecx, eax
call fcn.00416f20
mov eax, dword [esi]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + eax + 0x44], 0
mov eax, dword [esi]
mov dword [ecx + eax + 4], 0
call dword [sym.imp.ole32.dll_OleUninitialize]
mov ecx, dword [ebp - 0x38]
jmp 0x417634
cmp edi, 3
jne 0x417506
lea edx, [ebp - 0x2c]
push edx
push 0
push 0x1603
push dword [ecx + eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4175eb
mov eax, dword [ebp - 0x2c]
jmp 0x4175a8
cmp edi, 0x23
jne 0x417573
mov ecx, dword [ecx + eax + 0x44]
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x417632
mov eax, dword [ecx]
mov dword [ebp - 0x3c], eax
cmp eax, edx
jne 0x417529
mov eax, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x417551
push eax
mov ecx, esi
call fcn.004182f0
test al, al
je 0x417551
mov ecx, dword [ebp - 0x3c]
mov edx, dword [esi]
push ecx
lea eax, [ecx + ecx*8]
mov ecx, esi
mov dword [edx + eax*8 + 0x44], 0
call fcn.004173c0
mov eax, dword [esi]
mov ecx, dword [ebp - 0x38]
push 0x1c
push dword [ebp - 0x44]
mov dword [ecx + eax + 0x44], 0
call fcn.0042d7f2
mov ecx, dword [ebp - 0x38]
add esp, 8
jmp 0x417634
cmp edi, 0xc
jne 0x417590
mov eax, dword [ecx + eax + 0x44]
test eax, eax
je 0x4175eb
push eax
mov ecx, esi
call fcn.004173c0
mov ecx, dword [ebp - 0x38]
jmp 0x417634
cmp edi, 0x1d
jne 0x4175b8
push 0
push 2
push 0x1108
push dword [ecx + eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4175eb
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov ecx, dword [ebp - 0x38]
jmp 0x417634
cmp edi, 0x17
jne 0x4175f0
cmp dword [ecx + eax + 0x44], 0
je 0x417632
movzx eax, word [ecx + eax + 0x44]
test eax, eax
je 0x4175d5
push eax
mov ecx, esi
call fcn.004173c0
mov eax, dword [esi]
mov ecx, dword [ebp - 0x38]
movzx eax, word [ecx + eax + 0x46]
test eax, eax
je 0x417634
push eax
mov ecx, esi
call fcn.004173c0
mov ecx, dword [ebp - 0x38]
jmp 0x417634
cmp edi, 0x22
jne 0x417632
mov eax, dword [ecx + eax + 0x44]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x4175eb
push fcn.00414410
push 4
push 4
add eax, 4
mov dword [ebp - 4], 1
push eax
call fcn.0042cfb0
push 0x14
push dword [ebp - 0x44]
call fcn.0042d7f2
mov ecx, dword [ebp - 0x38]
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x417634
mov ecx, eax
mov eax, dword [esi]
add eax, ecx
mov edx, dword [eax]
cmp edx, 0x1a
je 0x41778b
cmp edx, 0x16
je 0x41778b
cmp edi, 0x10
jne 0x417660
push dword [ebp - 0x40]
mov ecx, esi
call fcn.00418970
jmp 0x4177d2
cmp edi, 0x11
jne 0x417678
push 0
push dword [ebp - 0x40]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_RemoveMenu]
jmp 0x4177d2
cmp edi, 0x1c
jne 0x4176b5
push 0
push dword [ebp - 0x40]
push 0x419
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x38]
cmp eax, 0xffffffff
je 0x4177d5
push 0
push eax
mov eax, dword [esi]
push 0x416
push dword [ecx + eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4177d2
cmp edi, 0x1b
jne 0x417754
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], 0x20
push ecx
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0x80000020
push 0x43f
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
push dword [eax + 4]
mov dword [ebp - 0x3c], 0
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x4177d2
mov edi, dword [ebp - 0x2c]
mov ecx, esi
push edi
call fcn.004182f0
test al, al
je 0x417727
mov eax, dword [esi]
lea ecx, [edi + edi*8]
cmp dword [eax + ecx*8], 0x1c
jne 0x417727
push edi
mov ecx, esi
call fcn.004173c0
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x38]
inc eax
push eax
mov dword [ebp - 0x3c], eax
mov eax, dword [esi]
push 0x43f
push dword [ecx + eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x417705
mov edi, dword [ebp - 0x48]
jmp 0x4177d2
mov eax, dword [eax + 4]
test eax, eax
je 0x4177d2
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, dword [ebp - 0x38]
push dword [ecx + eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi]
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + eax + 8], 0
je 0x4177d5
push dword [ebp - 0x40]
mov ecx, esi
call fcn.00418970
jmp 0x4177d2
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x4177c1
mov edi, dword [eax]
test edi, edi
je 0x4177b2
nop dword [eax + eax]
push dword [eax + edi*4]
mov ecx, esi
call fcn.004173c0
mov eax, dword [ebp - 0x3c]
sub edi, 1
jne 0x4177a0
push eax
call fcn.0042cfa2
mov edi, dword [ebp - 0x48]
add esp, 4
mov ecx, dword [ebp - 0x38]
cmp edi, 0x1a
jne 0x4177d2
mov eax, dword [esi]
push dword [ecx + eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0x38]
mov eax, dword [esi]
mov edx, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ecx + eax + 0x14]
test eax, eax
je 0x4177f1
push eax
call edx
mov ecx, dword [ebp - 0x38]
mov edx, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi]
mov eax, dword [ecx + eax + 0x10]
test eax, eax
je 0x417801
push eax
call edx
mov ecx, dword [ebp - 0x38]
mov eax, dword [esi]
mov eax, dword [ecx + eax + 0x44]
test eax, eax
je 0x41782a
cmp edi, 0xb
jne 0x417819
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x41782a
cmp edi, 0x13
je 0x417823
cmp edi, 0x1c
jne 0x41782a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [ebp - 0x40]
mov ecx, esi
push edi
call fcn.004187e0
mov eax, dword [esi + 4]
cmp edi, eax
jne 0x417859
test eax, eax
je 0x417859
mov edx, dword [esi]
mov ecx, dword [esi + 4]
lea eax, [ecx + ecx*8]
cmp dword [edx + eax*8 + 0xc], 0
jne 0x417859
lea eax, [ecx - 1]
mov dword [esi + 4], eax
test eax, eax
jne 0x417842
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042cf3b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4