Function at 0x1000b040
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 0x1000b068
mov dword [0x10081d54], eax
cmp dword [0x10081d60], eax
jae 0x1000b075
mov dword [0x10081d60], eax
cmp dword [0x10081d6c], eax
jae 0x1000b082
mov dword [0x10081d6c], eax
mov eax, dword [0x10081d58]
push eax
call fcn.1000ad80
push eax
call fcn.1000ae00
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push eax
push 0x3fc
push esi
call edi
mov ecx, dword [0x10081d64]
push ecx
call fcn.1000ad80
push eax
call fcn.1000ae00
push eax
push 0x3fd
push esi
call edi
mov edx, dword [0x10081d70]
push edx
call fcn.1000ad80
push eax
call fcn.1000ae00
push eax
push 0x3fe
push esi
call edi
mov eax, dword [0x10081d98]
push eax
call fcn.1000ada0
push eax
call fcn.1000ae20
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 ecx, dword [0x10081dc8]
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 [0x10081d7c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push edx
push 0xf1
push eax
call ebp
push 0x3c
call fcn.10007c50
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.10007c50
add eax, 0xffffffff
cmp eax, 4
ja case.default.0x1000b277
jmp dword [eax*4 + 0x1000b608]
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.0x1000b277
push 0x416
jmp 0x1000b395
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.0x1000b277
push 0x416
jmp 0x1000b395
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.0x1000b277
push 0x416
jmp 0x1000b395
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 0x1000b387
push 0x416
push esi
call edi
push 0
push 1
push 0xf1
push eax
call ebp
cmp dword [0x10081fb4], 1
jne case.default.0x1000b277
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 0x1000b514
mov eax, 0x429
jmp 0x1000b52d
cmp al, 3
jne 0x1000b51f
mov eax, 0x42a
jmp 0x1000b52d
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 [0x10081d80], ax
jbe 0x1000b551
mov word [0x10081d80], ax
push 0x422
push esi
call edi
push 0xfa0000
push 1
mov edi, eax
push 0x406
push edi
call ebp
movzx eax, word [0x10081d80]
push eax
push 1
push 0x405
push edi
call ebp
movzx ecx, word [0x10081d80]
mov dword [esp + 0x10], ecx
sub esp, 8
lea edx, [esp + 0x1c]
fild dword [esp + 0x18]
fmul qword [0x10042f48]
fadd qword [0x100430a0]
fstp qword [esp]
push str._.03lf
push edx
call fcn.1002fea8
add esp, 0x10
lea eax, [esp + 0x14]
push eax
push 0x423
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
movzx ecx, byte [0x10081e88]
push ecx
call fcn.1000a880
mov edx, dword [0x10081e90]
push edx
call fcn.10009260
mov al, byte [0x10081e89]
test al, al
pop edi
pop esi
pop ebp
pop ebx
je 0x1000b5f6
movzx eax, al
push eax
call fcn.10001810
mov byte [0x1007f404], 1
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.1002e913
add esp, 0x14
ret 4