Function at 0x4bdea0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x5ac004]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
sub eax, 1
je 0x4be0dc
sub eax, 0x10000
jne 0x4be0c3
push 1
push dword [edi + 0x10]
mov dword [esp + 0x18], 0x20
mov dword [esp + 0x1c], 0x2d
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0
push dword [edi + 0x24]
push 0x419
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x447
push dword [edi]
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [edi + 0x24]
cmp eax, esi
push 0x40b
push dword [edi]
sete bl
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x10]
push eax
push dword [edi + 0x24]
push 0x43f
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4bdf60
cmp eax, 0xffffffff
je 0x4be0c3
mov eax, dword [edi + 0x10]
lea esi, [edi + 0x14]
push 0xffffff
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
test bl, bl
je 0x4bdf86
push 0x808080
jmp 0x4bdf8b
push 0x2b2b2b
push dword [edi + 0x10]
call dword [sym.imp.GDI32.dll_SetDCBrushColor]
push 0x12
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [0x5b1ee4]
test eax, eax
jne 0x4bdffe
push 0x1f4
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x38], 0x1f8
push eax
call fcn.0051fd40
add esp, 0xc
lea eax, [esp + 0x30]
push 0
push eax
push 0
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea esp, [esp]
test eax, eax
je 0x4bdff9
lea eax, [esp + 0x1c8]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [0x5b1ee4], eax
jmp 0x4bdffe
mov eax, dword [0x5b1ee4]
push eax
push dword [edi + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x1c], 0xffffffff
je 0x4be048
push 0
push 0
push 0x431
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4be048
mov ecx, dword [edi + 0x18]
add dword [edi + 0x14], 5
add ecx, 3
push 0
push ecx
push dword [edi + 0x14]
push dword [edi + 0x10]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
test byte [esp + 0x21], 0x40
je 0x4be0a6
push 0x208
lea eax, [esp + 0x34]
push 0
push eax
call fcn.0051fd40
add esp, 0xc
lea eax, [esp + 0x30]
push eax
push dword [edi + 0x24]
push 0x44b
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
add dword [edi + 0x14], 0xa
lea eax, [edi + 0x14]
push 0x100025
push eax
lea eax, [esp + 0x38]
push eax
call sym.ProcessHacker.exe_PhCountStringZ
push eax
lea eax, [esp + 0x3c]
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0051e068
mov esp, ebp
pop ebp
ret 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0051e068
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x23c]
mov eax, 0x30
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0051e068
mov esp, ebp
pop ebp
ret 4