Function at 0x1000f9b0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x24
mov eax, dword [0x1007d664]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, dword [esp + 0x30]
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ff
push esi
call ebx
mov cl, byte [0x1007f3b5]
test cl, cl
mov dword [esp + 8], eax
je 0x1000fa03
push 0
push eax
call fcn.1000f2f0
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1002e913
add esp, 0x24
ret 4
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItemTextA]
push 0x19
lea edx, [esp + 0x18]
push edx
push 0x3fc
push esi
call edi
lea eax, [esp + 0x14]
push eax
call fcn.1000ace0
push eax
call fcn.1000ae80
push 0x19
lea ecx, [esp + 0x18]
push ecx
push 0x3fd
push esi
mov dword [0x10081d58], eax
call edi
lea edx, [esp + 0x14]
push edx
call fcn.1000ace0
push eax
call fcn.1000ae80
push 0x19
mov dword [0x10081d64], eax
lea eax, [esp + 0x18]
push eax
push 0x3fe
push esi
call edi
lea ecx, [esp + 0x14]
push ecx
call fcn.1000ace0
push eax
call fcn.1000ae80
push 0x19
lea edx, [esp + 0x18]
push edx
push 0x40e
push esi
mov dword [0x10081d70], eax
call edi
lea eax, [esp + 0x14]
push eax
call fcn.1000ad20
push eax
call fcn.1000aea0
mov ebp, dword [sym.imp.USER32.dll_GetDlgItemInt]
push 0
push 0
push 0x405
push esi
mov dword [0x10081d98], eax
call ebp
push 0
push 0
push 0x3ec
push esi
mov byte [0x10081d50], al
call ebp
push 0
push 0
push 0x40a
push esi
mov byte [0x10081d5c], al
call ebp
push 0
push 0
push 0x407
push esi
mov byte [0x10081d68], al
call ebp
add eax, dword [0x10076440]
push 0
push 0
push 0x408
mov dword [0x10081d54], eax
push esi
call ebp
add eax, dword [0x10076440]
push 0
push 0
push 0x409
push esi
mov dword [0x10081d60], eax
call ebp
mov edx, dword [0x10076440]
mov ecx, dword [0x10081d54]
add eax, edx
cmp ecx, edx
mov dword [0x10081d6c], eax
jae 0x1000fb2d
mov ecx, edx
mov dword [0x10081d54], ecx
cmp dword [0x10081d60], edx
jae 0x1000fb3b
mov dword [0x10081d60], edx
cmp eax, edx
jae 0x1000fb45
mov dword [0x10081d6c], edx
mov edi, dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0
sub ecx, edx
push ecx
push 0x407
push esi
call edi
mov ecx, dword [0x10081d60]
sub ecx, dword [0x10076440]
push 0
push ecx
push 0x408
push esi
call edi
mov edx, dword [0x10081d6c]
sub edx, dword [0x10076440]
push 0
push edx
push 0x409
push esi
call edi
push 0
push 0
push 0x406
push esi
call ebp
push 0
push 0
push 0x40f
push esi
mov dword [0x10081d78], eax
call ebp
push 0
push 0
push 0x415
push esi
mov dword [0x10081d84], eax
call ebp
push 0
push 0
push 0x419
push esi
mov dword [0x10081d88], eax
call ebp
push 0
push 0
push 0x474
push esi
mov dword [0x10081fb0], eax
call ebp
push 0
push 0
push 0x475
push esi
mov dword [0x10081db8], eax
call ebp
push 0
push 0
push 0x414
push esi
mov dword [0x10081dc8], eax
call ebp
push 0x400
push esi
mov dword [0x10081da0], eax
call ebx
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xf0
push eax
call edi
cmp eax, 1
push 0x401
sete al
push esi
mov byte [0x10081d7d], al
call ebx
push 0
push 0
push 0xf0
push eax
call edi
cmp eax, 1
push 0x417
sete cl
push esi
mov byte [0x10081d7c], cl
call ebx
push 0
push 0
push 0xf0
push eax
call edi
sub eax, 1
neg eax
sbb eax, eax
push 0x46a
add eax, 1
push esi
mov dword [0x10081d74], eax
call ebx
push 0
push 0
push 0xf0
push eax
call edi
sub eax, 1
neg eax
sbb eax, eax
push 0x469
add eax, 1
push esi
mov dword [0x10081dc4], eax
call ebx
push 0
push 0
push 0xf0
push eax
call edi
push 0
sub eax, 1
push 0
neg eax
push 0xf0
sbb eax, eax
push 0x416
add eax, 1
push esi
mov dword [0x10081db4], eax
call ebx
push eax
call edi
push 0
sub eax, 1
push 0
neg eax
push 0xf0
sbb eax, eax
push 0x41a
add eax, 1
push esi
mov dword [0x10081d8c], eax
call ebx
push eax
call edi
sub eax, 1
neg eax
sbb eax, eax
push 0x40b
add eax, 1
push esi
mov dword [0x10081fb4], eax
call ebx
push 0
push 0
push 0xf0
push eax
call edi
cmp eax, 1
sete dl
mov byte [0x10081d7e], dl
push 0x40c
push esi
call ebx
push 0
push 0
push 0xf0
push eax
call edi
cmp eax, 1
push 0x47b
sete al
push esi
mov byte [0x10081d7f], al
call ebx
push 0
push 0
push 0xf0
push eax
call edi
sub eax, 1
neg eax
sbb eax, eax
push 0x410
add eax, 1
push esi
mov dword [0x10081fac], eax
call ebx
push 0
push 0
push 0xf0
push eax
call edi
sub eax, 1
neg eax
sbb eax, eax
push 0x418
add eax, 1
push esi
mov dword [0x10081d90], eax
call ebx
push 0
push 0
push 0xf0
push eax
call edi
sub eax, 1
neg eax
sbb eax, eax
push 0x40d
add eax, 1
push esi
mov dword [0x10081e54], eax
call ebx
push 0
push 0
push 0xf0
push eax
call edi
sub eax, 1
neg eax
sbb eax, eax
push 0x412
add eax, 1
push esi
mov dword [0x10081d94], eax
call ebx
push 0
push 0
push 0xf0
push eax
call edi
sub eax, 1
neg eax
sbb eax, eax
push 0x413
add eax, 1
push esi
mov dword [0x10081d9c], eax
call ebx
push 0
push 0
push 0xf0
push eax
call edi
sub eax, 1
neg eax
sbb eax, eax
push 0x49a
add eax, 1
push esi
mov dword [0x10081da4], eax
call ebx
push 0
push 0
push 0xf0
push eax
call edi
cmp eax, 1
push 0x400
sete cl
push esi
mov byte [0x10081e88], cl
call ebx
push 0
push 0
push 0xf0
push eax
call edi
sub eax, 1
neg eax
sbb eax, eax
push 0x49b
add eax, 1
push esi
mov dword [0x10081e90], eax
call ebx
push 0
push 0
push 0xf0
push eax
call edi
cmp eax, 1
push 0x49c
sete dl
push esi
mov byte [0x10081e89], dl
call ebx
push 0
push 0
push 0xf0
push eax
call edi
sub eax, 1
push 0
neg eax
push 0
sbb eax, eax
push 0x4cc
add eax, 1
push esi
mov dword [0x10081f98], eax
call ebp
push 0
push 0
push 0xf0
push 0x429
push esi
mov dword [0x10081f9c], eax
call ebx
push eax
call edi
cmp eax, 1
jne 0x1000feb6
mov al, 2
jmp 0x1000fef2
push 0
push 0
push 0xf0
push 0x42a
push esi
call ebx
push eax
call edi
cmp eax, 1
jne 0x1000fed3
mov al, 3
jmp 0x1000fef2
push 0
push 0
push 0xf0
push 0x42b
push esi
call ebx
push eax
call edi
sub eax, 1
neg eax
sbb al, al
and al, 0xfd
add al, 4
cmp al, 4
mov byte [0x10081d82], al
mov dword [0x10076440], 0xa
jne 0x1000ff0f
mov dword [0x10076440], 1
push 0x422
push esi
call ebx
push 0
push 0
push 0x400
push eax
call edi
cmp ax, 0xfa
pop edi
mov word [0x10081d80], ax
pop ebp
jbe 0x1000ff3a
mov word [0x10081d80], 0xfa
call fcn.10025400
mov eax, dword [esp + 8]
push 1
push eax
call fcn.1000f2f0
movzx ecx, byte [0x10081e88]
push ecx
call fcn.1000a880
mov al, byte [0x10081e89]
cmp byte [0x1007f404], al
je 0x1000ff7d
movzx edx, al
push edx
call fcn.10001810
cmp byte [0x1007f404], 0
sete al
mov byte [0x1007f404], al
cmp dword [0x10081da4], 0
setne cl
push ecx
call fcn.1000f340
mov edx, dword [0x10081e90]
push edx
call fcn.10009260
mov ecx, dword [esp + 0x28]
pop esi
pop ebx
xor ecx, esp
call fcn.1002e913
add esp, 0x24
ret 4