Function at 0x10017dd0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x24
mov eax, dword [0x100782d8]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov esi, dword [esp + 0x2c]
push edi
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ff
push esi
call edi
mov cl, byte [0x1007a315]
test cl, cl
mov dword [esp + 8], eax
je 0x10017e23
push 0
push eax
call fcn.10017710
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1004309b
add esp, 0x24
ret 4
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItemTextA]
push ebp
push 0x19
lea edx, [esp + 0x18]
push edx
push 0x3fc
push esi
call ebx
lea eax, [esp + 0x14]
push eax
call fcn.10011f10
push eax
call fcn.10012050
push 0x19
lea ecx, [esp + 0x18]
push ecx
push 0x3fd
push esi
mov dword [0x1007c258], eax
call ebx
lea edx, [esp + 0x14]
push edx
call fcn.10011f10
push eax
call fcn.10012050
push 0x19
mov dword [0x1007c264], eax
lea eax, [esp + 0x18]
push eax
push 0x3fe
push esi
call ebx
lea ecx, [esp + 0x14]
push ecx
call fcn.10011f10
push eax
call fcn.10012050
push 0x19
lea edx, [esp + 0x18]
push edx
push 0x40e
push esi
mov dword [0x1007c270], eax
call ebx
lea eax, [esp + 0x14]
push eax
call fcn.10011f50
push eax
call fcn.10012070
push 0
push 0
push pe_nt_image_headers32
push 0x429
push esi
mov dword [0x1007c298], eax
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call ebx
cmp eax, 1
jne 0x10017ede
mov al, 2
jmp 0x10017efc
push 0
push 0
push pe_nt_image_headers32
push 0x42a
push esi
call edi
push eax
call ebx
cmp eax, 1
sete al
lea eax, [eax + eax + 1]
cmp al, 3
mov byte [0x1007c282], al
mov dword [0x1006fe7c], 0xa
jne 0x10017f19
mov dword [0x1006fe7c], 2
mov ebp, dword [sym.imp.USER32.dll_GetDlgItemInt]
push 0
push 0
push 0x405
push esi
call ebp
push 0
push 0
push 0x3ec
push esi
mov byte [0x1007c250], al
call ebp
push 0
push 0
push 0x40a
push esi
mov byte [0x1007c25c], al
call ebp
push 0
push 0
push 0x407
push esi
mov byte [0x1007c268], al
call ebp
push 0
push 0
push 0x408
push esi
mov dword [0x1007c254], eax
call ebp
push 0
push 0
push 0x409
push esi
mov dword [0x1007c260], eax
call ebp
push 0
push 0
push 0x406
push esi
mov dword [0x1007c26c], eax
call ebp
push 0
push 0
push 0x40f
push esi
mov dword [0x1007c278], eax
call ebp
push 0
push 0
push 0x474
push esi
mov dword [0x1007c284], eax
call ebp
push 0
push 0
push pe_nt_image_headers32
push 0x47c
push esi
mov dword [0x1007c2b8], eax
call edi
push eax
call ebx
sub eax, 1
push 0
neg eax
push 0
sbb eax, eax
push 0x414
add eax, 1
push esi
mov dword [0x1007c2c8], eax
call ebp
push 0x401
push esi
mov dword [0x1007c2a0], eax
call edi
push 0
push 0
push pe_nt_image_headers32
push eax
call ebx
push 0
push 0
push pe_nt_image_headers32
cmp eax, 1
push 0x417
sete cl
push esi
mov byte [0x1007c27c], cl
call edi
push eax
call ebx
cmp eax, 1
jne 0x1001802c
mov dword [0x1007c274], eax
jmp 0x10018052
push 0
push 0
push pe_nt_image_headers32
push 0x419
push esi
call edi
push eax
call ebx
sub eax, 1
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 2
mov dword [0x1007c274], eax
push 0x46a
push esi
call edi
push 0
push 0
push pe_nt_image_headers32
push eax
call ebx
sub eax, 1
push 0
neg eax
push 0
sbb eax, eax
push 0x528
add eax, 1
push esi
mov dword [0x1007c2c4], eax
call ebp
cmp eax, 5
mov dword [0x1007c2b4], eax
jbe 0x100180a5
push 0
push 5
push 0x528
push esi
mov dword [0x1007c2b4], 5
call dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0x40b
push esi
call edi
push 0
push 0
push pe_nt_image_headers32
push eax
call ebx
cmp eax, 1
push 0x40c
sete dl
push esi
mov byte [0x1007c27e], dl
call edi
push 0
push 0
push pe_nt_image_headers32
push eax
call ebx
cmp eax, 1
push 0x47b
sete al
push esi
mov byte [0x1007c27f], al
call edi
push 0
push 0
push pe_nt_image_headers32
push eax
call ebx
sub eax, 1
neg eax
sbb eax, eax
push 0x410
add eax, 1
push esi
mov dword [0x1007c5d8], eax
call edi
push 0
push 0
push pe_nt_image_headers32
push eax
call ebx
sub eax, 1
neg eax
sbb eax, eax
push 0x418
add eax, 1
push esi
mov dword [0x1007c290], eax
call edi
push 0
push 0
push pe_nt_image_headers32
push eax
call ebx
sub eax, 1
neg eax
sbb eax, eax
push 0x40d
add eax, 1
push esi
mov dword [0x1007c40c], eax
call edi
push 0
push 0
push pe_nt_image_headers32
push eax
call ebx
sub eax, 1
neg eax
sbb eax, eax
push 0x412
add eax, 1
push esi
mov dword [0x1007c294], eax
call edi
push 0
push 0
push pe_nt_image_headers32
push eax
call ebx
sub eax, 1
neg eax
sbb eax, eax
push 0x413
add eax, 1
push esi
mov dword [0x1007c29c], eax
call edi
push 0
push 0
push pe_nt_image_headers32
push eax
call ebx
cmp eax, 1
push 0x41b
sete cl
push esi
mov byte [0x1007c2a4], cl
call edi
push 0
push 0
push pe_nt_image_headers32
push eax
call ebx
sub eax, 1
neg eax
sbb eax, eax
push 0x49a
neg eax
push esi
mov dword [0x1007c184], eax
call edi
push 0
push 0
push pe_nt_image_headers32
push eax
call ebx
cmp eax, 1
push 0x400
sete dl
push esi
mov byte [0x1007c4ac], dl
call edi
push 0
push 0
push pe_nt_image_headers32
push eax
call ebx
sub eax, 1
neg eax
sbb eax, eax
push 0x49b
add eax, 1
push esi
mov dword [0x1007c4b4], eax
call edi
push 0
push 0
push pe_nt_image_headers32
push eax
call ebx
cmp eax, 1
push 0x49c
sete al
push esi
mov byte [0x1007c4ad], al
call edi
push 0
push 0
push pe_nt_image_headers32
push eax
call ebx
sub eax, 1
neg eax
push 0
sbb eax, eax
add eax, 1
push 0
mov dword [0x1007c5c4], eax
push 0x4cc
push esi
call ebp
push 0x422
push esi
mov dword [0x1007c5c8], eax
call edi
push 0
push 0
push 0x400
push eax
call ebx
cmp ax, 0xfa
pop ebp
mov word [0x1007c280], ax
pop ebx
jbe 0x10018296
mov word [0x1007c280], 0xfa
call fcn.100334d0
mov ecx, dword [esp + 8]
push 1
push ecx
call fcn.10017710
movzx edx, byte [0x1007c4ac]
push edx
call fcn.10011b50
mov al, byte [0x1007c4ad]
cmp byte [0x1007a430], al
je 0x100182e7
movzx eax, al
push eax
call fcn.10001810
movzx ecx, byte [0x1007c4ad]
push ecx
call fcn.100315d0
cmp byte [0x1007a430], 0
sete dl
mov byte [0x1007a430], dl
movzx eax, byte [0x1007c2a4]
push eax
call fcn.10017760
mov ecx, dword [0x1007c4b4]
push ecx
call fcn.1000f6e0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor ecx, esp
call fcn.1004309b
add esp, 0x24
ret 4