Function at 0x1000a8f0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x14
mov eax, dword [0x1007a664]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [0x10073440]
cmp dword [0x1007ed54], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
push edi
jae 0x1000a918
mov dword [0x1007ed54], eax
cmp dword [0x1007ed60], eax
jae 0x1000a925
mov dword [0x1007ed60], eax
cmp dword [0x1007ed6c], eax
jae 0x1000a932
mov dword [0x1007ed6c], eax
mov eax, dword [0x1007ed58]
push eax
call fcn.1000a630
push eax
call fcn.1000a6b0
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push eax
push 0x3fc
push esi
call edi
mov ecx, dword [0x1007ed64]
push ecx
call fcn.1000a630
push eax
call fcn.1000a6b0
push eax
push 0x3fd
push esi
call edi
mov edx, dword [0x1007ed70]
push edx
call fcn.1000a630
push eax
call fcn.1000a6b0
push eax
push 0x3fe
push esi
call edi
mov eax, dword [0x1007ed98]
push eax
call fcn.1000a650
push eax
call fcn.1000a6d0
push eax
push 0x40e
push esi
call edi
movzx ecx, byte [0x1007ed50]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0
push ecx
push 0x405
push esi
call ebx
mov edx, dword [0x1007ed54]
sub edx, dword [0x10073440]
push 0
push edx
push 0x407
push esi
call ebx
movzx eax, byte [0x1007ed5c]
push 0
push eax
push 0x3ec
push esi
call ebx
mov ecx, dword [0x1007ed60]
sub ecx, dword [0x10073440]
push 0
push ecx
push 0x408
push esi
call ebx
movzx edx, byte [0x1007ed68]
push 0
push edx
push 0x40a
push esi
call ebx
mov eax, dword [0x1007ed6c]
sub eax, dword [0x10073440]
push 0
push eax
push 0x409
push esi
call ebx
mov ecx, dword [0x1007ed78]
push 0
push ecx
push 0x406
push esi
call ebx
mov edx, dword [0x1007ed84]
push 0
push edx
push 0x40f
push esi
call ebx
mov eax, dword [0x1007ed88]
push 0
push eax
push 0x415
push esi
call ebx
mov ecx, dword [0x1007efb0]
push 0
push ecx
push 0x419
push esi
call ebx
mov edx, dword [0x1007eda0]
push 0
push edx
push 0x414
push esi
call ebx
mov eax, dword [0x1007edb8]
push 0
push eax
push 0x474
push esi
call ebx
mov ecx, dword [0x1007edc8]
push 0
push ecx
push 0x475
push esi
call ebx
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x401
push esi
call edi
movzx edx, byte [0x1007ed7c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x3c
call fcn.10007560
push 0x46a
push esi
mov dword [0x1007eda8], eax
call edi
mov ecx, dword [0x1007edc4]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x417
push esi
call edi
mov edx, dword [0x1007ed74]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x469
push esi
call edi
mov ecx, dword [0x1007edb4]
push 0
push ecx
push 0xf1
push eax
call ebp
push 6
call fcn.10007560
add eax, 0xffffffff
cmp eax, 4
ja case.default.0x1000ab27
jmp dword [eax*4 + 0x1000aeb8]
push 0x10041e88
push 0x416
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0
push 0x41a
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x1007ed8c], 1
jne case.default.0x1000ab27
push 0x416
jmp 0x1000ac45
push 0x10041e7c
push 0x416
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0
push 0x41a
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x1007ed8c], 1
jne case.default.0x1000ab27
push 0x416
jmp 0x1000ac45
push 0x10041e70
push 0x416
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0
push 0x41a
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x1007ed8c], 1
jne case.default.0x1000ab27
push 0x416
jmp 0x1000ac45
push 0x10041e64
push 0x416
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x10041e58
push 0x41a
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 5
push 0x419
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push 0x4fc
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x1007ed8c], 1
jne 0x1000ac37
push 0x416
push esi
call edi
push 0
push 1
push 0xf1
push eax
call ebp
cmp dword [0x1007efb4], 1
jne case.default.0x1000ab27
push 0x41a
push esi
call edi
push 0
push 1
push 0xf1
push eax
call ebp
push 0x400
push esi
call edi
movzx edx, byte [0x1007ed7d]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x49a
push esi
call edi
movzx ecx, byte [0x1007ee84]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x49b
push esi
call edi
movzx edx, byte [0x1007ee85]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x400
push esi
call edi
push 0
push 0
push 0xf1
push eax
mov dword [0x1007ee8c], 0
call ebp
push 0x49c
push esi
call edi
mov ecx, dword [0x1007ef98]
push 0
push ecx
push 0xf1
push eax
call ebp
mov edx, dword [0x1007ef9c]
push 0
push edx
push 0x4cc
push esi
call ebx
push 0x40b
push esi
call edi
movzx ecx, byte [0x1007ed7e]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x40c
push esi
call edi
movzx edx, byte [0x1007ed7f]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x47b
push esi
call edi
mov ecx, dword [0x1007efac]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x410
push esi
call edi
mov edx, dword [0x1007ed90]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x418
push esi
call edi
mov ecx, dword [0x1007ee54]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x40d
push esi
call edi
mov edx, dword [0x1007ed94]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x412
push esi
call edi
mov ecx, dword [0x1007ed9c]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x413
push esi
call edi
mov edx, dword [0x1007eda4]
push 0
push edx
push 0xf1
push eax
call ebp
mov al, byte [0x1007ed82]
cmp al, 2
jne 0x1000adc4
mov eax, 0x429
jmp 0x1000addd
cmp al, 3
jne 0x1000adcf
mov eax, 0x42a
jmp 0x1000addd
sub al, 4
neg al
sbb eax, eax
and eax, 0xfffffffd
add eax, 0x42b
push eax
push esi
call edi
push 0
push 1
push 0xf1
push eax
call ebp
mov eax, 0xfa
cmp word [0x1007ed80], ax
jbe 0x1000ae01
mov word [0x1007ed80], ax
push 0x422
push esi
call edi
push 0xfa0000
push 1
mov edi, eax
push 0x406
push edi
call ebp
movzx eax, word [0x1007ed80]
push eax
push 1
push 0x405
push edi
call ebp
movzx ecx, word [0x1007ed80]
mov dword [esp + 0x10], ecx
sub esp, 8
lea edx, [esp + 0x1c]
fild dword [esp + 0x18]
fmul qword [0x10041cf8]
fadd qword [0x10041e50]
fstp qword [esp]
push str._.03lf
push edx
call fcn.1002f2d8
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push 0x423
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
movzx ecx, byte [0x1007ee84]
push ecx
call fcn.1000a130
mov edx, dword [0x1007ee8c]
push edx
call fcn.10008b70
mov al, byte [0x1007ee85]
test al, al
pop edi
pop esi
pop ebp
pop ebx
je 0x1000aea6
movzx eax, al
push eax
call fcn.10001810
mov byte [0x1007c404], 1
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.1002dd43
add esp, 0x14
ret 4