Function at 0x46e760
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov esi, ecx
mov eax, dword [esi + 4]
push 0x469
push eax
call edi
cmp eax, 1
sete cl
mov byte [0x4e92cc], cl
mov edx, dword [esi + 4]
push 0x489
push edx
call edi
cmp eax, 1
sete al
mov byte [0x4e92cd], al
mov ecx, dword [esi + 4]
push 0x3f7
push ecx
call edi
cmp eax, 1
sete dl
mov byte [0x4e8a0a], dl
mov eax, dword [esi + 4]
push 0x3f8
push eax
call edi
cmp eax, 1
sete cl
mov byte [0x4e8a0b], cl
mov edx, dword [esi + 4]
push 0x41c
push edx
call edi
cmp eax, 1
sete al
mov byte [0x4e8a0c], al
mov ecx, dword [esi + 4]
push 0x41d
push ecx
call edi
cmp eax, 1
sete dl
mov byte [0x4e8a0d], dl
mov eax, dword [esi + 4]
push 0x41e
push eax
call edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
cmp eax, 1
sete cl
push 0
mov byte [0x4e8a0e], cl
mov edx, dword [esi + 0x5c]
push 0x147
push edx
call edi
push 0
push eax
mov eax, dword [esi + 0x5c]
push 0x150
push eax
call edi
cmp byte [0x4e92cc], 0
je 0x46e87f
push eax
mov ecx, esi
call fcn.0046e420
test al, al
jne 0x46e87f
push 0
call fcn.004966e0
mov ecx, dword [esi + 4]
add esp, 4
push 0x10
push eax
push 0x4c7e38
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x5c]
push 0
push 0
push 0x147
push edx
call edi
push 0
push eax
mov eax, dword [esi + 0x5c]
push 0x150
push eax
call edi
push 0
push 0
mov dword [0x4e92d0], eax
mov ecx, dword [esi + 0x60]
push 0x147
push ecx
call edi
mov edx, dword [esi + 0x60]
push 0
push eax
push 0x150
push edx
call edi
push 0
push 0
mov dword [0x4e92d4], eax
mov eax, dword [esi + 0x64]
push 0x147
push eax
call edi
mov ecx, dword [esi + 0x64]
push 0
push eax
push 0x150
push ecx
call edi
push 0x20
lea edx, [ebp - 0x44]
push edx
mov dword [0x4e8a18], eax
mov eax, dword [esi + 4]
push 0x419
push eax
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 0x6b
call fcn.004966e0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
add esp, 4
push eax
lea ecx, [ebp - 0x44]
push ecx
call esi
test eax, eax
jne 0x46e91f
mov dword [0x4e8a14], eax
jmp 0x46e9c5
push 0x6c
call fcn.004966e0
add esp, 4
push eax
lea edx, [ebp - 0x44]
push edx
call esi
test eax, eax
jne 0x46e943
mov dword [0x4e8a14], 1
jmp 0x46e9c5
push 0x6d
call fcn.004966e0
add esp, 4
push eax
lea eax, [ebp - 0x44]
push eax
call esi
test eax, eax
jne 0x46e964
mov dword [0x4e8a14], 2
jmp 0x46e9c5
push 0x6e
call fcn.004966e0
add esp, 4
push eax
lea ecx, [ebp - 0x44]
push ecx
call esi
test eax, eax
jne 0x46e985
mov dword [0x4e8a14], 3
jmp 0x46e9c5
push 0x6f
call fcn.004966e0
add esp, 4
push eax
lea edx, [ebp - 0x44]
push edx
call esi
test eax, eax
jne 0x46e9a6
mov dword [0x4e8a14], 4
jmp 0x46e9c5
push 0x70
call fcn.004966e0
add esp, 4
push eax
lea eax, [ebp - 0x44]
push eax
call esi
test eax, eax
jne 0x46e9c5
mov dword [0x4e8a14], 5
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [0x4e8a1c], 1
mov al, 1
pop esi
call fcn.00499155
mov esp, ebp
pop ebp
ret