Function at 0x41e91c
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, edx
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x2c], edi
cmp edi, ebx
je 0x41ec95
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.00440a2d
pop ecx
pop ecx
test eax, eax
js 0x41ec95
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x34]
push edx
mov dword [ebp - 0x34], 0x48
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test byte [ebp - 0x34], 8
je 0x41e9a8
test dword [esi + 0xdc], 8
jne 0x41e998
mov ebx, dword [esi + 0x168]
push 0x124
mov ecx, str.confirmCloseLock
call fcn.00445749
pop ecx
cmp eax, 6
je 0x41e9a6
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41eca9
xor ebx, ebx
mov eax, dword [esi + 0xc04]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x28], eax
lea eax, [esi + 0x14]
mov ecx, dword [eax]
push edx
push eax
mov dword [ebp - 0x40], eax
call dword [ecx + 0x18]
cmp dword [ebp - 0x3c], 1
jne 0x41eabb
movzx edi, word [esi + 0x48]
mov eax, 0x8067
cmp di, bx
jne 0x41e9e1
test byte [ebp - 0x34], 0x80
je 0x41e9ea
mov edi, eax
cmp ax, di
je 0x41eabb
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
movzx eax, di
mov dword [ebp - 0x38], eax
cmp eax, 0x8047
je 0x41ea28
cmp eax, 0x8049
jle 0x41eca9
cmp eax, 0x804c
jle 0x41ea28
cmp eax, 0x807f
je 0x41eaa6
cmp eax, 0x8094
jne 0x41eca9
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0xb
push dword [ebp - 0x28]
call edi
mov ebx, dword [esi + 0xc0]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
mov ecx, dword [ebp - 0x38]
mov eax, ebx
or eax, 4
add ecx, 0xffff8000
mov dword [esi + 0xc0], eax
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
shl ecx, 4
push dword [ecx + 0x44aa78]
push eax
call dword [edx + 0xc]
push dword [ebp + 8]
lea eax, [esi + 0xd24]
push dword [ebp - 0x2c]
mov dword [esi + 0xc0], ebx
push 0x221
call fcn.0044303c
push 0
push 1
push 0xb
push dword [ebp - 0x28]
mov esi, eax
call edi
push 1
push 0
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, esi
jmp 0x41ecab
push ebx
push ebx
push 0x10
push dword [esi + 0x168]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x41eca9
test byte [ebp - 0x34], 0x40
je 0x41ead5
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp + 8]
push dword [ebp - 0x2c]
jmp 0x41ec99
cmp dword [ebp - 0x3c], 1
jle 0x41eb49
test byte [ebp - 0x34], 4
je 0x41eb49
mov edi, 0x60000
test dword [esi + 0x80], edi
je 0x41eb49
push ebx
push dword [ebp - 0x2c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x419
push dword [ebp - 0x28]
call ebx
mov ecx, dword [esi + 0x80]
and ecx, edi
cmp ecx, 0x40000
jne 0x41eb15
dec eax
jmp 0x41eb16
inc eax
test eax, eax
jns 0x41eb1c
xor eax, eax
mov ecx, dword [ebp - 0x3c]
cmp eax, ecx
jl 0x41eb26
lea eax, [ecx - 2]
lea ecx, [ebp - 0x24]
push ecx
push eax
push 0x417
push dword [ebp - 0x28]
call ebx
push 0
push dword [ebp - 0x20]
push 0x222
push dword [esi + 0xd2c]
call ebx
xor ebx, ebx
push 0x58
lea eax, [ebp - 0xb0]
push ebx
push eax
mov dword [ebp - 0xb4], ebx
call fcn.00445b20
add esp, 0xc
test byte [esi + 0x80], 0x80
mov dword [ebp - 0x38], 0x80004005
je 0x41eb9b
push ebx
push ebx
mov eax, 0x4000
mov word [ebp - 0x24], ax
push ebx
lea edx, [ebp - 0x24]
lea eax, [ebp - 0xb4]
push edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push 0x80000505
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x98]
and eax, 3
cmp al, 1
setne bl
test bl, bl
je 0x41ebbd
or dword [esi + 0xdc], 2
push dword [ebp + 8]
lea eax, [esi + 0xd24]
push dword [ebp - 0x2c]
push 0x221
call fcn.0044303c
and dword [esi + 0xdc], 0xfffffffd
mov dword [ebp - 0x50], eax
test bl, bl
je 0x41ec6d
mov eax, 0xfff
test word [esi + 0x170], ax
je 0x41ec6d
mov ecx, dword [esi + 0x1fc]
mov dword [ebp - 0x48], ecx
lea edi, [esi + 0x1b4]
mov dword [ebp - 0x2c], 0x44aa70
mov dword [ebp - 0x44], 0x42
mov al, byte [edi]
mov byte [ebp - 0x4c], al
test al, 7
je 0x41ec57
mov ebx, dword [esi + 0x1f8]
test ecx, ecx
jle 0x41ec54
mov dword [ebp - 0x28], ecx
mov cx, word [ebx + 4]
mov eax, dword [ebp - 0x2c]
test word [eax + 6], cx
je 0x41ec49
push dword [ebx]
movzx ecx, byte [edi - 0x42]
push dword [ebp - 0x4c]
movzx eax, word [eax]
push ecx
push eax
call fcn.00407df5
add esp, 0x10
add ebx, 8
dec dword [ebp - 0x28]
jne 0x41ec26
mov ecx, dword [ebp - 0x48]
mov byte [edi], 0
add dword [ebp - 0x2c], 0x10
inc edi
dec dword [ebp - 0x44]
jne 0x41ec10
mov eax, 0xf000
and word [esi + 0x170], ax
cmp dword [ebp - 0x38], 0
jl 0x41ec7f
push esi
lea eax, [ebp - 0xb4]
call fcn.00420302
cmp dword [ebp - 0x3c], 1
jne 0x41ec90
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x70]
mov eax, dword [ebp - 0x50]
jmp 0x41ecab
push dword [ebp + 8]
push edi
push 0x221
lea eax, [esi + 0xd24]
call fcn.0044303c
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447d7e
leave
ret 4