Function at 0x1000aff0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x14
mov eax, dword [0x1007b664]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [0x10074440]
cmp dword [0x1007fd54], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
push edi
jae 0x1000b018
mov dword [0x1007fd54], eax
cmp dword [0x1007fd60], eax
jae 0x1000b025
mov dword [0x1007fd60], eax
cmp dword [0x1007fd6c], eax
jae 0x1000b032
mov dword [0x1007fd6c], eax
mov eax, dword [0x1007fd58]
push eax
call fcn.1000ad30
push eax
call fcn.1000adb0
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push eax
push 0x3fc
push esi
call edi
mov ecx, dword [0x1007fd64]
push ecx
call fcn.1000ad30
push eax
call fcn.1000adb0
push eax
push 0x3fd
push esi
call edi
mov edx, dword [0x1007fd70]
push edx
call fcn.1000ad30
push eax
call fcn.1000adb0
push eax
push 0x3fe
push esi
call edi
mov eax, dword [0x1007fd98]
push eax
call fcn.1000ad50
push eax
call fcn.1000add0
push eax
push 0x40e
push esi
call edi
movzx ecx, byte [0x1007fd50]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0
push ecx
push 0x405
push esi
call ebx
mov edx, dword [0x1007fd54]
sub edx, dword [0x10074440]
push 0
push edx
push 0x407
push esi
call ebx
movzx eax, byte [0x1007fd5c]
push 0
push eax
push 0x3ec
push esi
call ebx
mov ecx, dword [0x1007fd60]
sub ecx, dword [0x10074440]
push 0
push ecx
push 0x408
push esi
call ebx
movzx edx, byte [0x1007fd68]
push 0
push edx
push 0x40a
push esi
call ebx
mov eax, dword [0x1007fd6c]
sub eax, dword [0x10074440]
push 0
push eax
push 0x409
push esi
call ebx
mov ecx, dword [0x1007fd78]
push 0
push ecx
push 0x406
push esi
call ebx
mov edx, dword [0x1007fd84]
push 0
push edx
push 0x40f
push esi
call ebx
mov eax, dword [0x1007fd88]
push 0
push eax
push 0x415
push esi
call ebx
mov ecx, dword [0x1007ffb0]
push 0
push ecx
push 0x419
push esi
call ebx
mov edx, dword [0x1007fda0]
push 0
push edx
push 0x414
push esi
call ebx
mov eax, dword [0x1007fdb8]
push 0
push eax
push 0x474
push esi
call ebx
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x47c
push esi
call edi
mov ecx, dword [0x1007fdc8]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x401
push esi
call edi
movzx edx, byte [0x1007fd7c]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x3c
call fcn.10007c60
push 0x46a
push esi
mov dword [0x1007fda8], eax
call edi
mov ecx, dword [0x1007fdc4]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x417
push esi
call edi
mov edx, dword [0x1007fd74]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x469
push esi
call edi
mov ecx, dword [0x1007fdb4]
push 0
push ecx
push 0xf1
push eax
call ebp
push 6
call fcn.10007c60
add eax, 0xffffffff
cmp eax, 4
ja case.default.0x1000b22f
jmp dword [eax*4 + 0x1000b5b8]
push 0x100430d8
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 [0x1007fd8c], 1
jne case.default.0x1000b22f
push 0x416
jmp 0x1000b34d
push 0x100430cc
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 [0x1007fd8c], 1
jne case.default.0x1000b22f
push 0x416
jmp 0x1000b34d
push 0x100430c0
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 [0x1007fd8c], 1
jne case.default.0x1000b22f
push 0x416
jmp 0x1000b34d
push 0x100430b4
push 0x416
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x100430a8
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 [0x1007fd8c], 1
jne 0x1000b33f
push 0x416
push esi
call edi
push 0
push 1
push 0xf1
push eax
call ebp
cmp dword [0x1007ffb4], 1
jne case.default.0x1000b22f
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 [0x1007fd7d]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x49a
push esi
call edi
movzx ecx, byte [0x1007fe88]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x49b
push esi
call edi
movzx edx, byte [0x1007fe89]
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 [0x1007fe90], 0
call ebp
push 0x49c
push esi
call edi
mov ecx, dword [0x1007ff98]
push 0
push ecx
push 0xf1
push eax
call ebp
mov edx, dword [0x1007ff9c]
push 0
push edx
push 0x4cc
push esi
call ebx
push 0x40b
push esi
call edi
movzx ecx, byte [0x1007fd7e]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x40c
push esi
call edi
movzx edx, byte [0x1007fd7f]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x47b
push esi
call edi
mov ecx, dword [0x1007ffac]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x410
push esi
call edi
mov edx, dword [0x1007fd90]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x418
push esi
call edi
mov ecx, dword [0x1007fe54]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x40d
push esi
call edi
mov edx, dword [0x1007fd94]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x412
push esi
call edi
mov ecx, dword [0x1007fd9c]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x413
push esi
call edi
mov edx, dword [0x1007fda4]
push 0
push edx
push 0xf1
push eax
call ebp
mov al, byte [0x1007fd82]
cmp al, 2
jne 0x1000b4cc
mov eax, 0x429
jmp 0x1000b4dc
xor ecx, ecx
cmp al, 3
sete cl
lea ecx, [ecx + ecx + 0x428]
mov eax, ecx
push eax
push esi
call edi
push 0
push 1
push 0xf1
push eax
call ebp
mov eax, 0xfa
cmp word [0x1007fd80], ax
jbe 0x1000b500
mov word [0x1007fd80], ax
push 0x422
push esi
call edi
push 0xfa0000
push 1
mov edi, eax
push 0x406
push edi
call ebp
movzx edx, word [0x1007fd80]
push edx
push 1
push 0x405
push edi
call ebp
movzx eax, word [0x1007fd80]
mov dword [esp + 0x10], eax
sub esp, 8
lea ecx, [esp + 0x1c]
fild dword [esp + 0x18]
fmul qword [0x10042f48]
fadd qword [0x100430a0]
fstp qword [esp]
push str._.03lf
push ecx
call fcn.10030048
add esp, 0x10
lea edx, [esp + 0x14]
push edx
push 0x423
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
movzx eax, byte [0x1007fe88]
push eax
call fcn.1000a830
mov ecx, dword [0x1007fe90]
push ecx
call fcn.10009270
mov al, byte [0x1007fe89]
test al, al
pop edi
pop esi
pop ebp
pop ebx
je 0x1000b5a5
movzx edx, al
push edx
call fcn.10001810
mov byte [0x1007d404], 1
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.1002eab3
add esp, 0x14
ret 4