Function at 0x4184b0
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 0x4502bc
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x48100c]
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 + 0x40]
jle 0x418502
xor al, al
jmp 0x418959
mov ecx, dword [esi + 0x3c]
lea eax, [edx + edx*8]
shl eax, 3
mov dword [ebp - 0x38], eax
cmp dword [ecx + eax + 0xc], 0
je 0x418957
mov edi, dword [ecx + eax]
mov dword [ebp - 0x48], edi
cmp edi, 0x20
jne 0x41853e
mov ecx, dword [ecx + eax + 0x44]
test ecx, ecx
je 0x418714
push ecx
call fcn.00418980
mov ecx, dword [ebp - 0x38]
jmp 0x418716
cmp edi, 1
jne 0x4185bb
mov eax, dword [ecx + eax + 0x44]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x4186cd
mov ecx, dword [eax + 0x38]
test ecx, ecx
je 0x418562
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x418572
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
test ecx, ecx
je 0x41858c
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
mov eax, dword [ebp - 0x3c]
je 0x41858c
mov dword [eax], 0
push ecx
mov ecx, eax
call fcn.00417850
mov eax, dword [esi + 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + eax + 0x44], 0
mov eax, dword [esi + 0x3c]
mov dword [ecx + eax + 4], 0
call dword [sym.imp.ole32.dll_OleUninitialize]
mov ecx, dword [ebp - 0x38]
jmp 0x418716
cmp edi, 3
jne 0x4185e5
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 0x4186cd
mov eax, dword [ebp - 0x2c]
jmp 0x418689
cmp edi, 0x23
jne 0x418654
mov ecx, dword [ecx + eax + 0x44]
mov dword [ebp - 0x44], ecx
test ecx, ecx
je 0x418714
mov eax, dword [ecx]
mov dword [ebp - 0x3c], eax
cmp eax, edx
jne 0x418608
mov eax, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x418631
push eax
mov ecx, esi
call fcn.00419ea0
test al, al
je 0x418631
mov ecx, dword [ebp - 0x3c]
mov edx, dword [esi + 0x3c]
push ecx
lea eax, [ecx + ecx*8]
mov ecx, esi
mov dword [edx + eax*8 + 0x44], 0
call fcn.004184b0
mov eax, dword [esi + 0x3c]
mov ecx, dword [ebp - 0x38]
push 0x1c
push dword [ebp - 0x44]
mov dword [ecx + eax + 0x44], 0
call fcn.0043111f
mov ecx, dword [ebp - 0x38]
add esp, 8
jmp 0x418716
cmp edi, 0xc
jne 0x418671
mov eax, dword [ecx + eax + 0x44]
test eax, eax
je 0x4186cd
push eax
mov ecx, esi
call fcn.004184b0
mov ecx, dword [ebp - 0x38]
jmp 0x418716
cmp edi, 0x1d
jne 0x418699
push 0
push 2
push 0x1108
push dword [ecx + eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4186cd
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov ecx, dword [ebp - 0x38]
jmp 0x418716
cmp edi, 0x17
jne 0x4186d2
cmp dword [ecx + eax + 0x44], 0
je 0x418714
movzx eax, word [ecx + eax + 0x44]
test eax, eax
je 0x4186b6
push eax
mov ecx, esi
call fcn.004184b0
mov eax, dword [esi + 0x3c]
mov ecx, dword [ebp - 0x38]
movzx eax, word [ecx + eax + 0x46]
test eax, eax
je 0x418716
push eax
mov ecx, esi
call fcn.004184b0
mov ecx, dword [ebp - 0x38]
jmp 0x418716
cmp edi, 0x22
jne 0x418714
mov eax, dword [ecx + eax + 0x44]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x4186cd
push fcn.004147e0
push 4
push 4
add eax, 4
mov dword [ebp - 4], 1
push eax
call fcn.0043115e
push 0x14
push dword [ebp - 0x44]
call fcn.0043111f
mov ecx, dword [ebp - 0x38]
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x418716
mov ecx, eax
mov eax, dword [esi + 0x3c]
add eax, ecx
mov edx, dword [eax]
cmp edx, 0x1a
je 0x41887a
cmp edx, 0x16
je 0x41887a
cmp edi, 0x10
jne 0x418743
push dword [ebp - 0x40]
mov ecx, esi
call fcn.0041aaf0
jmp 0x4188c3
cmp edi, 0x11
jne 0x41875b
push 0
push dword [ebp - 0x40]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_RemoveMenu]
jmp 0x4188c3
cmp edi, 0x1c
jne 0x418799
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 0x4188c6
push 0
push eax
mov eax, dword [esi + 0x3c]
push 0x416
push dword [ecx + eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4188c3
cmp edi, 0x1b
jne 0x418841
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 0x4188c3
nop dword [eax]
mov edi, dword [ebp - 0x2c]
mov ecx, esi
push edi
call fcn.00419ea0
test al, al
je 0x418813
mov eax, dword [esi + 0x3c]
lea ecx, [edi + edi*8]
cmp dword [eax + ecx*8], 0x1c
jne 0x418813
push edi
mov ecx, esi
call fcn.004184b0
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 + 0x3c]
push 0x43f
push dword [ecx + eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4187f0
mov edi, dword [ebp - 0x48]
jmp 0x4188c3
mov eax, dword [eax + 4]
test eax, eax
je 0x4188c3
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x3c]
mov ecx, dword [ebp - 0x38]
push dword [ecx + eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x3c]
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + eax + 8], 0
je 0x4188c6
push dword [ebp - 0x40]
mov ecx, esi
call fcn.0041aaf0
jmp 0x4188c3
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x4188b1
mov edi, dword [eax]
test edi, edi
je 0x4188a2
nop word [eax + eax]
push dword [eax + edi*4]
mov ecx, esi
call fcn.004184b0
mov eax, dword [ebp - 0x3c]
sub edi, 1
jne 0x418890
push eax
call fcn.0043112d
mov edi, dword [ebp - 0x48]
add esp, 4
mov ecx, dword [ebp - 0x38]
cmp edi, 0x1a
jne 0x4188c3
mov eax, dword [esi + 0x3c]
push dword [ecx + eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0x38]
mov eax, dword [esi + 0x3c]
mov edx, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ecx + eax + 0x14]
test eax, eax
je 0x4188e3
push eax
call edx
mov ecx, dword [ebp - 0x38]
mov edx, dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x3c]
mov eax, dword [ecx + eax + 0x10]
test eax, eax
je 0x4188f4
push eax
call edx
mov ecx, dword [ebp - 0x38]
mov eax, dword [esi + 0x3c]
mov eax, dword [ecx + eax + 0x44]
test eax, eax
je 0x41891e
cmp edi, 0xb
jne 0x41890d
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x41891e
cmp edi, 0x13
je 0x418917
cmp edi, 0x1c
jne 0x41891e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [ebp - 0x40]
mov ecx, esi
push edi
call fcn.0041a960
mov eax, dword [esi + 0x40]
cmp edi, eax
jne 0x418957
test eax, eax
je 0x418957
mov edx, dword [esi + 0x3c]
nop word [eax + eax]
mov ecx, dword [esi + 0x40]
lea eax, [ecx + ecx*8]
cmp dword [edx + eax*8 + 0xc], 0
jne 0x418957
lea eax, [ecx - 1]
mov dword [esi + 0x40], eax
test eax, eax
jne 0x418940
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.004310db
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4