Function at 0x100bea20
Capabilities:
Capture webcam image

Disassembly:
push 0xffffffffffffffff
push 0x101f6ecf
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x9c]
mov ebp, dword [esp + 0xa4]
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x94], 1
push eax
push esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 0x14]
jb 0x100beaa6
mov ecx, dword [ebp + 4]
jmp 0x100beaa9
lea ecx, [ebp + 4]
lea edx, [esp + 0x24]
push edx
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x24]
push ebx
push ebx
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x24], eax
jg 0x100beaee
push 0xffffffffffffffff
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push ebx
mov eax, ebp
mov ecx, edi
mov word [edi + 4], bx
call fcn.10007880
jmp 0x100beb57
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
mov byte [esp + 0x94], 2
cmp eax, ebx
jg 0x100beba4
mov byte [esp + 0x94], 1
cmp dword [esp + 0x80], 8
jb 0x100beb38
mov eax, dword [esp + 0x6c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, 7
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov dword [esp + 0x80], eax
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
mov word [edi + 4], bx
mov dword [esp + 0x14], 1
mov byte [esp + 0x94], bl
cmp esi, ebx
je 0x100beb75
push esi
mov dword [esp + 0x20], ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, edi
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.101d19cc
add esp, 0x88
ret 0xc
mov eax, dword [esp + 0x18]
push eax
lea edx, [esp + 0x34]
push ebp
push edx
call fcn.1019c9a0
mov byte [esp + 0xa0], 3
push eax
lea eax, [esp + 0x5c]
push eax
mov edi, 0x10230410
call fcn.1002eeb0
add esp, 0x14
mov byte [esp + 0x94], 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x70]
call fcn.10007880
mov byte [esp + 0x94], 3
mov edi, 8
cmp dword [esp + 0x64], edi
jb 0x100bebff
mov ecx, dword [esp + 0x50]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
mov byte [esp + 0x94], 2
cmp dword [esp + 0x48], edi
jb 0x100bec2b
mov edx, dword [esp + 0x34]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x80], edi
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
jae 0x100bec4d
lea eax, [esp + 0x6c]
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0x24]
push ecx
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x24]
push ebx
push ebx
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
add eax, 5
cmp dword [esp + 0x24], eax
jle 0x100bec99
mov eax, dword [esp + 0x18]
sub eax, 1
cmp eax, ebx
mov dword [esp + 0x18], eax
jg 0x100beba0
mov edi, dword [esp + 0x20]
jmp 0x100beb19
mov ebp, dword [esp + 0x20]
push 0xffffffffffffffff
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
push ebx
lea eax, [esp + 0x70]
mov ecx, ebp
mov word [ebp + 4], bx
call fcn.10007880
mov dword [esp + 0x14], 1
mov byte [esp + 0x94], 1
cmp dword [esp + 0x80], edi
jb 0x100becdf
mov edx, dword [esp + 0x6c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
mov byte [esp + 0x94], bl
cmp esi, ebx
je 0x100bed09
push esi
mov dword [esp + 0x20], ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, ebp
jmp 0x100beb77