Function at 0x4736c0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x24
mov al, byte [0x55b0ac]
push ebx
push ebp
push esi
mov esi, ecx
push edi
test al, 1
mov dword [esp + 0x10], esi
jne 0x4736f8
mov dl, al
mov eax, dword [0x547570]
or dl, 1
push 0x4739f0
mov byte [0x55b0ac], dl
mov dword [0x55b0a8], eax
call fcn.00532e49
add esp, 4
mov eax, dword [esp + 0x38]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x473797
mov edi, dword [0x55b0a8]
cmp eax, edi
je 0x4737e6
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x47372f
mov ecx, dword [0x547574]
add eax, 0xfffffff4
cmp eax, ecx
jne 0x473736
mov eax, dword [edi - 0xc]
test eax, eax
jge 0x47377b
mov ebx, dword [edi - 8]
lea ecx, [esp + 0x38]
push ebx
call fcn.00405660
test eax, eax
je 0x473793
lea eax, [ebx + ebx]
mov esi, edi
mov edi, dword [esp + 0x38]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x38]
mov word [eax + edx], 0
mov eax, dword [esp + 0x38]
jmp 0x473797
lea ecx, [esp + 0x38]
call fcn.004124c0
mov eax, dword [0x55b0a8]
mov dword [esp + 0x38], eax
add eax, 0xfffffff4
push eax
call ebp
mov eax, dword [esp + 0x38]
mov ecx, dword [0x55b0a8]
cmp ecx, eax
je 0x4737e6
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4737b5
mov edx, dword [0x547574]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4737bc
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4737cd
push eax
mov eax, dword [eax - 8]
push eax
mov ecx, 0x55b0a8
call fcn.00405870
jmp 0x4737e6
mov ecx, 0x55b0a8
call fcn.004124c0
mov eax, dword [esp + 0x38]
mov dword [0x55b0a8], eax
add eax, 0xfffffff4
push eax
call ebp
mov ecx, dword [esi + 0x498c]
push 0
push 0x8496
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x47383f
mov eax, dword [esp + 0x38]
mov ecx, dword [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x473833
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x473833
mov eax, dword [esp + 0x38]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0xc
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], 0x20
mov dword [esp + 0x18], 0x4a
mov ecx, 0xff
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
jg 0x473875
cmp dword [eax - 4], ecx
jge 0x4738ba
mov ebp, dword [eax - 8]
cmp ebp, ecx
jle 0x47387e
mov ecx, ebp
push ecx
lea ecx, [esp + 0x3c]
call fcn.00405530
test eax, eax
je 0x4738ba
mov edi, dword [esp + 0x38]
lea ecx, [ebp + ebp + 2]
mov edx, ecx
lea esi, [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x3c]
mov dword [eax - 8], ebp
call fcn.00405590
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [0x54b358]
test eax, eax
mov word [esp + 0x26], 0x5a
mov byte [esp + 0x25], 0x80
jne 0x473906
mov ecx, 0x554e08
test ecx, ecx
jne 0x4738e0
xor eax, eax
jmp 0x4738eb
push 0x554e08
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x554e08
push eax
lea ecx, [esp + 0x40]
call fcn.00405870
mov word [esp + 0x26], 0
mov byte [esp + 0x25], 0x90
mov ecx, dword [esi + 0x498c]
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x14]
mov dword [esp + 0x20], edx
push eax
push 0x8496
push 0x440
push ecx
mov dword [esp + 0x28], 0x4a
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x473970
push 1
mov ecx, esi
call fcn.004734e0
mov eax, dword [esp + 0x38]
mov ecx, dword [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4739da
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4739da
mov eax, dword [esp + 0x38]
add eax, 0xfffffff4
push eax
jmp 0x4739d2
mov ecx, dword [0x54b374]
mov eax, dword [0x54b358]
cmp ecx, eax
je 0x4739ab
lea edx, [esi + 0x890]
test edx, edx
je 0x473991
lea eax, [esi + 0x894]
jmp 0x473993
xor eax, eax
cmp dword [eax], 0
je 0x4739ab
push 1
mov ecx, esi
call fcn.004734e0
mov eax, dword [0x54b358]
mov dword [0x54b374], eax
mov eax, dword [esp + 0x38]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4739da
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4739da
mov edx, dword [esp + 0x38]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret 0xc