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

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
lea edi, [esi + 0x218]
push 0
push 0x5aff
push 0xd0721f
mov ecx, edi
call fcn.00436d70
mov ecx, dword [esi + 0xc]
push 0x422
push ecx
mov ecx, edi
call fcn.00437230
mov eax, dword [esi + 0xc]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
lea edx, [esi + 0x10]
push edx
push 0x419
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esi + 0xc]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi + 0xc]
push 0
push 1
push edx
call ebx
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebp
mov eax, dword [esi + 0xc]
push 0x40000
push 0
push 0x401
push 0x3ec
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 8]
mov edi, 2
cmp eax, edi
jne 0x4be37e
mov ecx, dword [esi + 0xc]
push 0
push 0x41c
push ecx
call ebx
push eax
call ebp
mov edx, dword [esi + 0xc]
push 0
push 0x41b
push edx
call ebx
push eax
call ebp
mov eax, dword [esi + 0xc]
push 0
push 0x41a
push eax
call ebx
push eax
call ebp
mov ecx, dword [esi + 0xc]
push 1
push 0x41a
push ecx
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov edx, dword [esi + 0xc]
push 5
push 0x422
push edx
call ebx
push eax
call ebp
mov ecx, dword [0x5cbdcc]
lea eax, [esp + 0x10]
push 0x103
push eax
push 0xea7b
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x10]
push edx
push 0x426
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [esi + 4], 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
cmp eax, 1
jne 0x4be419
mov ecx, dword [esi + 0xc]
push 0
push 0x41c
push ecx
call ebx
push eax
call ebp
mov edx, dword [esi + 0xc]
push 0
push 0x41b
push edx
call ebx
push eax
call ebp
mov eax, dword [esi + 0xc]
push 0
push 0x41a
push eax
call ebx
push eax
call ebp
mov ecx, dword [esi + 0xc]
push 1
push 0x41a
push ecx
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov edx, dword [esi + 0xc]
push 5
push 0x422
push edx
mov dword [esi + 4], edi
call ebx
push eax
call ebp
mov ecx, dword [0x5cbdcc]
lea eax, [esp + 0x10]
push 0x103
push eax
push 0xea7c
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x10]
push edx
push 0x426
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
test eax, eax
jne 0x4be44f
mov ecx, dword [esi + 0xc]
push eax
push 0x422
push ecx
call ebx
push eax
call ebp
mov edx, dword [esi + 0xc]
push 1
push 0x41c
push edx
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov dword [esi + 4], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
cmp eax, 3
jne 0x4be4a8
mov eax, dword [esi + 0xc]
push 0
push 0x422
push eax
call ebx
push eax
call ebp
mov ecx, dword [esi + 0xc]
push 0
push 0x41c
push ecx
call ebx
push eax
call ebp
mov edx, dword [esi + 0xc]
push 5
push 0x41b
push edx
call ebx
push eax
call ebp
mov eax, dword [esi + 0xc]
push 5
push 0x41a
push eax
call ebx
push eax
call ebp
mov ecx, dword [esi + 0xc]
push 1
push 0x41a
push ecx
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov dword [esi + 4], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret