Function at 0x417da0
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 0x44e62c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x47b00c]
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 + 0x3c]
jle 0x417df2
xor al, al
jmp 0x418249
mov ecx, dword [esi + 0x38]
lea eax, [edx + edx*8]
shl eax, 3
mov dword [ebp - 0x38], eax
cmp dword [ecx + eax + 0xc], 0
je 0x418247
mov edi, dword [ecx + eax]
mov dword [ebp - 0x48], edi
cmp edi, 0x20
jne 0x417e2e
mov ecx, dword [ecx + eax + 0x44]
test ecx, ecx
je 0x418004
push ecx
call fcn.00418270
mov ecx, dword [ebp - 0x38]
jmp 0x418006
cmp edi, 1
jne 0x417eab
mov eax, dword [ecx + eax + 0x44]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x417fbd
mov ecx, dword [eax + 0x38]
test ecx, ecx
je 0x417e52
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x417e62
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
test ecx, ecx
je 0x417e7c
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
mov eax, dword [ebp - 0x3c]
je 0x417e7c
mov dword [eax], 0
push ecx
mov ecx, eax
call fcn.00417150
mov eax, dword [esi + 0x38]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + eax + 0x44], 0
mov eax, dword [esi + 0x38]
mov dword [ecx + eax + 4], 0
call dword [sym.imp.ole32.dll_OleUninitialize]
mov ecx, dword [ebp - 0x38]
jmp 0x418006
cmp edi, 3
jne 0x417ed5
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 0x417fbd
mov eax, dword [ebp - 0x2c]
jmp 0x417f79
cmp edi, 0x23
jne 0x417f44
mov ecx, dword [ecx + eax + 0x44]
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x418004
mov eax, dword [ecx]
mov dword [ebp - 0x3c], eax
cmp eax, edx
jne 0x417ef8
mov eax, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x417f21
push eax
mov ecx, esi
call fcn.00419760
test al, al
je 0x417f21
mov ecx, dword [ebp - 0x3c]
mov edx, dword [esi + 0x38]
push ecx
lea eax, [ecx + ecx*8]
mov ecx, esi
mov dword [edx + eax*8 + 0x44], 0
call fcn.00417da0
mov eax, dword [esi + 0x38]
mov ecx, dword [ebp - 0x38]
push 0x1c
push dword [ebp - 0x44]
mov dword [ecx + eax + 0x44], 0
call fcn.0043177f
mov ecx, dword [ebp - 0x38]
add esp, 8
jmp 0x418006
cmp edi, 0xc
jne 0x417f61
mov eax, dword [ecx + eax + 0x44]
test eax, eax
je 0x417fbd
push eax
mov ecx, esi
call fcn.00417da0
mov ecx, dword [ebp - 0x38]
jmp 0x418006
cmp edi, 0x1d
jne 0x417f89
push 0
push 2
push 0x1108
push dword [ecx + eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x417fbd
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov ecx, dword [ebp - 0x38]
jmp 0x418006
cmp edi, 0x17
jne 0x417fc2
cmp dword [ecx + eax + 0x44], 0
je 0x418004
movzx eax, word [ecx + eax + 0x44]
test eax, eax
je 0x417fa6
push eax
mov ecx, esi
call fcn.00417da0
mov eax, dword [esi + 0x38]
mov ecx, dword [ebp - 0x38]
movzx eax, word [ecx + eax + 0x46]
test eax, eax
je 0x418006
push eax
mov ecx, esi
call fcn.00417da0
mov ecx, dword [ebp - 0x38]
jmp 0x418006
cmp edi, 0x22
jne 0x418004
mov eax, dword [ecx + eax + 0x44]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x417fbd
push fcn.00414210
push 4
push 4
add eax, 4
mov dword [ebp - 4], 1
push eax
call fcn.00430f2e
push 0x14
push dword [ebp - 0x44]
call fcn.0043177f
mov ecx, dword [ebp - 0x38]
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x418006
mov ecx, eax
mov eax, dword [esi + 0x38]
add eax, ecx
mov edx, dword [eax]
cmp edx, 0x1a
je 0x41816a
cmp edx, 0x16
je 0x41816a
cmp edi, 0x10
jne 0x418033
push dword [ebp - 0x40]
mov ecx, esi
call fcn.0041a3b0
jmp 0x4181b3
cmp edi, 0x11
jne 0x41804b
push 0
push dword [ebp - 0x40]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_RemoveMenu]
jmp 0x4181b3
cmp edi, 0x1c
jne 0x418089
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 0x4181b6
push 0
push eax
mov eax, dword [esi + 0x38]
push 0x416
push dword [ecx + eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4181b3
cmp edi, 0x1b
jne 0x418131
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 0x4181b3
nop dword [eax]
mov edi, dword [ebp - 0x2c]
mov ecx, esi
push edi
call fcn.00419760
test al, al
je 0x418103
mov eax, dword [esi + 0x38]
lea ecx, [edi + edi*8]
cmp dword [eax + ecx*8], 0x1c
jne 0x418103
push edi
mov ecx, esi
call fcn.00417da0
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 + 0x38]
push 0x43f
push dword [ecx + eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4180e0
mov edi, dword [ebp - 0x48]
jmp 0x4181b3
mov eax, dword [eax + 4]
test eax, eax
je 0x4181b3
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x38]
mov ecx, dword [ebp - 0x38]
push dword [ecx + eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x38]
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + eax + 8], 0
je 0x4181b6
push dword [ebp - 0x40]
mov ecx, esi
call fcn.0041a3b0
jmp 0x4181b3
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x4181a1
mov edi, dword [eax]
test edi, edi
je 0x418192
nop word [eax + eax]
push dword [eax + edi*4]
mov ecx, esi
call fcn.00417da0
mov eax, dword [ebp - 0x3c]
sub edi, 1
jne 0x418180
push eax
call fcn.00430eef
mov edi, dword [ebp - 0x48]
add esp, 4
mov ecx, dword [ebp - 0x38]
cmp edi, 0x1a
jne 0x4181b3
mov eax, dword [esi + 0x38]
push dword [ecx + eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0x38]
mov eax, dword [esi + 0x38]
mov edx, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ecx + eax + 0x14]
test eax, eax
je 0x4181d3
push eax
call edx
mov ecx, dword [ebp - 0x38]
mov edx, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x38]
mov eax, dword [ecx + eax + 0x10]
test eax, eax
je 0x4181e4
push eax
call edx
mov ecx, dword [ebp - 0x38]
mov eax, dword [esi + 0x38]
mov eax, dword [ecx + eax + 0x44]
test eax, eax
je 0x41820e
cmp edi, 0xb
jne 0x4181fd
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x41820e
cmp edi, 0x13
je 0x418207
cmp edi, 0x1c
jne 0x41820e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [ebp - 0x40]
mov ecx, esi
push edi
call fcn.0041a220
mov eax, dword [esi + 0x3c]
cmp edi, eax
jne 0x418247
test eax, eax
je 0x418247
mov edx, dword [esi + 0x38]
nop word [eax + eax]
mov ecx, dword [esi + 0x3c]
lea eax, [ecx + ecx*8]
cmp dword [edx + eax*8 + 0xc], 0
jne 0x418247
lea eax, [ecx - 1]
mov dword [esi + 0x3c], eax
test eax, eax
jne 0x418230
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.00430eab
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4