Function at 0x1000aff0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x14
mov eax, dword [0x1007d664]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [0x10076440]
cmp dword [0x10081d54], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
push edi
jae 0x1000b018
mov dword [0x10081d54], eax
cmp dword [0x10081d60], eax
jae 0x1000b025
mov dword [0x10081d60], eax
cmp dword [0x10081d6c], eax
jae 0x1000b032
mov dword [0x10081d6c], eax
mov eax, dword [0x10081d58]
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 [0x10081d64]
push ecx
call fcn.1000ad30
push eax
call fcn.1000adb0
push eax
push 0x3fd
push esi
call edi
mov edx, dword [0x10081d70]
push edx
call fcn.1000ad30
push eax
call fcn.1000adb0
push eax
push 0x3fe
push esi
call edi
mov eax, dword [0x10081d98]
push eax
call fcn.1000ad50
push eax
call fcn.1000add0
push eax
push 0x40e
push esi
call edi
movzx ecx, byte [0x10081d50]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0
push ecx
push 0x405
push esi
call ebx
mov edx, dword [0x10081d54]
sub edx, dword [0x10076440]
push 0
push edx
push 0x407
push esi
call ebx
movzx eax, byte [0x10081d5c]
push 0
push eax
push 0x3ec
push esi
call ebx
mov ecx, dword [0x10081d60]
sub ecx, dword [0x10076440]
push 0
push ecx
push 0x408
push esi
call ebx
movzx edx, byte [0x10081d68]
push 0
push edx
push 0x40a
push esi
call ebx
mov eax, dword [0x10081d6c]
sub eax, dword [0x10076440]
push 0
push eax
push 0x409
push esi
call ebx
mov ecx, dword [0x10081d78]
push 0
push ecx
push 0x406
push esi
call ebx
mov edx, dword [0x10081d84]
push 0
push edx
push 0x40f
push esi
call ebx
mov eax, dword [0x10081d88]
push 0
push eax
push 0x415
push esi
call ebx
mov ecx, dword [0x10081fb0]
push 0
push ecx
push 0x419
push esi
call ebx
mov edx, dword [0x10081da0]
push 0
push edx
push 0x414
push esi
call ebx
mov eax, dword [0x10081db8]
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 [0x10081dc8]
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 [0x10081d7c]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x3c
call fcn.10007c60
push 0x46a
push esi
mov dword [0x10081da8], eax
call edi
mov ecx, dword [0x10081dc4]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x417
push esi
call edi
mov edx, dword [0x10081d74]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x469
push esi
call edi
mov ecx, dword [0x10081db4]
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 [0x10081d8c], 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 [0x10081d8c], 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 [0x10081d8c], 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 [0x10081d8c], 1
jne 0x1000b33f
push 0x416
push esi
call edi
push 0
push 1
push 0xf1
push eax
call ebp
cmp dword [0x10081fb4], 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 [0x10081d7d]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x49a
push esi
call edi
movzx ecx, byte [0x10081e88]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x49b
push esi
call edi
movzx edx, byte [0x10081e89]
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 [0x10081e90], 0
call ebp
push 0x49c
push esi
call edi
mov ecx, dword [0x10081f98]
push 0
push ecx
push 0xf1
push eax
call ebp
mov edx, dword [0x10081f9c]
push 0
push edx
push 0x4cc
push esi
call ebx
push 0x40b
push esi
call edi
movzx ecx, byte [0x10081d7e]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x40c
push esi
call edi
movzx edx, byte [0x10081d7f]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x47b
push esi
call edi
mov ecx, dword [0x10081fac]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x410
push esi
call edi
mov edx, dword [0x10081d90]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x418
push esi
call edi
mov ecx, dword [0x10081e54]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x40d
push esi
call edi
mov edx, dword [0x10081d94]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x412
push esi
call edi
mov ecx, dword [0x10081d9c]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x413
push esi
call edi
mov edx, dword [0x10081da4]
push 0
push edx
push 0xf1
push eax
call ebp
mov al, byte [0x10081d82]
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 [0x10081d80], ax
jbe 0x1000b500
mov word [0x10081d80], ax
push 0x422
push esi
call edi
push 0xfa0000
push 1
mov edi, eax
push 0x406
push edi
call ebp
movzx edx, word [0x10081d80]
push edx
push 1
push 0x405
push edi
call ebp
movzx eax, word [0x10081d80]
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.10030078
add esp, 0x10
lea edx, [esp + 0x14]
push edx
push 0x423
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
movzx eax, byte [0x10081e88]
push eax
call fcn.1000a830
mov ecx, dword [0x10081e90]
push ecx
call fcn.10009270
mov al, byte [0x10081e89]
test al, al
pop edi
pop esi
pop ebp
pop ebx
je 0x1000b5a5
movzx edx, al
push edx
call fcn.10001810
mov byte [0x1007f404], 1
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.1002eae3
add esp, 0x14
ret 4