Function at 0x1000ac10
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x14
mov eax, dword [0x1007a6b4]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [0x10073448]
cmp dword [0x1007ed14], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
push edi
jae 0x1000ac38
mov dword [0x1007ed14], eax
cmp dword [0x1007ed20], eax
jae 0x1000ac45
mov dword [0x1007ed20], eax
cmp dword [0x1007ed2c], eax
jae 0x1000ac52
mov dword [0x1007ed2c], eax
mov eax, dword [0x1007ed18]
push eax
call fcn.1000a950
push eax
call fcn.1000a9d0
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push eax
push 0x3fc
push esi
call edi
mov ecx, dword [0x1007ed24]
push ecx
call fcn.1000a950
push eax
call fcn.1000a9d0
push eax
push 0x3fd
push esi
call edi
mov edx, dword [0x1007ed30]
push edx
call fcn.1000a950
push eax
call fcn.1000a9d0
push eax
push 0x3fe
push esi
call edi
mov eax, dword [0x1007ed58]
push eax
call fcn.1000a970
push eax
call fcn.1000a9f0
push eax
push 0x40e
push esi
call edi
movzx ecx, byte [0x1007ed10]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0
push ecx
push 0x405
push esi
call ebx
mov edx, dword [0x1007ed14]
sub edx, dword [0x10073448]
push 0
push edx
push 0x407
push esi
call ebx
movzx eax, byte [0x1007ed1c]
push 0
push eax
push 0x3ec
push esi
call ebx
mov ecx, dword [0x1007ed20]
sub ecx, dword [0x10073448]
push 0
push ecx
push 0x408
push esi
call ebx
movzx edx, byte [0x1007ed28]
push 0
push edx
push 0x40a
push esi
call ebx
mov eax, dword [0x1007ed2c]
sub eax, dword [0x10073448]
push 0
push eax
push 0x409
push esi
call ebx
mov ecx, dword [0x1007ed38]
push 0
push ecx
push 0x406
push esi
call ebx
mov edx, dword [0x1007ed44]
push 0
push edx
push 0x40f
push esi
call ebx
mov eax, dword [0x1007ed48]
push 0
push eax
push 0x415
push esi
call ebx
mov ecx, dword [0x1007ef70]
push 0
push ecx
push 0x419
push esi
call ebx
mov edx, dword [0x1007ed60]
push 0
push edx
push 0x414
push esi
call ebx
mov eax, dword [0x1007ed78]
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 [0x1007ed88]
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 [0x1007ed3c]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x3c
call fcn.10007860
push 0x46a
push esi
mov dword [0x1007ed68], eax
call edi
mov ecx, dword [0x1007ed84]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x417
push esi
call edi
mov edx, dword [0x1007ed34]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x469
push esi
call edi
mov ecx, dword [0x1007ed74]
push 0
push ecx
push 0xf1
push eax
call ebp
push 6
call fcn.10007860
add eax, 0xffffffff
cmp eax, 4
ja case.default.0x1000ae4f
jmp dword [eax*4 + 0x1000b1d8]
push 0x100431c0
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 [0x1007ed4c], 1
jne case.default.0x1000ae4f
push 0x416
jmp 0x1000af6d
push 0x100431b4
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 [0x1007ed4c], 1
jne case.default.0x1000ae4f
push 0x416
jmp 0x1000af6d
push 0x100431a8
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 [0x1007ed4c], 1
jne case.default.0x1000ae4f
push 0x416
jmp 0x1000af6d
push 0x1004319c
push 0x416
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x10043190
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 [0x1007ed4c], 1
jne 0x1000af5f
push 0x416
push esi
call edi
push 0
push 1
push 0xf1
push eax
call ebp
cmp dword [0x1007ef74], 1
jne case.default.0x1000ae4f
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 [0x1007ed3d]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x49a
push esi
call edi
movzx ecx, byte [0x1007ee48]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x49b
push esi
call edi
movzx edx, byte [0x1007ee49]
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 [0x1007ee50], 0
call ebp
push 0x49c
push esi
call edi
mov ecx, dword [0x1007ef58]
push 0
push ecx
push 0xf1
push eax
call ebp
mov edx, dword [0x1007ef5c]
push 0
push edx
push 0x4cc
push esi
call ebx
push 0x40b
push esi
call edi
movzx ecx, byte [0x1007ed3e]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x40c
push esi
call edi
movzx edx, byte [0x1007ed3f]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x47b
push esi
call edi
mov ecx, dword [0x1007ef6c]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x410
push esi
call edi
mov edx, dword [0x1007ed50]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x418
push esi
call edi
mov ecx, dword [0x1007ee14]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x40d
push esi
call edi
mov edx, dword [0x1007ed54]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x412
push esi
call edi
mov ecx, dword [0x1007ed5c]
push 0
push ecx
push 0xf1
push eax
call ebp
push 0x413
push esi
call edi
mov edx, dword [0x1007ed64]
push 0
push edx
push 0xf1
push eax
call ebp
mov al, byte [0x1007ed42]
cmp al, 2
jne 0x1000b0ec
mov eax, 0x429
jmp 0x1000b0fc
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 [0x1007ed40], ax
jbe 0x1000b120
mov word [0x1007ed40], ax
push 0x422
push esi
call edi
push 0xfa0000
push 1
mov edi, eax
push 0x406
push edi
call ebp
movzx edx, word [0x1007ed40]
push edx
push 1
push 0x405
push edi
call ebp
movzx eax, word [0x1007ed40]
mov dword [esp + 0x10], eax
sub esp, 8
lea ecx, [esp + 0x1c]
fild dword [esp + 0x18]
fmul qword [0x10043030]
fadd qword [0x10043188]
fstp qword [esp]
push str._.03lf
push ecx
call fcn.1002eb55
add esp, 0x10
lea edx, [esp + 0x14]
push edx
push 0x423
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
movzx eax, byte [0x1007ee48]
push eax
call fcn.1000a450
mov ecx, dword [0x1007ee50]
push ecx
call fcn.10008e70
mov al, byte [0x1007ee49]
test al, al
pop edi
pop esi
pop ebp
pop ebx
je 0x1000b1c5
movzx edx, al
push edx
call fcn.10001810
mov byte [0x1007c44c], 1
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.1002e6c3
add esp, 0x14
ret 4